lib/fanforce/api/response.rb in fanforce-api-0.14.4 vs lib/fanforce/api/response.rb in fanforce-api-0.14.5
- old
+ new
@@ -4,12 +4,10 @@
def self.process(response, request, requested_url, requested_params)
if response.code > 201
puts "FANFORCE API CRAPPED OUT: #{response.code}"
puts response.args.to_json
puts '--------------------------------------'
- puts response.args['payload'].to_json
- puts '--------------------------------------'
- puts response.args[:payload].to_json
+ puts response.args[:payload]
puts '--------------------------------------'
puts response.body
puts '--------------------------------------'
puts response.net_http_res
end