Class: MaponClient::Resources::UnitGroupResource
Constant Summary
AVAILABLE_RESOURCES
Instance Method Summary
collapse
#[], #initialize, #with_key
Instance Method Details
#list(params = {}) ⇒ Object
4
5
6
7
8
|
# File 'lib/mapon_client/resources/unit_group_resource.rb', line 4
def list(params = {})
@client['unit_groups/list'].get(
params: with_key(params)
)
end
|
#list_units(params = {}) ⇒ Object
10
11
12
13
14
|
# File 'lib/mapon_client/resources/unit_group_resource.rb', line 10
def list_units(params = {})
@client['unit_groups/list_units'].get(
params: with_key(params)
)
end
|