Module: Grape::Util::StrictHashConfiguration::DSL::ClassMethods

Defined in:
lib/grape/util/strict_hash_configuration.rb

Instance Method Summary collapse

Instance Method Details

#configure(&block) ⇒ Object



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

def configure(&block)
  config_context.instance_exec(&block)
end

#settingsObject



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

def settings
  config_context.to_hash
end