Module: Grape::ParamsBuilder
- Extended by:
- Util::Registry
- Defined in:
- lib/grape/params_builder.rb,
lib/grape/params_builder/base.rb,
lib/grape/params_builder/hash.rb,
lib/grape/params_builder/hashie_mash.rb,
lib/grape/params_builder/hash_with_indifferent_access.rb
Defined Under Namespace
Classes: Base, Hash, HashWithIndifferentAccess, HashieMash
Class Method Summary collapse
Methods included from Util::Registry
Class Method Details
.params_builder_for(short_name) ⇒ Object
9 10 11 12 13 |
# File 'lib/grape/params_builder.rb', line 9 def params_builder_for(short_name) raise Grape::Exceptions::UnknownParamsBuilder, short_name unless registry.key?(short_name) registry[short_name] end |