Sha256: c68e2436f953ba716e5e8f33558f390da287a2367f5a9ca3a41306e53a6cbddb
Contents?: true
Size: 688 Bytes
Versions: 2
Compression:
Stored size: 688 Bytes
Contents
# frozen_string_literal: true require 'lightspeed_restaurant/base' require 'lightspeed_restaurant/operations/list' require 'lightspeed_restaurant/operations/find' require 'lightspeed_restaurant/operations/create' require 'lightspeed_restaurant/operations/update' require 'lightspeed_restaurant/operations/save' module LightspeedRestaurantClient class Customer < LightspeedRestaurantClient::Base include Operations::Save extend Operations::Create extend Operations::Update extend Operations::Find extend Operations::List def self.resource_name 'Customer' end def self.resource_path "/rest/core/#{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.rb |
lightspeed_restaurant-2.0.0 | lib/lightspeed_restaurant/customer.rb |