Class: OperaContacts::Contact

Inherits:
Item
  • Object
show all
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

Attributes inherited from Item

#created, #description, #id, #name

Method Summary

Methods inherited from Item

#initialize

Constructor Details

This class inherits a constructor from OperaContacts::Item

Instance Attribute Details

#emailsObject

Returns the value of attribute emails.



53
54
55
# File 'lib/opera-contacts/contacts.rb', line 53

def emails
  @emails
end

#faxObject

Returns the value of attribute fax.



53
54
55
# File 'lib/opera-contacts/contacts.rb', line 53

def fax
  @fax
end

#homepageObject

Returns the value of attribute homepage.



53
54
55
# File 'lib/opera-contacts/contacts.rb', line 53

def homepage
  @homepage
end

#phoneObject

Returns the value of attribute phone.



53
54
55
# File 'lib/opera-contacts/contacts.rb', line 53

def phone
  @phone
end

#postal_addressObject

Returns the value of attribute postal_address.



53
54
55
# File 'lib/opera-contacts/contacts.rb', line 53

def postal_address
  @postal_address
end