Class: Osm::Member::MemberContact
- Inherits:
-
Contact
- Object
- Osm::Model
- Contact
- Osm::Member::MemberContact
- Defined in:
- lib/osm/member.rb
Constant Summary collapse
- GROUP_ID =
Osm::Member::GID_MEMBER_CONTACT
Constants inherited from Osm::Model
Instance Attribute Summary collapse
-
#email_1 ⇒ String
The primary email address for the member.
-
#email_2 ⇒ String
The secondary email address for the member.
-
#receive_email_1 ⇒ Boolean
Whether the member should receive emails from leaders on their primary email address.
-
#receive_email_2 ⇒ Boolean
Whether the member should receive emails from leaders on their secondary email address.
-
#receive_phone_1 ⇒ Boolean
Whether the member should receive SMSs from leaders on their primary phone number.
-
#receive_phone_2 ⇒ Boolean
Whether the member should receive SMSs from leaders on their secondary phone number.
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
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_1 ⇒ String
Returns the primary email address for the member.
757 |
# File 'lib/osm/member.rb', line 757 attribute :email_1, :type => String |
#email_2 ⇒ String
Returns the secondary email address for the member.
757 |
# File 'lib/osm/member.rb', line 757 attribute :email_1, :type => String |
#receive_email_1 ⇒ Boolean
Returns whether the member should receive emails from leaders on their primary email address.
757 |
# File 'lib/osm/member.rb', line 757 attribute :email_1, :type => String |
#receive_email_2 ⇒ Boolean
Returns whether the member should receive emails from leaders on their secondary email address.
757 |
# File 'lib/osm/member.rb', line 757 attribute :email_1, :type => String |
#receive_phone_1 ⇒ Boolean
Returns whether the member should receive SMSs from leaders on their primary phone number.
757 |
# File 'lib/osm/member.rb', line 757 attribute :email_1, :type => String |
#receive_phone_2 ⇒ Boolean
Returns whether the member should receive SMSs from leaders on their secondary phone number.
757 |
# File 'lib/osm/member.rb', line 757 attribute :email_1, :type => String |