class Magentwo::Customer

Constants

Attributes

Public Class Methods

get_path() click to toggle source
# File lib/model/customer.rb, line 16
def get_path
  "#{base_path}/search"
end

Public Instance Methods

validate() click to toggle source
Calls superclass method Magentwo::Base#validate
# File lib/model/customer.rb, line 10
def validate
  check_presence :email
  super
end
with_extension_attributes() click to toggle source
# File lib/model/customer.rb, line 6
def with_extension_attributes
  self.class.new (self.class.get nil, path:"#{self.class.base_path}/#{self.id}")
end