lib/gowalla/client.rb in gowalla-0.4.1 vs lib/gowalla/client.rb in gowalla-0.4.2
- old
+ new
@@ -39,11 +39,11 @@
url = @access_token ? "https://api.gowalla.com" : "http://api.gowalla.com"
params = {}
params[:access_token] = @access_token if @access_token
@connection ||= Faraday::Connection.new(:url => url, :params => params, :headers => default_headers) do |builder|
builder.adapter Faraday.default_adapter
- builder.use Faraday::Response::MultiJson
+ builder.use Faraday::Response::ParseJson
builder.use Faraday::Response::Mashify
end
end
@@ -90,6 +90,6 @@
end
end
-end
\ No newline at end of file
+end