{"action":"created","issue":{"url":"https://api.github.com/repos/wmakley/simple_serializer/issues/7","repository_url":"https://api.github.com/repos/wmakley/simple_serializer","labels_url":"https://api.github.com/repos/wmakley/simple_serializer/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/wmakley/simple_serializer/issues/7/comments","events_url":"https://api.github.com/repos/wmakley/simple_serializer/issues/7/events","html_url":"https://github.com/wmakley/simple_serializer/pull/7","id":346205797,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1MTI2NjQx","number":7,"title":"Pass options into collection blocks","user":{"login":"trevorrjohn","id":673838,"node_id":"MDQ6VXNlcjY3MzgzOA==","avatar_url":"https://avatars2.githubusercontent.com/u/673838?v=4","gravatar_id":"","url":"https://api.github.com/users/trevorrjohn","html_url":"https://github.com/trevorrjohn","followers_url":"https://api.github.com/users/trevorrjohn/followers","following_url":"https://api.github.com/users/trevorrjohn/following{/other_user}","gists_url":"https://api.github.com/users/trevorrjohn/gists{/gist_id}","starred_url":"https://api.github.com/users/trevorrjohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevorrjohn/subscriptions","organizations_url":"https://api.github.com/users/trevorrjohn/orgs","repos_url":"https://api.github.com/users/trevorrjohn/repos","events_url":"https://api.github.com/users/trevorrjohn/events{/privacy}","received_events_url":"https://api.github.com/users/trevorrjohn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-07-31T14:11:28Z","updated_at":"2018-07-31T15:19:29Z","closed_at":"2018-07-31T15:07:06Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/wmakley/simple_serializer/pulls/7","html_url":"https://github.com/wmakley/simple_serializer/pull/7","diff_url":"https://github.com/wmakley/simple_serializer/pull/7.diff","patch_url":"https://github.com/wmakley/simple_serializer/pull/7.patch"},"body":"- this also changes the behavior to instantiate a new serializer for\r\neach collection item.\r\n- updates readme to fix styling"},"comment":{"url":"https://api.github.com/repos/wmakley/simple_serializer/issues/comments/409259436","html_url":"https://github.com/wmakley/simple_serializer/pull/7#issuecomment-409259436","issue_url":"https://api.github.com/repos/wmakley/simple_serializer/issues/7","id":409259436,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTI1OTQzNg==","user":{"login":"trevorrjohn","id":673838,"node_id":"MDQ6VXNlcjY3MzgzOA==","avatar_url":"https://avatars2.githubusercontent.com/u/673838?v=4","gravatar_id":"","url":"https://api.github.com/users/trevorrjohn","html_url":"https://github.com/trevorrjohn","followers_url":"https://api.github.com/users/trevorrjohn/followers","following_url":"https://api.github.com/users/trevorrjohn/following{/other_user}","gists_url":"https://api.github.com/users/trevorrjohn/gists{/gist_id}","starred_url":"https://api.github.com/users/trevorrjohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevorrjohn/subscriptions","organizations_url":"https://api.github.com/users/trevorrjohn/orgs","repos_url":"https://api.github.com/users/trevorrjohn/repos","events_url":"https://api.github.com/users/trevorrjohn/events{/privacy}","received_events_url":"https://api.github.com/users/trevorrjohn/received_events","type":"User","site_admin":false},"created_at":"2018-07-31T15:19:29Z","updated_at":"2018-07-31T15:19:29Z","author_association":"CONTRIBUTOR","body":"Also I think you missed the important part of passing in the options on https://github.com/wmakley/simple_serializer/blob/master/lib/simple_serializer.rb#L205. Without that you don't have the options argument in the block. Unless I am misunderstanding something."}}
{"actor":{"display_login":"trevorrjohn"}}