Method: AEMO::Market::Interval#initialize
- Defined in:
- lib/aemo/market/interval.rb
#initialize(datetime, options = {}) ⇒ AEMO::Market::Interval
Create a new instance of an Interval
24 25 26 27 28 29 30 |
# File 'lib/aemo/market/interval.rb', line 24 def initialize(datetime, = {}) @datetime = ::Time.parse("#{datetime} +1000") @region = ['REGION'] @total_demand = ['TOTALDEMAND'] @rrp = ['RRP'] @period_type = ['PERIODTYPE'] end |