Class: Cornerstore::Customer
- Inherits:
-
Model::Base
- Object
- Model::Base
- Cornerstore::Customer
- Defined in:
- lib/cornerstore/api/customer.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#phone ⇒ Object
Returns the value of attribute phone.
Attributes inherited from Model::Base
#_id, #_slugs, #created_at, #parent, #updated_at
Method Summary
Methods inherited from Model::Base
#==, #attributes, #attributes=, #initialize, #inspect, #method_missing, method_missing, #to_param, #url
Constructor Details
This class inherits a constructor from Cornerstore::Model::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Cornerstore::Model::Base
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
2 3 4 |
# File 'lib/cornerstore/api/customer.rb', line 2 def email @email end |
#phone ⇒ Object
Returns the value of attribute phone.
2 3 4 |
# File 'lib/cornerstore/api/customer.rb', line 2 def phone @phone end |