Sha256: 9761ae962bd2bb4a849e41d7cdcaa918f927ea797eaf1df510c4867dc8a030b6

Contents?: true

Size: 342 Bytes

Versions: 4

Compression:

Stored size: 342 Bytes

Contents

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.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/company.rb
lightspeed_restaurant-1.1.1 lib/lightspeed_restaurant/company.rb
lightspeed_restaurant-1.1.0 lib/lightspeed_restaurant/company.rb
lightspeed_restaurant-1.0.0 lib/lightspeed_restaurant/company.rb