Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

lccs.rb support for Ruby 1.9.3

Avatar

Former Community Member

Hi,

Looks like the interface for the http get and post methods had changed in Ruby 1.9.3 and now instead of returning a pair of response and body, only the response parameter is returned.

Therefore, both the http_get and http_post methods should get the body from the returned response parameter.

The block performing the http call should be in http_get

and in http_post

Eyal.

2 Replies

Avatar

Employee

Thanks for pointing that out. I'll have to see if there is an easy way to get it to work both with 1.8.x and 1.9.x.