Class: WeatherLink::DataRecord

Inherits:
HashWrapper
  • Object
show all
Defined in:
lib/weatherlink/data_record.rb

Instance Attribute Summary collapse

Attributes inherited from HashWrapper

#data

Instance Method Summary collapse

Constructor Details

#initialize(client, data) ⇒ DataRecord

Returns a new instance of DataRecord.



7
8
9
10
# File 'lib/weatherlink/data_record.rb', line 7

def initialize(client, data)
  @client = client
  super(data)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class WeatherLink::HashWrapper

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



5
6
7
# File 'lib/weatherlink/data_record.rb', line 5

def client
  @client
end