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-maestrodev-1.15.0.20130927082724 lib/fog/vcloud/requests/compute/login.rb
fog-maestrodev-1.15.0.20130829165835 lib/fog/vcloud/requests/compute/login.rb
fog-1.15.0 lib/fog/vcloud/requests/compute/login.rb
gapinc-fog-1.14.0 lib/fog/vcloud/requests/compute/login.rb
fog-maestrodev-1.14.0.20130806165225 lib/fog/vcloud/requests/compute/login.rb
fog-1.14.0 lib/fog/vcloud/requests/compute/login.rb
fog-1.13.0 lib/fog/vcloud/requests/compute/login.rb
gapinc-fog-1.12.1.2 lib/fog/vcloud/requests/compute/login.rb
gapinc-fog-1.12.1.1 lib/fog/vcloud/requests/compute/login.rb
gapinc-fog-1.12.1a lib/fog/vcloud/requests/compute/login.rb
gapinc-fog-1.12.1 lib/fog/vcloud/requests/compute/login.rb
fog-1.12.1 lib/fog/vcloud/requests/compute/login.rb
fog-1.12.0 lib/fog/vcloud/requests/compute/login.rb
hpfog-0.0.20 lib/fog/vcloud/requests/compute/login.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/lib/fog/vcloud/requests/compute/login.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/lib/fog/vcloud/requests/compute/login.rb
fog-nirvanix-1.8.2 lib/fog/vcloud/requests/compute/login.rb
fog-1.11.1 lib/fog/vcloud/requests/compute/login.rb
fog-1.11.0 lib/fog/vcloud/requests/compute/login.rb
fog-nirvanix-1.8.1 lib/fog/vcloud/requests/compute/login.rb