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


14
15
16
# File 'lib/grape/util/strict_hash_configuration.rb', line 14

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

#settingsObject


10
11
12
# File 'lib/grape/util/strict_hash_configuration.rb', line 10

def settings
  config_context.to_hash
end