lib/exercism/api.rb in exercism-0.0.22 vs lib/exercism/api.rb in exercism-0.0.23
- old
+ new
@@ -9,10 +9,10 @@
@user = user
@project_dir = project_dir
end
def conn
- conn = Faraday.new(:url => url) do |c|
+ Faraday.new(:url => url) do |c|
c.use Faraday::Adapter::NetHttp
c.headers['User-Agent'] = user_agent
end
end