lib/grape/request.rb in grape-1.4.0 vs lib/grape/request.rb in grape-1.5.0
- old
+ new
@@ -6,10 +6,10 @@
class Request < Rack::Request
HTTP_PREFIX = 'HTTP_'
alias rack_params params
- def initialize(env, options = {})
+ def initialize(env, **options)
extend options[:build_params_with] || Grape.config.param_builder
super(env)
end
def params