Class: GbDataReading
- Inherits:
-
Object
- Object
- GbDataReading
- Defined in:
- lib/ce-greenbutton/model/gb_data_reading.rb
Overview
Represents an IntervalReading structure.
Author ahmed.seddiq Version 1.0
Instance Attribute Summary collapse
-
#cost ⇒ Object
Represents the cost element in the IntervalReading structure.
-
#time_duration ⇒ Object
Represents the duration value from the IntervalReading -> timePeriod structure.
-
#time_start ⇒ Object
Represents the start time (local) value from the IntervalReading -> timePeriod structure.
-
#value ⇒ Object
Represents the value element in the IntervalReading structure.
Instance Attribute Details
#cost ⇒ Object
Represents the cost element in the IntervalReading structure
21 22 23 |
# File 'lib/ce-greenbutton/model/gb_data_reading.rb', line 21 def cost @cost end |
#time_duration ⇒ Object
Represents the duration value from the IntervalReading -> timePeriod structure
15 16 17 |
# File 'lib/ce-greenbutton/model/gb_data_reading.rb', line 15 def time_duration @time_duration end |
#time_start ⇒ Object
Represents the start time (local) value from the IntervalReading -> timePeriod structure
11 12 13 |
# File 'lib/ce-greenbutton/model/gb_data_reading.rb', line 11 def time_start @time_start end |
#value ⇒ Object
Represents the value element in the IntervalReading structure
18 19 20 |
# File 'lib/ce-greenbutton/model/gb_data_reading.rb', line 18 def value @value end |