Module: Grape::Cookies::DSL::Configuration::ClassMethods

Defined in:
lib/grape/cookies/dsl/configuration.rb

Instance Method Summary collapse

Instance Method Details

#configure(&block) ⇒ Object



12
13
14
# File 'lib/grape/cookies/dsl/configuration.rb', line 12

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

#settingsObject



8
9
10
# File 'lib/grape/cookies/dsl/configuration.rb', line 8

def settings
  config_context.to_hash
end