Fails to decode gzipped responses from Chargebee
lilith opened this issue · comments
When executing ChargeBee::Subscription.retrieve(subscription_id).subscription.as_json
The following error occurs
Response not in JSON format. Probably not a ChargeBee response
"\u001F\x8B\b\u0000\u0000\u0000\u0000\u0000
This appears to be a compatibility issues with rest-client 2.1.0.
Specifying gem 'rest-client','= 2.0.2'
in Gemfile is a workaround