Class: MOCO::Customer Deprecated
- Inherits:
-
BaseEntity
- Object
- BaseEntity
- MOCO::Customer
- Defined in:
- lib/moco/entities.rb
Overview
Deprecated.
Use MOCO::Company from entities/company.rb instead
hundertzehn.github.io/mocoapp-api-docs/sections/companies.html
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Attributes inherited from BaseEntity
Method Summary
Methods inherited from BaseEntity
#==, #association, #destroy, #eql?, #has_many, #hash, #initialize, #inspect, #reload, #save, #to_h, #to_json, #to_s, #update
Constructor Details
This class inherits a constructor from MOCO::BaseEntity
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
85 86 87 |
# File 'lib/moco/entities.rb', line 85 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
85 86 87 |
# File 'lib/moco/entities.rb', line 85 def name @name end |