Sha256: 9f376dd2f7fa8d459c8da4b413d15f2a390906e9318d61628e8d01b71b10b17b
Contents?: true
Size: 337 Bytes
Versions: 5
Compression:
Stored size: 337 Bytes
Contents
module CloudstackClient module Volumes ## # Lists all volumes. def list_volumes(project_id = nil) params = { 'command' => 'listVolumes', 'listall' => true, } params['projectid'] = project_id if project_id json = send_request(params) json['network'] || [] end end end
Version data entries
5 entries across 5 versions & 1 rubygems