Sha256: dfbcb307d46ce7f554dffc077221dc8f3b871cacdcba05f474c9f6bebd1c51fc

Contents?: true

Size: 356 Bytes

Versions: 85

Compression:

Stored size: 356 Bytes

Contents

module Fog
  module Identity
    class OpenStack
      class Real

        def validate_token(token_id, tenant_id)
          request(
            :expects  => [200, 203],
            :method   => 'GET',
            :path     => "tokens/#{token_id}?belongsTo=#{tenant_id}"
          )
        end

      end

      class Mock



      end
    end
  end
end

Version data entries

85 entries across 85 versions & 13 rubygems

Version Path
fog-1.17.0 lib/fog/openstack/requests/identity/validate_token.rb
fog-1.16.0 lib/fog/openstack/requests/identity/validate_token.rb
fog-maestrodev-1.15.0.20130927082724 lib/fog/openstack/requests/identity/validate_token.rb
fog-maestrodev-1.15.0.20130829165835 lib/fog/openstack/requests/identity/validate_token.rb
fog-1.15.0 lib/fog/openstack/requests/identity/validate_token.rb
gapinc-fog-1.14.0 lib/fog/openstack/requests/identity/validate_token.rb
fog-maestrodev-1.14.0.20130806165225 lib/fog/openstack/requests/identity/validate_token.rb
fog-1.14.0 lib/fog/openstack/requests/identity/validate_token.rb
fog-1.13.0 lib/fog/openstack/requests/identity/validate_token.rb
gapinc-fog-1.12.1.2 lib/fog/openstack/requests/identity/validate_token.rb
gapinc-fog-1.12.1.1 lib/fog/openstack/requests/identity/validate_token.rb
gapinc-fog-1.12.1a lib/fog/openstack/requests/identity/validate_token.rb
gapinc-fog-1.12.1 lib/fog/openstack/requests/identity/validate_token.rb
fog-1.12.1 lib/fog/openstack/requests/identity/validate_token.rb
fog-1.12.0 lib/fog/openstack/requests/identity/validate_token.rb
hpfog-0.0.20 lib/fog/openstack/requests/identity/validate_token.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/lib/fog/openstack/requests/identity/validate_token.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/lib/fog/openstack/requests/identity/validate_token.rb
fog-nirvanix-1.8.2 lib/fog/openstack/requests/identity/validate_token.rb
fog-1.11.1 lib/fog/openstack/requests/identity/validate_token.rb