Sha256: 8abf430a379e9d443754b02b156755076760957ef3b950ddf69608eeccc0c30e
Contents?: true
Size: 522 Bytes
Versions: 35
Compression:
Stored size: 522 Bytes
Contents
require 'fog/openstack/auth/catalog' module Fog module OpenStack module Auth module Catalog class V2 include Fog::OpenStack::Auth::Catalog def endpoint_match?(endpoint, interface, region) if endpoint.key?("#{interface}URL") true unless !region.nil? && endpoint['region'] != region end end def endpoint_url(endpoint, interface) endpoint["#{interface}URL"] end end end end end end
Version data entries
35 entries across 35 versions & 3 rubygems