Sha256: c33eeb39643ada9ddd4cda656a6764d118c9a3e4f11324ea3ab53ec0d3922361

Contents?: true

Size: 236 Bytes

Versions: 5

Compression:

Stored size: 236 Bytes

Contents

# frozen_string_literal: true

module MyTankInfo
  class InventorySitegroupsResource < Resource
    def list(environmental: true)
      Collection.from_response(get_request("api/sitegroups"), type: InventorySitegroup)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
my_tank_info-1.1.1 lib/my_tank_info/resources/inventory_sitegroups.rb
my_tank_info-1.1.0 lib/my_tank_info/resources/inventory_sitegroups.rb
my_tank_info-1.0.2 lib/my_tank_info/resources/inventory_sitegroups.rb
my_tank_info-1.0.1 lib/my_tank_info/resources/inventory_sitegroups.rb
my_tank_info-1.0.0 lib/my_tank_info/resources/inventory_sitegroups.rb