Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions frameworks/Ruby/grape/config.ru
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ module Acme
end

class DatabaseQueries < Grape::API
logger nil
helpers do
def bounded_queries
queries = params[:queries].to_i
Expand Down Expand Up @@ -80,6 +81,7 @@ module Acme
header 'Date', Time.now.httpdate if defined?(Puma)
header 'Server', 'WebServer'
end
logger nil
content_type :json, 'application/json'
format :json

Expand Down
Loading