Class: Cornerstore::Customer

Inherits:
Model::Base show all
Defined in:
lib/cornerstore/api/customer.rb

Instance Attribute Summary collapse

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

#emailObject

Returns the value of attribute email.



2
3
4
# File 'lib/cornerstore/api/customer.rb', line 2

def email
  @email
end

#phoneObject

Returns the value of attribute phone.



2
3
4
# File 'lib/cornerstore/api/customer.rb', line 2

def phone
  @phone
end