Sha256: e2e77d7eb5e243ad9a5a30f8d8abf1b1126e2b3962109664b1a9523b749f407a
Contents?: true
Size: 560 Bytes
Versions: 2
Compression:
Stored size: 560 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 resource_path "#{Customer.resource_path}/#{customer_id}/#{self.class.resource_name.downcase}" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lightspeed_restaurant-3.0.0 | lib/lightspeed_restaurant/customer_loyalty_card.rb |
lightspeed_restaurant-2.0.0 | lib/lightspeed_restaurant/customer_loyalty_card.rb |