Module: Genability::Client::Season
- Included in:
- Genability::Client
- Defined in:
- lib/genability/client/season.rb
Overview
Most LSEs will charge different rates depending on the time of year. Each LSE defines the times of the year themselves but typically they are split into Summer and Winter. We refer to these as the Seasons of an LSE. We also define Season Groups, which contain more than Seasons and which altogether span a full calendar year. Each Season belongs to one and only one Season Group.
Instance Method Summary collapse
-
#seasons(load_serving_entity_id, options = {}) ⇒ Array
Returns a list of season groups for a given load serving entity.
Instance Method Details
#seasons(load_serving_entity_id, options = {}) ⇒ Array
Returns a list of season groups for a given load serving entity.
49 50 51 |
# File 'lib/genability/client/season.rb', line 49 def seasons(load_serving_entity_id, = {}) get("public/seasons", season_params(load_serving_entity_id, )).results end |