Class: Fog::OpenStack::Auth::Catalog::V3
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/v3.rb', line 10
def endpoint_match?(endpoint, interface, region)
if endpoint['interface'] == interface
true unless !region.nil? && endpoint['region'] != region
end
end
|
#endpoint_url(endpoint, _) ⇒ Object
16
17
18
|
# File 'lib/fog/openstack/auth/catalog/v3.rb', line 16
def endpoint_url(endpoint, _)
endpoint['url']
end
|