lib/grape/endpoint.rb
def params
      @params ||= Hashie::Mash.new.
        deep_merge(request.params).
        deep_merge(env['rack.routing_args'] || {}).
        deep_merge(self.body_params)
    end
# The parameters passed into the request as
# well as parsed from URL segments.
The parameters passed into the request as
well as parsed from URL segments.
The parameters passed into the request as well as parsed from URL segments .
def params
      @params ||= Hashie::Mash.new.
        deep_merge(request.params).
        deep_merge(env['rack.routing_args'] || {}).
        deep_merge(self.body_params)
    end
def params @params ||= Hashie :: Mash . new . deep_merge ( request . params ) . deep_merge ( env [ 'rack.routing_args' ] || { } ) . deep_merge ( self . body_params ) end
The parameters passed into the request as
well as parsed from URL segments.
The parameters passed into the request as well as parsed from URL segments .