Module: Genability::Client::LoadServingEntity
- Included in:
- Genability::Client
- Defined in:
- lib/genability/client/load_serving_entity.rb
Overview
Load Serving Entity (LSE) is the industry term for what most people would call a utility, or an electric company. Since there are different types of electric company, we use the term LSE in our API's. This is a company or other organization that supplies load (electrons, electricity) to a customer. In many cases this is the same company that distributes the electricity too, but in some cases customers can have one company that they buy the load from, and another that operates the distribution system (runs the line to the house, manages the meters etc). Some characteristics and uses:
- LSE's have territories that they operate in. Sometimes they operate in more than 1.
- LSE's have tariffs (rate plans) and are central to many of our data structures.
Instance Method Summary collapse
-
#load_serving_entities(options = {}) ⇒ Array
(also: #lses)
Returns a list of load serving entities.
-
#load_serving_entity(load_serving_entity_id) ⇒ Hashie::Mash
(also: #lse)
Returns details for a single load serving entity.
Instance Method Details
#load_serving_entities(options = {}) ⇒ Array Also known as: lses
Returns a list of load serving entities
73 74 75 |
# File 'lib/genability/client/load_serving_entity.rb', line 73 def load_serving_entities(={}) get("public/lses", lses_params()).results end |
#load_serving_entity(load_serving_entity_id) ⇒ Hashie::Mash Also known as: lse
Returns details for a single load serving entity
89 90 91 |
# File 'lib/genability/client/load_serving_entity.rb', line 89 def load_serving_entity(load_serving_entity_id) get("public/lses/#{load_serving_entity_id}").results.first end |