exoscale 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 27fb613c01c4293aa9de092b169a7c1269a2e121
4
- data.tar.gz: 5c88ade43c794c49755d9b1c6dc1839fb7f5ea8d
3
+ metadata.gz: ebcfa6e54c13bddf334a0b23fa6b300bea147b35
4
+ data.tar.gz: 174ed08437b5b0c86e6e3a13c859436d79ee7c09
5
5
  SHA512:
6
- metadata.gz: e64856e8c3b2a1e9844a83c2fd8a3763aa38e6d2a342f783f8724069fa9044eea87a5a858499e2305a064245d562d8acb88d1056784c50c03fdd01f08a1dac94
7
- data.tar.gz: c990ee394965b25df9222b0c3900eb44525554c7a827e6ae501c0c47336a9c87ff02b842aca3214250329dd08b6d64f3b881434b5b4d60f0d1dae22a72060de3
6
+ metadata.gz: f6515fc1e3ec4c07f37ef6a5968d7cad100f0c0bae0f240c25f88f864446002141a27d2ed3341e331a4281ec90a2ae4b89803f79376712745b043e60e9f505ba
7
+ data.tar.gz: 222848c0e73a6daf386e3e141847c911cdfc17f0818ba027e5a89c8c95238a590e7adf5668482ba602a286a88022f70886a7dd816140c2ea1b91a5e05a1b7b13
@@ -414,5 +414,18 @@ module Exoscale
414
414
 
415
415
  end
416
416
 
417
+ #### VOLUMES
418
+
419
+ def list_volumes(paramHash = {})
420
+ # GET /listVolumes
421
+ # List available volumes
422
+ # http://cloudstack.apache.org/api/apidocs-4.4/user/listVolumes.html
423
+
424
+ params = {'command' => 'listVolumes'}
425
+ params.merge!(paramHash) unless paramHash.nil?
426
+
427
+ execute_request(generate_url( params ))
428
+ end
429
+
417
430
  end
418
431
  end
@@ -1,3 +1,3 @@
1
1
  module Exoscale
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exoscale
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Brechet