Class: LightspeedRestaurantClient::Company

Inherits:
Base
  • Object
show all
Extended by:
Operations::List
Defined in:
lib/lightspeed_restaurant/company.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/company.rb', line 8

def self.resource_name
  'Company'
end

.resource_pathObject



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

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