Sha256: 5ebecf8cb8efcbf471b54418a8e16cec2ab35a4d155427a06a8d46577108f4dd
Contents?: true
Size: 576 Bytes
Versions: 6
Compression:
Stored size: 576 Bytes
Contents
# frozen_string_literal: true require 'lightspeed_restaurant/base' require 'lightspeed_restaurant/operations/create' require 'lightspeed_restaurant/operations/list' module LightspeedRestaurantClient class CustomerLoyaltyCard < LightspeedRestaurantClient::Base include Operations::List include Operations::Create def initialize(customer_id) super end def self.resource_name 'LoyaltyCard' end def default_resource_path "#{Customer.default_resource_path}/#{customer_id}/#{self.class.resource_name.downcase}" end end end
Version data entries
6 entries across 6 versions & 1 rubygems