Class: Misty::Auth::Catalog::V3

Inherits:
Object
  • Object
show all
Includes:
Misty::Auth::Catalog
Defined in:
lib/misty/auth/catalog/v3.rb

Instance Attribute Summary

Attributes included from Misty::Auth::Catalog

#payload

Instance Method Summary collapse

Methods included from Misty::Auth::Catalog

#get_endpoint_url, #initialize

Instance Method Details

#endpoint_url(endpoint, region, interface) ⇒ Object



9
10
11
# File 'lib/misty/auth/catalog/v3.rb', line 9

def endpoint_url(endpoint, region, interface)
  endpoint['url'] if endpoint['region'] == region && endpoint['interface'] == interface
end