Sha256: a185b16479dfa221e37ba94a125f608db9e3dc5f153c7ef62acf10ec052645ab

Contents?: true

Size: 349 Bytes

Versions: 18

Compression:

Stored size: 349 Bytes

Contents

module Fog
  module Identity
    class OpenStack
      class Real
        def check_token(token_id, tenant_id)
          request(
            :expects  => [200, 203],
            :method   => 'HEAD',
            :path     => "tokens/#{token_id}?belongsTo=#{tenant_id}"
          )
        end
      end

      class Mock
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 4 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/openstack/requests/identity/check_token.rb
fog-1.28.0 lib/fog/openstack/requests/identity/check_token.rb
fog-1.27.0 lib/fog/openstack/requests/identity/check_token.rb
fog-1.26.0 lib/fog/openstack/requests/identity/check_token.rb
fog-1.25.0 lib/fog/openstack/requests/identity/check_token.rb
nsidc-fog-1.24.1 lib/fog/openstack/requests/identity/check_token.rb
fog-1.24.0 lib/fog/openstack/requests/identity/check_token.rb
ns-fog-1.22.11 lib/fog/openstack/requests/identity/check_token.rb
ns-fog-1.22.10 lib/fog/openstack/requests/identity/check_token.rb
ns-fog-1.22.9 lib/fog/openstack/requests/identity/check_token.rb
ns-fog-1.22.8 lib/fog/openstack/requests/identity/check_token.rb
ns-fog-1.22.7 lib/fog/openstack/requests/identity/check_token.rb
ns-fog-1.22.6 lib/fog/openstack/requests/identity/check_token.rb
fog-1.23.0 lib/fog/openstack/requests/identity/check_token.rb
ns-fog-1.22.4 lib/fog/openstack/requests/identity/check_token.rb
ns-fog-1.22.3 lib/fog/openstack/requests/identity/check_token.rb
ns-fog-1.22.2 lib/fog/openstack/requests/identity/check_token.rb
fog-1.22.1 lib/fog/openstack/requests/identity/check_token.rb