Class: LightspeedRestaurantClient::Company
- Extended by:
- Operations::List
- Defined in:
- lib/lightspeed_restaurant/company.rb
Class Method Summary collapse
Methods included from Operations::List
Methods inherited from Base
#attributes, #initialize, #to_json
Constructor Details
This class inherits a constructor from LightspeedRestaurantClient::Base
Class Method Details
.resource_name ⇒ Object
8 9 10 |
# File 'lib/lightspeed_restaurant/company.rb', line 8 def self.resource_name 'Company' end |
.resource_path ⇒ Object
12 13 14 |
# File 'lib/lightspeed_restaurant/company.rb', line 12 def self.resource_path "/rest/core/#{resource_name.downcase}" end |