Sha256: 3a86c0c6d521797df948220739937aa84a03b4724f81b42a4d385818d28e57ec

Contents?: true

Size: 531 Bytes

Versions: 91

Compression:

Stored size: 531 Bytes

Contents

module Fog
  module Vcloud
    class Compute

      class Real


        def login
          headers = { 'Authorization' => authorization_header }
          uri = if version == '1.0'
            "#{base_url}/login"
          else
            "#{base_path_url}/sessions"
          end
          unauthenticated_request({
            :expects  => 200,
            :headers  => headers,
            :method   => 'POST',
            :parse    => true,
            :uri      => uri
          })
        end

      end
    end
  end
end

Version data entries

91 entries across 91 versions & 16 rubygems

Version Path
fog-1.10.1 lib/fog/vcloud/requests/compute/login.rb
fog-parser-fix-1.6.1 lib/fog/vcloud/requests/compute/login.rb
fog-test-again-1.6.0 lib/fog/vcloud/requests/compute/login.rb
fog-test-me-1.10.0 lib/fog/vcloud/requests/compute/login.rb
fog-parser-fix-1.6.0 lib/fog/vcloud/requests/compute/login.rb
fog-1.10.0 lib/fog/vcloud/requests/compute/login.rb
fog-1.9.0 lib/fog/vcloud/requests/compute/login.rb
fog-maestrodev-1.8.0.20130114204828 lib/fog/vcloud/requests/compute/login.rb
fog-maestrodev-1.8.0.20130111070250 lib/fog/vcloud/requests/compute/login.rb
fog-maestrodev-1.8.0.20130109172219 lib/fog/vcloud/requests/compute/login.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/vcloud/requests/compute/login.rb
fog-sgonyea-1.8.1 lib/fog/vcloud/requests/compute/login.rb
fog-1.8.0 lib/fog/vcloud/requests/compute/login.rb
fog-maestrodev-1.7.0.20121114190951 lib/fog/vcloud/requests/compute/login.rb
fog-1.7.0 lib/fog/vcloud/requests/compute/login.rb
fog-1.6.0 lib/fog/vcloud/requests/compute/login.rb
fog-1.5.0 lib/fog/vcloud/requests/compute/login.rb
rackspace-fog-1.4.2 lib/rackspace-fog/vcloud/requests/compute/login.rb
fog-1.4.0 lib/fog/vcloud/requests/compute/login.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/vcloud/requests/compute/login.rb