{"name":"gist: 972317","desc":"Hacking ActiveResource::Connection for Shopify API in order to read HTTP response header 'http_x_shopify_api_call_limit'.  Simply require this code after your gems have been loaded.  Caveat emptor:  This hack modifies a private method of AR::Connection","actor":"christocracy","url":"https://gist.github.com/972317","actor_gravatar":"636c999d2bfebb2fa650ac543f89be76","snippet":"class ActiveResource::Connection\n  # HACK 1:  Add an attr_reader for response\n  attr_reader :response","action":"update"}