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

.default_resource_pathObject



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

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

.resource_nameObject



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

def self.resource_name
  'Company'
end