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

.default_resource_pathObject



14
15
16
# File 'lib/lightspeed_restaurant/receipt.rb', line 14

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

.resource_nameObject



10
11
12
# File 'lib/lightspeed_restaurant/receipt.rb', line 10

def self.resource_name
  'Receipt'
end