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