lib/grape/request.rb in grape-1.2.2 vs lib/grape/request.rb in grape-1.2.3
- old
+ new
@@ -3,10 +3,10 @@
HTTP_PREFIX = 'HTTP_'.freeze
alias rack_params params
def initialize(env, options = {})
- extend options[:build_params_with] || Grape::Extensions::ActiveSupport::HashWithIndifferentAccess::ParamBuilder
+ extend options[:build_params_with] || Grape.config.param_builder
super(env)
end
def params
@params ||= build_params