{"action":"created","issue":{"url":"https://api.github.com/repos/andreapavoni/plug_ets_cache/issues/5","repository_url":"https://api.github.com/repos/andreapavoni/plug_ets_cache","labels_url":"https://api.github.com/repos/andreapavoni/plug_ets_cache/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/andreapavoni/plug_ets_cache/issues/5/comments","events_url":"https://api.github.com/repos/andreapavoni/plug_ets_cache/issues/5/events","html_url":"https://github.com/andreapavoni/plug_ets_cache/pull/5","id":348507612,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2ODQyNzg4","number":5,"title":"Allow optionally specifying ttl for each cached response","user":{"login":"jerodsanto","id":8212,"node_id":"MDQ6VXNlcjgyMTI=","avatar_url":"https://avatars0.githubusercontent.com/u/8212?v=4","gravatar_id":"","url":"https://api.github.com/users/jerodsanto","html_url":"https://github.com/jerodsanto","followers_url":"https://api.github.com/users/jerodsanto/followers","following_url":"https://api.github.com/users/jerodsanto/following{/other_user}","gists_url":"https://api.github.com/users/jerodsanto/gists{/gist_id}","starred_url":"https://api.github.com/users/jerodsanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerodsanto/subscriptions","organizations_url":"https://api.github.com/users/jerodsanto/orgs","repos_url":"https://api.github.com/users/jerodsanto/repos","events_url":"https://api.github.com/users/jerodsanto/events{/privacy}","received_events_url":"https://api.github.com/users/jerodsanto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-07T22:19:27Z","updated_at":"2018-08-08T13:30:00Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/andreapavoni/plug_ets_cache/pulls/5","html_url":"https://github.com/andreapavoni/plug_ets_cache/pull/5","diff_url":"https://github.com/andreapavoni/plug_ets_cache/pull/5.diff","patch_url":"https://github.com/andreapavoni/plug_ets_cache/pull/5.patch"},"body":"I saw this feature in your TODO section and it's something I want for [changelog.com](https://changelog.com) as well, so I took a crack at it. A few notes:\r\n\r\n1. I kept this change backwards compatible by adding `cache_response/2`\r\n2. The call to `ConCache.put` uses the correct `%ConCache.Item{}` struct, but I'm not actually testing cache expiry\r\n3. No work on the docs yet, but happy to amend readme and whatever else to make the feature more obvious if/when you approve it\r\n\r\nLet me know what you think! 🍻 "},"comment":{"url":"https://api.github.com/repos/andreapavoni/plug_ets_cache/issues/comments/411405567","html_url":"https://github.com/andreapavoni/plug_ets_cache/pull/5#issuecomment-411405567","issue_url":"https://api.github.com/repos/andreapavoni/plug_ets_cache/issues/5","id":411405567,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTQwNTU2Nw==","user":{"login":"jerodsanto","id":8212,"node_id":"MDQ6VXNlcjgyMTI=","avatar_url":"https://avatars0.githubusercontent.com/u/8212?v=4","gravatar_id":"","url":"https://api.github.com/users/jerodsanto","html_url":"https://github.com/jerodsanto","followers_url":"https://api.github.com/users/jerodsanto/followers","following_url":"https://api.github.com/users/jerodsanto/following{/other_user}","gists_url":"https://api.github.com/users/jerodsanto/gists{/gist_id}","starred_url":"https://api.github.com/users/jerodsanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerodsanto/subscriptions","organizations_url":"https://api.github.com/users/jerodsanto/orgs","repos_url":"https://api.github.com/users/jerodsanto/repos","events_url":"https://api.github.com/users/jerodsanto/events{/privacy}","received_events_url":"https://api.github.com/users/jerodsanto/received_events","type":"User","site_admin":false},"created_at":"2018-08-08T13:30:00Z","updated_at":"2018-08-08T13:30:00Z","author_association":"CONTRIBUTOR","body":"Cool, I added a ttl section to the readme. Thanks for approving! Excited to get this merged ✊ "}}
{"actor":{"display_login":"jerodsanto"}}