Sha256: f4b895df6d1e210e56fd4cdbe508816b704cfc1e76e98667c1ab3c3008235f47
Contents?: true
Size: 590 Bytes
Versions: 28
Compression:
Stored size: 590 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Deletes a specified domain # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/deleteDomain.html] def delete_domain(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'deleteDomain') else options.merge!('command' => 'deleteDomain', 'id' => args[0]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems