Sha256: 188c02aaace4512206b9d744fa0625d5f5870d6c179dde1cfc0dc06ba1e39095

Contents?: true

Size: 698 Bytes

Versions: 1

Compression:

Stored size: 698 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Creates an account
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/createAccount.html]
        def create_account(password, lastname, accounttype, username, email, firstname, options={})
          options.merge!(
            'command' => 'createAccount', 
            'password' => password, 
            'lastname' => lastname, 
            'accounttype' => accounttype, 
            'username' => username, 
            'email' => email, 
            'firstname' => firstname  
          )
          request(options)
        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/create_account.rb