google-api-ruby-client
google-api-ruby-client copied to clipboard
`JSON.pretty_generate` on response objects doesn't actually prettify
While the call no longer raises an exception, the output is the same as a call to to_json.
For example, the expected pretty output a response containing {'foo': 'bar'} is
{
"foo": "bar"
}
Right now, it's printed as {"foo":"bar"}.
Sorry for the delay. Are you still experiencing this issue?
I can reproduce this. Created a PR with a fix.
(This is actually an issue with the representable gem. The PR is a workaround.)