Sha256: cf63f5a9a9a61947087b76017c8a107bb2450f4d0aba6de42f9479f0adf5dbd5

Contents?: true

Size: 237 Bytes

Versions: 3

Compression:

Stored size: 237 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
my_tank_info-1.1.1 lib/my_tank_info/resources/environmental_sitegroups.rb
my_tank_info-1.1.0 lib/my_tank_info/resources/environmental_sitegroups.rb
my_tank_info-1.0.2 lib/my_tank_info/resources/environmental_sitegroups.rb