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