Class: OperaContacts::Contact
- Defined in:
- lib/opera-contacts/contacts.rb
Overview
A single contact in the file. Contains details like emails, phone etc. Type of Item.
Instance Attribute Summary collapse
-
#emails ⇒ Object
Returns the value of attribute emails.
-
#fax ⇒ Object
Returns the value of attribute fax.
-
#homepage ⇒ Object
Returns the value of attribute homepage.
-
#phone ⇒ Object
Returns the value of attribute phone.
-
#postal_address ⇒ Object
Returns the value of attribute postal_address.
Attributes inherited from Item
#created, #description, #id, #name
Method Summary
Methods inherited from Item
Constructor Details
This class inherits a constructor from OperaContacts::Item
Instance Attribute Details
#emails ⇒ Object
Returns the value of attribute emails.
53 54 55 |
# File 'lib/opera-contacts/contacts.rb', line 53 def emails @emails end |
#fax ⇒ Object
Returns the value of attribute fax.
53 54 55 |
# File 'lib/opera-contacts/contacts.rb', line 53 def fax @fax end |
#homepage ⇒ Object
Returns the value of attribute homepage.
53 54 55 |
# File 'lib/opera-contacts/contacts.rb', line 53 def homepage @homepage end |
#phone ⇒ Object
Returns the value of attribute phone.
53 54 55 |
# File 'lib/opera-contacts/contacts.rb', line 53 def phone @phone end |
#postal_address ⇒ Object
Returns the value of attribute postal_address.
53 54 55 |
# File 'lib/opera-contacts/contacts.rb', line 53 def postal_address @postal_address end |