Class: MyTankInfo::EnvironmentalSitegroup

Inherits:
Object
  • Object
show all
Defined in:
lib/my_tank_info/objects/environmental_sitegroup.rb

Instance Method Summary collapse

Methods inherited from Object

#initialize, #method_missing, #respond_to_missing?

Constructor Details

This class inherits a constructor from MyTankInfo::Object

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class MyTankInfo::Object

Instance Method Details

#sitesObject



5
6
7
# File 'lib/my_tank_info/objects/environmental_sitegroup.rb', line 5

def sites
  @attributes.sites.map { |site| Site.new(site) }
end