Class: LightspeedRestaurantClient::PaymentType
Class Method Summary
collapse
create
list
Methods inherited from Base
#attributes, #initialize, #to_json
Class Method Details
.default_resource_path ⇒ Object
16
17
18
|
# File 'lib/lightspeed_restaurant/payment_type.rb', line 16
def self.default_resource_path
"/rest/core/#{resource_name.downcase}"
end
|
.list_resource_path ⇒ Object
20
21
22
|
# File 'lib/lightspeed_restaurant/payment_type.rb', line 20
def self.list_resource_path
"/rest/onlineordering/#{resource_name.downcase}"
end
|
.resource_name ⇒ Object
12
13
14
|
# File 'lib/lightspeed_restaurant/payment_type.rb', line 12
def self.resource_name
'PaymentType'
end
|