Class: Fog::OpenStack::Auth::Catalog::V2
Instance Attribute Summary
#payload
Instance Method Summary
collapse
#get_endpoint_url, #initialize
Instance Method Details
#endpoint_match?(endpoint, interface, region) ⇒ Boolean
10
11
12
13
14
|
# File 'lib/fog/openstack/auth/catalog/v2.rb', line 10
def endpoint_match?(endpoint, interface, region)
if endpoint.key?("#{interface}URL")
true unless !region.nil? && endpoint['region'] != region
end
end
|
#endpoint_url(endpoint, interface) ⇒ Object
16
17
18
|
# File 'lib/fog/openstack/auth/catalog/v2.rb', line 16
def endpoint_url(endpoint, interface)
endpoint["#{interface}URL"]
end
|