Class: Grape::Cookies::Configuration::SettingsContainer

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

Instance Method Summary collapse

Constructor Details

#initializeSettingsContainer

Returns a new instance of SettingsContainer.



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

def initialize
  @settings = {}
end

Instance Method Details

#to_hashObject



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

def to_hash
  @settings.to_hash
end