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

.resource_nameObject



16
17
18
# File 'lib/lightspeed_restaurant/customer.rb', line 16

def self.resource_name
  'Customer'
end

.resource_pathObject



20
21
22
# File 'lib/lightspeed_restaurant/customer.rb', line 20

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