Class: Kameleoon::Network::FetchedConfiguration
- Inherits:
-
Object
- Object
- Kameleoon::Network::FetchedConfiguration
- Defined in:
- lib/kameleoon/network/fetched_configuration.rb
Instance Attribute Summary collapse
-
#configuration ⇒ Object
readonly
Returns the value of attribute configuration.
-
#last_modified ⇒ Object
readonly
Returns the value of attribute last_modified.
Instance Method Summary collapse
-
#initialize(configuration, last_modified) ⇒ FetchedConfiguration
constructor
A new instance of FetchedConfiguration.
Constructor Details
#initialize(configuration, last_modified) ⇒ FetchedConfiguration
Returns a new instance of FetchedConfiguration.
8 9 10 11 |
# File 'lib/kameleoon/network/fetched_configuration.rb', line 8 def initialize(configuration, last_modified) @configuration = configuration @last_modified = last_modified end |
Instance Attribute Details
#configuration ⇒ Object (readonly)
Returns the value of attribute configuration.
6 7 8 |
# File 'lib/kameleoon/network/fetched_configuration.rb', line 6 def configuration @configuration end |
#last_modified ⇒ Object (readonly)
Returns the value of attribute last_modified.
6 7 8 |
# File 'lib/kameleoon/network/fetched_configuration.rb', line 6 def last_modified @last_modified end |