Sha256: 72d99c23f4c6c3a2249edf109ab98fad7a03fa603993de482566b674fcdf1b3e

Contents?: true

Size: 504 Bytes

Versions: 35

Compression:

Stored size: 504 Bytes

Contents

require 'fog/openstack/auth/catalog'

module Fog
  module OpenStack
    module Auth
      module Catalog
        class V3
          include Fog::OpenStack::Auth::Catalog

          def endpoint_match?(endpoint, interface, region)
            if endpoint['interface'] == interface
              true unless !region.nil? && endpoint['region'] != region
            end
          end

          def endpoint_url(endpoint, _)
            endpoint['url']
          end
        end
      end
    end
  end
end

Version data entries

35 entries across 35 versions & 3 rubygems

Version Path
fog-openstack-1.1.3 lib/fog/openstack/auth/catalog/v3.rb
fog-openstack-1.1.2 lib/fog/openstack/auth/catalog/v3.rb
fog-openstack-fork-99 lib/fog/openstack/auth/catalog/v3.rb
fog-openstack-1.1.0 lib/fog/openstack/auth/catalog/v3.rb
fog-openstack-1.1.0.pre lib/fog/openstack/auth/catalog/v3.rb
fog-openstack-apibank-1.0.102 lib/fog/openstack/auth/catalog/v3.rb
fog-openstack-1.0.11 lib/fog/openstack/auth/catalog/v3.rb
fog-openstack-apibank-1.0.101 lib/fog/openstack/auth/catalog/v3.rb
fog-openstack-1.0.10 lib/fog/openstack/auth/catalog/v3.rb
fog-openstack-1.0.9 lib/fog/openstack/auth/catalog/v3.rb
fog-openstack-0.3.10 lib/fog/openstack/auth/catalog/v3.rb
fog-openstack-1.0.8 lib/fog/openstack/auth/catalog/v3.rb
fog-openstack-1.0.7 lib/fog/openstack/auth/catalog/v3.rb
fog-openstack-0.3.9 lib/fog/openstack/auth/catalog/v3.rb
fog-openstack-1.0.6 lib/fog/openstack/auth/catalog/v3.rb
fog-openstack-1.0.5 lib/fog/openstack/auth/catalog/v3.rb
fog-openstack-0.3.8 lib/fog/openstack/auth/catalog/v3.rb
fog-openstack-0.3.7 lib/fog/openstack/auth/catalog/v3.rb
fog-openstack-1.0.4 lib/fog/openstack/auth/catalog/v3.rb
fog-openstack-0.3.6 lib/fog/openstack/auth/catalog/v3.rb