Sha256: 15b220f07ef84e0cfee4e48f78da8462287b830c2cddb84ffbaf6b54cf8084e1

Contents?: true

Size: 657 Bytes

Versions: 4

Compression:

Stored size: 657 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

Version Path
lightspeed_restaurant-1.1.2 lib/lightspeed_restaurant/customer.rb
lightspeed_restaurant-1.1.1 lib/lightspeed_restaurant/customer.rb
lightspeed_restaurant-1.1.0 lib/lightspeed_restaurant/customer.rb
lightspeed_restaurant-1.0.0 lib/lightspeed_restaurant/customer.rb