Class: CoreMerchant::Customer
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- CoreMerchant::Customer
- Includes:
- CustomerBehavior
- Defined in:
- lib/core_merchant.rb
Overview
Default customer class in CoreMerchant. Use this class if you don’t have a model for customers in your application.
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
53 54 55 |
# File 'lib/core_merchant.rb', line 53 def email @email end |
#id ⇒ Object
Returns the value of attribute id.
53 54 55 |
# File 'lib/core_merchant.rb', line 53 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
53 54 55 |
# File 'lib/core_merchant.rb', line 53 def name @name end |