lib/foursquare2/client.rb in foursquare2-1.3.2 vs lib/foursquare2/client.rb in foursquare2-1.3.3

- old
+ new

@@ -66,10 +66,10 @@ def return_error_or_body(response, response_body) if response.body.meta.code == 200 response_body else - raise Foursquare2::APIError.new(response.body.meta) + raise Foursquare2::APIError.new(response.body.meta, response.body.response) end end private