Class: MyTankInfo::NotificationRule

Inherits:
Object
  • Object
show all
Defined in:
lib/my_tank_info/objects/notification_rule.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

#contactsObject



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

def contacts
  @attributes.contacts.map { |contact| NotificationContact.new(contact) }
end