lib/yao/client.rb in yao-0.13.4 vs lib/yao/client.rb in yao-0.14.0
- old
+ new
@@ -102,10 +102,10 @@
Faraday.new( endpoint, client_options ) do |f|
client_generator.call(f, token)
end
end
- # @param [String]
+ # @param new_endpoint [String]
def reset_client(new_endpoint=nil)
set = ClientSet.new
endpoint = {
"default" => {public_url: new_endpoint || Yao.config.endpoint}
}