lib/foursquare2/client.rb in foursquare2-0.9.0 vs lib/foursquare2/client.rb in foursquare2-0.9.1
- old
+ new
@@ -37,11 +37,11 @@
params[:client_id] = @client_id if @client_id
params[:client_secret] = @client_secret if @client_secret
params[:oauth_token] = @oauth_token if @oauth_token
@connection ||= Faraday::Connection.new(:url => api_url, :params => params, :headers => default_headers) do |builder|
builder.adapter Faraday.default_adapter
- builder.use Faraday::Response::ParseJson
builder.use Faraday::Response::Mashify
+ builder.use Faraday::Response::ParseJson
end
end
# Base URL for api requests.