Method: Fog::KeyManager::OpenStack::Real#set_api_path

Defined in:
lib/fog/key_manager/openstack.rb

#set_api_pathObject



113
114
115
116
117
118
# File 'lib/fog/key_manager/openstack.rb', line 113

def set_api_path
  @path.sub!(%r{/$}, '')
  unless @path.match(SUPPORTED_VERSIONS)
    @path = supported_version(SUPPORTED_VERSIONS, @openstack_management_uri, @auth_token, @connection_options)
  end
end