Class: Osm::Member::MemberContact

Inherits:
Contact show all
Includes:
EnableableEmailableContact, EnableablePhoneableContact
Defined in:
lib/osm/member.rb

Constant Summary collapse

GROUP_ID =
Osm::Member::GID_MEMBER_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 EnableablePhoneableContact

#enabled_phones

Methods included from EnableableEmailableContact

#enabled_emails, #enabled_emails_with_name

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 member.

Returns:

  • (String)

    the primary email address for the member


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

attribute :email_1, :type => String

#email_2String

Returns the secondary email address for the member.

Returns:

  • (String)

    the secondary email address for the member


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

attribute :email_1, :type => String

#receive_email_1Boolean

Returns whether the member should receive emails from leaders on their primary email address.

Returns:

  • (Boolean)

    whether the member should receive emails from leaders on their primary email address


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

attribute :email_1, :type => String

#receive_email_2Boolean

Returns whether the member should receive emails from leaders on their secondary email address.

Returns:

  • (Boolean)

    whether the member should receive emails from leaders on their secondary email address


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

attribute :email_1, :type => String

#receive_phone_1Boolean

Returns whether the member should receive SMSs from leaders on their primary phone number.

Returns:

  • (Boolean)

    whether the member should receive SMSs from leaders on their primary phone number


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

attribute :email_1, :type => String

#receive_phone_2Boolean

Returns whether the member should receive SMSs from leaders on their secondary phone number.

Returns:

  • (Boolean)

    whether the member should receive SMSs from leaders on their secondary phone number


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

attribute :email_1, :type => String