Sha256: 87ded2428094195d6718977d71352c1de1e3d893601878922a5d4a7813684fed

Contents?: true

Size: 308 Bytes

Versions: 5

Compression:

Stored size: 308 Bytes

Contents

# frozen_string_literal: true

module MyTankInfo
  class SitegroupInventoryDashboardsResource < Resource
    def list(sitegroup_id:)
      Collection.from_response(
        get_request("api/sitegroups/#{sitegroup_id}/inventory/dashboard"),
        type: SitegroupInventoryDashboard
      )
    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/sitegroup_inventory_dashboards.rb
my_tank_info-1.1.0 lib/my_tank_info/resources/sitegroup_inventory_dashboards.rb
my_tank_info-1.0.2 lib/my_tank_info/resources/sitegroup_inventory_dashboards.rb
my_tank_info-1.0.1 lib/my_tank_info/resources/sitegroup_inventory_dashboards.rb
my_tank_info-1.0.0 lib/my_tank_info/resources/sitegroup_inventory_dashboards.rb