class LightspeedRestaurantClient::CustomerCreditChange

Public Class Methods

new(customer_id) click to toggle source
Calls superclass method LightspeedRestaurantClient::Base::new
# File lib/lightspeed_restaurant/customer_credit_change.rb, line 12
def initialize(customer_id)
  super
end
resource_name() click to toggle source
# File lib/lightspeed_restaurant/customer_credit_change.rb, line 16
def self.resource_name
  'CreditChange'
end

Public Instance Methods

default_resource_path() click to toggle source
# File lib/lightspeed_restaurant/customer_credit_change.rb, line 20
def default_resource_path
  "#{Customer.default_resource_path}/#{customer_id}/#{self.class.resource_name.downcase}"
end