Sha256: 9f7bfab1715e7c00f0a8d10469b5b96a37605b290df26a4766dc42b7ae129a11

Contents?: true

Size: 458 Bytes

Versions: 1

Compression:

Stored size: 458 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Find user account by API key
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/getUser.html]
        def get_user(userapikey, options={})
          options.merge!(
            'command' => 'getUser', 
            'userapikey' => userapikey  
          )
          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/get_user.rb