{"action":"created","issue":{"url":"https://api.github.com/repos/steveklabnik/request_store/issues/49","labels_url":"https://api.github.com/repos/steveklabnik/request_store/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/steveklabnik/request_store/issues/49/comments","events_url":"https://api.github.com/repos/steveklabnik/request_store/issues/49/events","html_url":"https://github.com/steveklabnik/request_store/pull/49","id":125507948,"number":49,"title":"Ability to determine if your code is running within the context of a request","user":{"login":"patbenatar","id":453695,"avatar_url":"https://avatars.githubusercontent.com/u/453695?v=3","gravatar_id":"","url":"https://api.github.com/users/patbenatar","html_url":"https://github.com/patbenatar","followers_url":"https://api.github.com/users/patbenatar/followers","following_url":"https://api.github.com/users/patbenatar/following{/other_user}","gists_url":"https://api.github.com/users/patbenatar/gists{/gist_id}","starred_url":"https://api.github.com/users/patbenatar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patbenatar/subscriptions","organizations_url":"https://api.github.com/users/patbenatar/orgs","repos_url":"https://api.github.com/users/patbenatar/repos","events_url":"https://api.github.com/users/patbenatar/events{/privacy}","received_events_url":"https://api.github.com/users/patbenatar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-07T23:23:09Z","updated_at":"2016-01-08T19:33:59Z","closed_at":"2016-01-08T14:26:31Z","pull_request":{"url":"https://api.github.com/repos/steveklabnik/request_store/pulls/49","html_url":"https://github.com/steveklabnik/request_store/pull/49","diff_url":"https://github.com/steveklabnik/request_store/pull/49.diff","patch_url":"https://github.com/steveklabnik/request_store/pull/49.patch"},"body":"Add `RequestStore.active?` to determine if your code is running within the context of a request. This allows code that can be called from multiple entry points (request, background job, etc) to determine if a request store is available to be used (and guaranteed to be cleaned up when the calling context completes in the case of a request)."},"comment":{"url":"https://api.github.com/repos/steveklabnik/request_store/issues/comments/170101246","html_url":"https://github.com/steveklabnik/request_store/pull/49#issuecomment-170101246","issue_url":"https://api.github.com/repos/steveklabnik/request_store/issues/49","id":170101246,"user":{"login":"steveklabnik","id":27786,"avatar_url":"https://avatars.githubusercontent.com/u/27786?v=3","gravatar_id":"","url":"https://api.github.com/users/steveklabnik","html_url":"https://github.com/steveklabnik","followers_url":"https://api.github.com/users/steveklabnik/followers","following_url":"https://api.github.com/users/steveklabnik/following{/other_user}","gists_url":"https://api.github.com/users/steveklabnik/gists{/gist_id}","starred_url":"https://api.github.com/users/steveklabnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveklabnik/subscriptions","organizations_url":"https://api.github.com/users/steveklabnik/orgs","repos_url":"https://api.github.com/users/steveklabnik/repos","events_url":"https://api.github.com/users/steveklabnik/events{/privacy}","received_events_url":"https://api.github.com/users/steveklabnik/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T19:33:59Z","updated_at":"2016-01-08T19:33:59Z","body":"Published as 1.3.0."}}