Class: MyTankInfo::InventorySitegroupsResource
- Defined in:
- lib/my_tank_info/resources/inventory_sitegroups.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
#delete_request, #get_request, #initialize, #patch_request, #post_request, #put_request
Constructor Details
This class inherits a constructor from MyTankInfo::Resource
Instance Method Details
#list(environmental: true) ⇒ Object
5 6 7 |
# File 'lib/my_tank_info/resources/inventory_sitegroups.rb', line 5 def list(environmental: true) Collection.from_response(get_request("api/sitegroups"), type: InventorySitegroup) end |