Class: Osm::Member::EmergencyContact

Inherits:
Contact show all
Includes:
EmailableContact
Defined in:
lib/osm/member.rb

Overview

class SecondaryContact

Constant Summary collapse

GROUP_ID =
Osm::Member::GID_EMERGENCY_CONTACT

Instance Attribute Summary collapse

Attributes inherited from Contact

#additional_information, #additional_information_labels, #address_1, #address_2, #address_3, #address_4, #first_name, #last_name, #phone_1, #phone_2, #postcode

Method Summary

Methods included from EmailableContact

#all_emails, #all_emails_with_name

Methods inherited from Contact

#all_phones, #initialize, #name, #update

Methods inherited from Osm::Model

#<, #<=, #<=>, #>, #>=, #between?, #changed_attributes, configure, #reset_changed_attributes, #to_i

Constructor Details

This class inherits a constructor from Osm::Member::Contact

Instance Attribute Details

#email_1String

Returns the primary email address for the contact.

Returns:

  • (String)

    the primary email address for the contact


824
# File 'lib/osm/member.rb', line 824

attribute :email_1, :type => String

#email_2String

Returns the secondary email address for the contact.

Returns:

  • (String)

    the secondary email address for the contact


824
# File 'lib/osm/member.rb', line 824

attribute :email_1, :type => String