Class: CoreMerchant::Customer

Inherits:
ActiveRecord::Base
  • Object
show all
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

Instance Attribute Details

#emailObject

Returns the value of attribute email.



53
54
55
# File 'lib/core_merchant.rb', line 53

def email
  @email
end

#idObject

Returns the value of attribute id.



53
54
55
# File 'lib/core_merchant.rb', line 53

def id
  @id
end

#nameObject

Returns the value of attribute name.



53
54
55
# File 'lib/core_merchant.rb', line 53

def name
  @name
end