From 3a306e313115d001fbe0f01e5a2b00a40246b2a6 Mon Sep 17 00:00:00 2001 From: Dmitry Dedov Date: Mon, 22 Apr 2013 13:17:34 +0300 Subject: [PATCH] [cloudstack] add create_disk_offering request --- .../requests/compute/create_disk_offering.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 lib/fog/cloudstack/requests/compute/create_disk_offering.rb diff --git a/lib/fog/cloudstack/requests/compute/create_disk_offering.rb b/lib/fog/cloudstack/requests/compute/create_disk_offering.rb new file mode 100644 index 000000000..dd15e9808 --- /dev/null +++ b/lib/fog/cloudstack/requests/compute/create_disk_offering.rb @@ -0,0 +1,19 @@ +module Fog + module Compute + class Cloudstack + class Real + + # Creates a disk offering. + # + # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.0.0/root_admin/createDiskOffering.html] + def create_disk_offering(options={}) + options.merge!( + 'command' => 'createDiskOffering' + ) + request(options) + end + + end # Real + end # Cloudstack + end # Compute +end # Fog