Method: OpenStack::AuthV20#get_version_from_response

Defined in:
lib/openstack/connection.rb

#get_version_from_response(service, endpoint_type) ⇒ Object



486
487
488
# File 'lib/openstack/connection.rb', line 486

def get_version_from_response(service,endpoint_type)
  service["endpoints"].first["versionId"] || parse_version_from_endpoint(service["endpoints"].first[endpoint_type])
end