Sha256: b35018299f457a94bc2cd21e3567a6f0b9798f4639951c2d7de041526f032e48

Contents?: true

Size: 396 Bytes

Versions: 6

Compression:

Stored size: 396 Bytes

Contents

# frozen_string_literal: true

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

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

    def self.resource_name
      'ProductGroup'
    end

    def self.default_resource_path
      "/rest/inventory/#{resource_name.downcase}"
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lightspeed_restaurant-3.3.3 lib/lightspeed_restaurant/product_group.rb
lightspeed_restaurant-3.3.2 lib/lightspeed_restaurant/product_group.rb
lightspeed_restaurant-3.3.1 lib/lightspeed_restaurant/product_group.rb
lightspeed_restaurant-3.3.0 lib/lightspeed_restaurant/product_group.rb
lightspeed_restaurant-3.2.0 lib/lightspeed_restaurant/product_group.rb
lightspeed_restaurant-3.1.0 lib/lightspeed_restaurant/product_group.rb