Class: Grape::Config::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/grape/config.rb

Constant Summary collapse

ATTRIBUTES =
%i[
  param_builder
].freeze

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.


12
13
14
# File 'lib/grape/config.rb', line 12

def initialize
  reset
end

Instance Method Details

#resetObject


16
17
18
# File 'lib/grape/config.rb', line 16

def reset
  self.param_builder = Grape::Extensions::ActiveSupport::HashWithIndifferentAccess::ParamBuilder
end