lib/promoter/request.rb in promoter-0.1.6 vs lib/promoter/request.rb in promoter-0.1.7

- old
+ new

@@ -25,11 +25,11 @@ end private def self.parse_response(response, response_format=:json) - check_for_error(response.response.code) display_debug(response.body) + check_for_error(response.response.code) if response_format == :json JSON.parse(response.body.to_s) else response.body.to_s end \ No newline at end of file