Sha256: 96973fc4d7854005268ecaa0264954812fd88cc52867277d9c1ad2a40bcabf3e

Contents?: true

Size: 347 Bytes

Versions: 4

Compression:

Stored size: 347 Bytes

Contents

require 'lightspeed_restaurant/base'
require 'lightspeed_restaurant/operations/list'

module LightspeedRestaurantClient
  class Receipt < LightspeedRestaurantClient::Base
    extend Operations::List

    def self.resource_name
      'Receipt'
    end

    def self.resource_path
      "/rest/financial/#{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/receipt.rb
lightspeed_restaurant-1.1.1 lib/lightspeed_restaurant/receipt.rb
lightspeed_restaurant-1.1.0 lib/lightspeed_restaurant/receipt.rb
lightspeed_restaurant-1.0.0 lib/lightspeed_restaurant/receipt.rb