Sha256: e85207e91613fcde33d69f33356afd2afdf2d721bcbbaef8b411a6df61d36d8a
Contents?: true
Size: 622 Bytes
Versions: 13
Compression:
Stored size: 622 Bytes
Contents
module Grape module Extensions module Hashie module Mash module ParamBuilder extend ::ActiveSupport::Concern included do namespace_inheritable(:build_params_with, Grape::Extensions::Hashie::Mash::ParamBuilder) end def params_builder Grape::Extensions::Hashie::Mash::ParamBuilder end def build_params params = ::Hashie::Mash.new(rack_params) params.deep_merge!(grape_routing_args) if env[Grape::Env::GRAPE_ROUTING_ARGS] params end end end end end end
Version data entries
13 entries across 13 versions & 2 rubygems