chronogolf/lightspeed_restaurant

View on GitHub
lib/lightspeed_restaurant/receipt.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

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.default_resource_path
      "/rest/financial/#{resource_name.downcase}"
    end
  end
end