class LightspeedRestaurantClient::CustomerEstablishmentOrder

Public Class Methods

new(customer_id) click to toggle source
Calls superclass method LightspeedRestaurantClient::Base::new
# File lib/lightspeed_restaurant/customer_establishment_order.rb, line 10
def initialize(customer_id)
  super
end
resource_name() click to toggle source
# File lib/lightspeed_restaurant/customer_establishment_order.rb, line 14
def self.resource_name
  'EstablishmentOrder'
end

Public Instance Methods

default_resource_path() click to toggle source
# File lib/lightspeed_restaurant/customer_establishment_order.rb, line 18
def default_resource_path
  "/rest/onlineordering/customer/#{customer_id}/#{self.class.resource_name.downcase}"
end