Class: Omniship::Contact
Instance Attribute Summary collapse
-
#account ⇒ Object
readonly
Returns the value of attribute account.
-
#attention ⇒ Object
readonly
Returns the value of attribute attention.
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#fax ⇒ Object
readonly
Returns the value of attribute fax.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#phone ⇒ Object
readonly
Returns the value of attribute phone.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Contact
constructor
A new instance of Contact.
Constructor Details
#initialize(options = {}) ⇒ Contact
Returns a new instance of Contact.
11 12 13 14 15 16 17 |
# File 'lib/omniship/contact.rb', line 11 def initialize(={}) @name = [:name] @attention = [:attention] @phone = [:phone] @fax = [:fax] @email = [:email] end |
Instance Attribute Details
#account ⇒ Object (readonly)
Returns the value of attribute account.
4 5 6 |
# File 'lib/omniship/contact.rb', line 4 def account @account end |
#attention ⇒ Object (readonly)
Returns the value of attribute attention.
4 5 6 |
# File 'lib/omniship/contact.rb', line 4 def attention @attention end |
#email ⇒ Object (readonly)
Returns the value of attribute email.
4 5 6 |
# File 'lib/omniship/contact.rb', line 4 def email @email end |
#fax ⇒ Object (readonly)
Returns the value of attribute fax.
4 5 6 |
# File 'lib/omniship/contact.rb', line 4 def fax @fax end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/omniship/contact.rb', line 4 def name @name end |
#phone ⇒ Object (readonly)
Returns the value of attribute phone.
4 5 6 |
# File 'lib/omniship/contact.rb', line 4 def phone @phone end |