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