Class: Kameleoon::Network::FetchedConfiguration

Inherits:
Object
  • Object
show all
Defined in:
lib/kameleoon/network/fetched_configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#configurationObject (readonly)

Returns the value of attribute configuration.



6
7
8
# File 'lib/kameleoon/network/fetched_configuration.rb', line 6

def configuration
  @configuration
end

#last_modifiedObject (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