Class: LightspeedRestaurantClient::Receipt

Inherits:
Base
  • Object
show all
Extended by:
Operations::List
Defined in:
lib/lightspeed_restaurant/receipt.rb

Class Method Summary collapse

Methods included from Operations::List

list

Methods inherited from Base

#attributes, #initialize, #to_json

Constructor Details

This class inherits a constructor from LightspeedRestaurantClient::Base

Class Method Details

.resource_nameObject



8
9
10
# File 'lib/lightspeed_restaurant/receipt.rb', line 8

def self.resource_name
  'Receipt'
end

.resource_pathObject



12
13
14
# File 'lib/lightspeed_restaurant/receipt.rb', line 12

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