# File lib/openstack/connection.rb, line 499 def parse_version_from_endpoint(endpoint) endpoint.match(/\/v(\d).(\d)/).to_s.sub("/v", "") end