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

Constants inherited from Osm::Model

Osm::Model::SORT_BY

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

#<, #<=, #<=>, #>, #>=, api_has_permission?, #between?, cache_delete, cache_exist?, cache_key, cache_read, cache_write, can_access_section?, #changed_attributes, configure, get_from_ids, has_access_to_section?, has_permission?, require_ability_to, require_access_to_section, require_permission, require_subscription, #reset_changed_attributes, #to_i, user_has_permission?

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