Sha256: ff87ead7082a226127e2cebbc5196f0dcd3817c9cf409cc3d2aefad209e88431
Contents?: true
Size: 355 Bytes
Versions: 1
Compression:
Stored size: 355 Bytes
Contents
module CloudstackClient module Capacity ## # List capacity. def list_capacity(args = {}) params = { 'command' => 'listCapacity', } params['zoneid'] = args[:zone_id] if args[:zone_id] params['type'] = args[:type] if args[:type] json = send_request(params) json['capacity'] || [] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cloudstack_client-0.2.11 | lib/cloudstack_client/commands/capacity.rb |