Class: LightspeedRestaurantClient::Customer

Inherits:
Base
  • Object
show all
Extended by:
Operations::Create, Operations::Find, Operations::List, Operations::Update
Includes:
Operations::Save
Defined in:
lib/lightspeed_restaurant/customer.rb

Class Method Summary collapse

Methods included from Operations::Create

create

Methods included from Operations::Update

update

Methods included from Operations::Find

find

Methods included from Operations::List

list

Methods included from Operations::Save

#save

Methods inherited from Base

#attributes, #initialize, #to_json

Constructor Details

This class inherits a constructor from LightspeedRestaurantClient::Base

Class Method Details

.default_resource_pathObject



22
23
24
# File 'lib/lightspeed_restaurant/customer.rb', line 22

def self.default_resource_path
  "/rest/core/#{resource_name.downcase}"
end

.resource_nameObject



18
19
20
# File 'lib/lightspeed_restaurant/customer.rb', line 18

def self.resource_name
  'Customer'
end