whichdigital / active-rest-client

ActiveRestClient API Client
https://rubygems.org/gems/active_rest_client
MIT License
386 stars 44 forks source link

Exposing ETag as an attribute of the parsed response object #76

Closed rafaelpetry closed 9 years ago

rafaelpetry commented 9 years ago

I would like to access the ETag value on the parsed objects, so I can use it as part of the cache key for Rails fragment caching. I am not too familiar with this codebase, so let me know if this is not the right approach.

coveralls commented 9 years ago

Coverage Status

Coverage increased (+0.0%) to 99.8% when pulling 73e5c4af122abd912ef4a588e98f1f7953af44a7 on rafaelpetry:expose_etag into a98a2a8b16903597d57c19d9a8c98c743b4107cd on whichdigital:master.

coveralls commented 9 years ago

Coverage Status

Coverage increased (+0.0%) to 99.8% when pulling 73e5c4af122abd912ef4a588e98f1f7953af44a7 on rafaelpetry:expose_etag into a98a2a8b16903597d57c19d9a8c98c743b4107cd on whichdigital:master.

andyjeffries commented 9 years ago

Seems fine to me, merged.