Class: Grape::Cookies::Configuration::SettingsContainer
- Inherits:
-
Object
- Object
- Grape::Cookies::Configuration::SettingsContainer
- Defined in:
- lib/grape/cookies/configuration.rb
Instance Method Summary collapse
-
#initialize ⇒ SettingsContainer
constructor
A new instance of SettingsContainer.
- #to_hash ⇒ Object
Constructor Details
#initialize ⇒ SettingsContainer
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_hash ⇒ Object
11 12 13 |
# File 'lib/grape/cookies/configuration.rb', line 11 def to_hash @settings.to_hash end |