Sha256: ed0784bd1a2b8a7049e885950878223d48dac0e96284a21367b6bee30abc0a53

Contents?: true

Size: 332 Bytes

Versions: 5

Compression:

Stored size: 332 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
          request("get", "/1.0/user", [200])
        end

      end
    end
  end
end

Version data entries

5 entries across 5 versions & 4 rubygems

Version Path
fog-nirvanix-1.8.2 lib/fog/brightbox/requests/compute/get_authenticated_user.rb
fog-nirvanix-1.8.1 lib/fog/brightbox/requests/compute/get_authenticated_user.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/brightbox/requests/compute/get_authenticated_user.rb
fog-sgonyea-1.8.1 lib/fog/brightbox/requests/compute/get_authenticated_user.rb
fog-1.8.0 lib/fog/brightbox/requests/compute/get_authenticated_user.rb