Sha256: 1fff73f5553c4c6ec490df1cde97fb8973de11e427552b45d886d7118233c0cb

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

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

module LightspeedRestaurant
  class Company < LightspeedRestaurant::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

1 entries across 1 versions & 1 rubygems

Version Path
lightspeed_restaurant-0.3.0 lib/lightspeed_restaurant/company.rb