Sha256: 163f06cc7c3af11950a3bc048f09b627f8abb761d9600663871de7cbd9c5258f

Contents?: true

Size: 381 Bytes

Versions: 5

Compression:

Stored size: 381 Bytes

Contents

# frozen_string_literal: true

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

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

    def self.resource_name
      'Company'
    end

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

Version data entries

5 entries across 5 versions & 1 rubygems

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