Class: Rack::Combobot::Config
- Inherits:
-
Object
- Object
- Rack::Combobot::Config
- Defined in:
- lib/rack/combobot/config.rb
Instance Attribute Summary collapse
-
#cache_control ⇒ Object
Returns the value of attribute cache_control.
-
#expires ⇒ Object
Returns the value of attribute expires.
-
#root ⇒ Object
Returns the value of attribute root.
Instance Method Summary collapse
-
#initialize(options) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(options) ⇒ Config
Returns a new instance of Config.
6 7 8 9 10 |
# File 'lib/rack/combobot/config.rb', line 6 def initialize() @root = [:root] @expires = [:expires] @cache_control = [:cache_control] end |
Instance Attribute Details
#cache_control ⇒ Object
Returns the value of attribute cache_control.
4 5 6 |
# File 'lib/rack/combobot/config.rb', line 4 def cache_control @cache_control end |
#expires ⇒ Object
Returns the value of attribute expires.
4 5 6 |
# File 'lib/rack/combobot/config.rb', line 4 def expires @expires end |
#root ⇒ Object
Returns the value of attribute root.
4 5 6 |
# File 'lib/rack/combobot/config.rb', line 4 def root @root end |