Sha256: b3b6a6fa72dd5acd30d4889842028e2809a35995ce00e2532bfa79f96086188d

Contents?: true

Size: 338 Bytes

Versions: 7

Compression:

Stored size: 338 Bytes

Contents

module Fog
  module Compute
    class Brightbox
      class Real
        # Requests details about authenticated user from the API
        #
        # @return [Hash] The JSON response parsed to a Hash
        #
        def get_authenticated_user
          wrapped_request("get", "/1.0/user", [200])
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-brightbox-0.9.0/lib/fog/brightbox/requests/compute/get_authenticated_user.rb
fog-brightbox-0.9.0 lib/fog/brightbox/requests/compute/get_authenticated_user.rb
fog-brightbox-0.8.0 lib/fog/brightbox/requests/compute/get_authenticated_user.rb
fog-brightbox-0.7.2 lib/fog/brightbox/requests/compute/get_authenticated_user.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-brightbox-0.7.1/lib/fog/brightbox/requests/compute/get_authenticated_user.rb
fog-brightbox-0.7.1 lib/fog/brightbox/requests/compute/get_authenticated_user.rb
fog-brightbox-0.7.0 lib/fog/brightbox/requests/compute/get_authenticated_user.rb