gojek/wrest

Since Wrest::Response is immutable, the results of Response#deserialise should be cached

Closed this issue · 2 comments

Since Wrest::Response is immutable, the results of Response#deserialise should be cached

Basically repeated calls to Wrest#deserialise should deserialse the body just once. This should not affect Wrest#deserialise_using

Fixed in Commit 3fed972