lib/fog/cloudstack/requests/compute/update_account.rb in fog-1.22.1 vs lib/fog/cloudstack/requests/compute/update_account.rb in fog-1.23.0

- old
+ new

@@ -1,18 +1,21 @@ module Fog module Compute class Cloudstack + class Real - # Updates account information for the authenticated user. + # Updates account information for the authenticated user # - # {CloudStack API Reference}[http://download.cloud.com/releases/2.2.0/api_2.2.4/global_admin/updateAccount.html] - def update_account(options={}) + # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/updateAccount.html] + def update_account(newname, options={}) options.merge!( - 'command' => 'updateAccount' + 'command' => 'updateAccount', + 'newname' => newname ) - request(options) end end + end end end +