Class: Inbox::Contact
- Inherits:
-
RestfulModel
- Object
- RestfulModel
- Inbox::Contact
- Defined in:
- lib/contact.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#name ⇒ Object
Returns the value of attribute name.
Attributes inherited from RestfulModel
Method Summary
Methods inherited from RestfulModel
#==, #as_json, collection_name, #destroy, #inflate, #initialize, #save!, #update, #url
Constructor Details
This class inherits a constructor from Inbox::RestfulModel
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
7 8 9 |
# File 'lib/contact.rb', line 7 def email @email end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/contact.rb', line 6 def name @name end |