Class: GreenButtonClasses::ElectricPowerQualitySummary

Inherits:
GreenButtonEntry show all
Defined in:
lib/greenbutton/gb_classes.rb

Instance Attribute Summary collapse

Attributes inherited from GreenButtonEntry

#href, #id, #other_related, #parent_href, #published, #related_hrefs, #title, #updated

Instance Method Summary collapse

Methods inherited from GreenButtonEntry

#add_related, #additional_rules, #assign_rules, #doc, #find_by_href, #find_related_entries, #initialize, #parse_related_entry

Constructor Details

This class inherits a constructor from GreenButtonClasses::GreenButtonEntry

Instance Attribute Details

#usage_pointObject

Returns the value of attribute usage_point.



240
241
242
# File 'lib/greenbutton/gb_classes.rb', line 240

def usage_point
  @usage_point
end

Instance Method Details

#pre_rule_assignment(parent) ⇒ Object



241
242
243
# File 'lib/greenbutton/gb_classes.rb', line 241

def pre_rule_assignment(parent)
  self.usage_point = parent
end