Sha256: 5e6c83598e3c8eb56e21e29c9164627befaae8fb00dbdf8ccab3f9264caac12b
Contents?: true
Size: 764 Bytes
Versions: 1
Compression:
Stored size: 764 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Updates a disk offering. # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/deleteDiskOffering.html] def delete_disk_offering(id, options={}) options.merge!( 'command' => 'deleteDiskOffering', 'id' => id ) request(options) end end class Mock def delete_disk_offering(options={}) disk_offering_id = options['id'] data[:disk_offerings].delete(disk_offering_id) if data[:disk_offerings][disk_offering_id] { 'deletediskofferingresponse' => { 'success' => 'true' } } end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-1.23.0 | lib/fog/cloudstack/requests/compute/delete_disk_offering.rb |