{"action":"opened","number":85,"pull_request":{"url":"https://api.github.com/repos/chingor13/json_api_client/pulls/85","id":39829906,"html_url":"https://github.com/chingor13/json_api_client/pull/85","diff_url":"https://github.com/chingor13/json_api_client/pull/85.diff","patch_url":"https://github.com/chingor13/json_api_client/pull/85.patch","issue_url":"https://api.github.com/repos/chingor13/json_api_client/issues/85","number":85,"state":"open","locked":false,"title":"overwrite the attributes_for_serialization","user":{"login":"chingor13","id":32483,"avatar_url":"https://avatars.githubusercontent.com/u/32483?v=3","gravatar_id":"","url":"https://api.github.com/users/chingor13","html_url":"https://github.com/chingor13","followers_url":"https://api.github.com/users/chingor13/followers","following_url":"https://api.github.com/users/chingor13/following{/other_user}","gists_url":"https://api.github.com/users/chingor13/gists{/gist_id}","starred_url":"https://api.github.com/users/chingor13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chingor13/subscriptions","organizations_url":"https://api.github.com/users/chingor13/orgs","repos_url":"https://api.github.com/users/chingor13/repos","events_url":"https://api.github.com/users/chingor13/events{/privacy}","received_events_url":"https://api.github.com/users/chingor13/received_events","type":"User","site_admin":false},"body":"I don't want to bake in the idea of create vs. update attributes - instead I'll add a hook that you can use to customize what attributes are returned for serialization.","created_at":"2015-07-13T16:25:06Z","updated_at":"2015-07-13T16:25:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chingor13/json_api_client/pulls/85/commits","review_comments_url":"https://api.github.com/repos/chingor13/json_api_client/pulls/85/comments","review_comment_url":"https://api.github.com/repos/chingor13/json_api_client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chingor13/json_api_client/issues/85/comments","statuses_url":"https://api.github.com/repos/chingor13/json_api_client/statuses/45d19bd09fa90d892642958da8efefa6dc118252","head":{"label":"chingor13:attributes_for_serialization","ref":"attributes_for_serialization","sha":"45d19bd09fa90d892642958da8efefa6dc118252","user":{"login":"chingor13","id":32483,"avatar_url":"https://avatars.githubusercontent.com/u/32483?v=3","gravatar_id":"","url":"https://api.github.com/users/chingor13","html_url":"https://github.com/chingor13","followers_url":"https://api.github.com/users/chingor13/followers","following_url":"https://api.github.com/users/chingor13/following{/other_user}","gists_url":"https://api.github.com/users/chingor13/gists{/gist_id}","starred_url":"https://api.github.com/users/chingor13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chingor13/subscriptions","organizations_url":"https://api.github.com/users/chingor13/orgs","repos_url":"https://api.github.com/users/chingor13/repos","events_url":"https://api.github.com/users/chingor13/events{/privacy}","received_events_url":"https://api.github.com/users/chingor13/received_events","type":"User","site_admin":false},"repo":{"id":13082779,"name":"json_api_client","full_name":"chingor13/json_api_client","owner":{"login":"chingor13","id":32483,"avatar_url":"https://avatars.githubusercontent.com/u/32483?v=3","gravatar_id":"","url":"https://api.github.com/users/chingor13","html_url":"https://github.com/chingor13","followers_url":"https://api.github.com/users/chingor13/followers","following_url":"https://api.github.com/users/chingor13/following{/other_user}","gists_url":"https://api.github.com/users/chingor13/gists{/gist_id}","starred_url":"https://api.github.com/users/chingor13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chingor13/subscriptions","organizations_url":"https://api.github.com/users/chingor13/orgs","repos_url":"https://api.github.com/users/chingor13/repos","events_url":"https://api.github.com/users/chingor13/events{/privacy}","received_events_url":"https://api.github.com/users/chingor13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chingor13/json_api_client","description":"Build client libraries compliant with specification defined by jsonapi.org","fork":false,"url":"https://api.github.com/repos/chingor13/json_api_client","forks_url":"https://api.github.com/repos/chingor13/json_api_client/forks","keys_url":"https://api.github.com/repos/chingor13/json_api_client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chingor13/json_api_client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chingor13/json_api_client/teams","hooks_url":"https://api.github.com/repos/chingor13/json_api_client/hooks","issue_events_url":"https://api.github.com/repos/chingor13/json_api_client/issues/events{/number}","events_url":"https://api.github.com/repos/chingor13/json_api_client/events","assignees_url":"https://api.github.com/repos/chingor13/json_api_client/assignees{/user}","branches_url":"https://api.github.com/repos/chingor13/json_api_client/branches{/branch}","tags_url":"https://api.github.com/repos/chingor13/json_api_client/tags","blobs_url":"https://api.github.com/repos/chingor13/json_api_client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chingor13/json_api_client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chingor13/json_api_client/git/refs{/sha}","trees_url":"https://api.github.com/repos/chingor13/json_api_client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chingor13/json_api_client/statuses/{sha}","languages_url":"https://api.github.com/repos/chingor13/json_api_client/languages","stargazers_url":"https://api.github.com/repos/chingor13/json_api_client/stargazers","contributors_url":"https://api.github.com/repos/chingor13/json_api_client/contributors","subscribers_url":"https://api.github.com/repos/chingor13/json_api_client/subscribers","subscription_url":"https://api.github.com/repos/chingor13/json_api_client/subscription","commits_url":"https://api.github.com/repos/chingor13/json_api_client/commits{/sha}","git_commits_url":"https://api.github.com/repos/chingor13/json_api_client/git/commits{/sha}","comments_url":"https://api.github.com/repos/chingor13/json_api_client/comments{/number}","issue_comment_url":"https://api.github.com/repos/chingor13/json_api_client/issues/comments{/number}","contents_url":"https://api.github.com/repos/chingor13/json_api_client/contents/{+path}","compare_url":"https://api.github.com/repos/chingor13/json_api_client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chingor13/json_api_client/merges","archive_url":"https://api.github.com/repos/chingor13/json_api_client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chingor13/json_api_client/downloads","issues_url":"https://api.github.com/repos/chingor13/json_api_client/issues{/number}","pulls_url":"https://api.github.com/repos/chingor13/json_api_client/pulls{/number}","milestones_url":"https://api.github.com/repos/chingor13/json_api_client/milestones{/number}","notifications_url":"https://api.github.com/repos/chingor13/json_api_client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chingor13/json_api_client/labels{/name}","releases_url":"https://api.github.com/repos/chingor13/json_api_client/releases{/id}","created_at":"2013-09-25T03:04:52Z","updated_at":"2015-07-11T13:58:26Z","pushed_at":"2015-07-13T16:25:06Z","git_url":"git://github.com/chingor13/json_api_client.git","ssh_url":"git@github.com:chingor13/json_api_client.git","clone_url":"https://github.com/chingor13/json_api_client.git","svn_url":"https://github.com/chingor13/json_api_client","homepage":null,"size":1083,"stargazers_count":45,"watchers_count":45,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":4,"forks":22,"open_issues":4,"watchers":45,"default_branch":"master"}},"base":{"label":"chingor13:master","ref":"master","sha":"d1861c796ec0bf546105af0cd05ba484e70c60e4","user":{"login":"chingor13","id":32483,"avatar_url":"https://avatars.githubusercontent.com/u/32483?v=3","gravatar_id":"","url":"https://api.github.com/users/chingor13","html_url":"https://github.com/chingor13","followers_url":"https://api.github.com/users/chingor13/followers","following_url":"https://api.github.com/users/chingor13/following{/other_user}","gists_url":"https://api.github.com/users/chingor13/gists{/gist_id}","starred_url":"https://api.github.com/users/chingor13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chingor13/subscriptions","organizations_url":"https://api.github.com/users/chingor13/orgs","repos_url":"https://api.github.com/users/chingor13/repos","events_url":"https://api.github.com/users/chingor13/events{/privacy}","received_events_url":"https://api.github.com/users/chingor13/received_events","type":"User","site_admin":false},"repo":{"id":13082779,"name":"json_api_client","full_name":"chingor13/json_api_client","owner":{"login":"chingor13","id":32483,"avatar_url":"https://avatars.githubusercontent.com/u/32483?v=3","gravatar_id":"","url":"https://api.github.com/users/chingor13","html_url":"https://github.com/chingor13","followers_url":"https://api.github.com/users/chingor13/followers","following_url":"https://api.github.com/users/chingor13/following{/other_user}","gists_url":"https://api.github.com/users/chingor13/gists{/gist_id}","starred_url":"https://api.github.com/users/chingor13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chingor13/subscriptions","organizations_url":"https://api.github.com/users/chingor13/orgs","repos_url":"https://api.github.com/users/chingor13/repos","events_url":"https://api.github.com/users/chingor13/events{/privacy}","received_events_url":"https://api.github.com/users/chingor13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chingor13/json_api_client","description":"Build client libraries compliant with specification defined by jsonapi.org","fork":false,"url":"https://api.github.com/repos/chingor13/json_api_client","forks_url":"https://api.github.com/repos/chingor13/json_api_client/forks","keys_url":"https://api.github.com/repos/chingor13/json_api_client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chingor13/json_api_client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chingor13/json_api_client/teams","hooks_url":"https://api.github.com/repos/chingor13/json_api_client/hooks","issue_events_url":"https://api.github.com/repos/chingor13/json_api_client/issues/events{/number}","events_url":"https://api.github.com/repos/chingor13/json_api_client/events","assignees_url":"https://api.github.com/repos/chingor13/json_api_client/assignees{/user}","branches_url":"https://api.github.com/repos/chingor13/json_api_client/branches{/branch}","tags_url":"https://api.github.com/repos/chingor13/json_api_client/tags","blobs_url":"https://api.github.com/repos/chingor13/json_api_client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chingor13/json_api_client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chingor13/json_api_client/git/refs{/sha}","trees_url":"https://api.github.com/repos/chingor13/json_api_client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chingor13/json_api_client/statuses/{sha}","languages_url":"https://api.github.com/repos/chingor13/json_api_client/languages","stargazers_url":"https://api.github.com/repos/chingor13/json_api_client/stargazers","contributors_url":"https://api.github.com/repos/chingor13/json_api_client/contributors","subscribers_url":"https://api.github.com/repos/chingor13/json_api_client/subscribers","subscription_url":"https://api.github.com/repos/chingor13/json_api_client/subscription","commits_url":"https://api.github.com/repos/chingor13/json_api_client/commits{/sha}","git_commits_url":"https://api.github.com/repos/chingor13/json_api_client/git/commits{/sha}","comments_url":"https://api.github.com/repos/chingor13/json_api_client/comments{/number}","issue_comment_url":"https://api.github.com/repos/chingor13/json_api_client/issues/comments{/number}","contents_url":"https://api.github.com/repos/chingor13/json_api_client/contents/{+path}","compare_url":"https://api.github.com/repos/chingor13/json_api_client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chingor13/json_api_client/merges","archive_url":"https://api.github.com/repos/chingor13/json_api_client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chingor13/json_api_client/downloads","issues_url":"https://api.github.com/repos/chingor13/json_api_client/issues{/number}","pulls_url":"https://api.github.com/repos/chingor13/json_api_client/pulls{/number}","milestones_url":"https://api.github.com/repos/chingor13/json_api_client/milestones{/number}","notifications_url":"https://api.github.com/repos/chingor13/json_api_client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chingor13/json_api_client/labels{/name}","releases_url":"https://api.github.com/repos/chingor13/json_api_client/releases{/id}","created_at":"2013-09-25T03:04:52Z","updated_at":"2015-07-11T13:58:26Z","pushed_at":"2015-07-13T16:25:06Z","git_url":"git://github.com/chingor13/json_api_client.git","ssh_url":"git@github.com:chingor13/json_api_client.git","clone_url":"https://github.com/chingor13/json_api_client.git","svn_url":"https://github.com/chingor13/json_api_client","homepage":null,"size":1083,"stargazers_count":45,"watchers_count":45,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":4,"forks":22,"open_issues":4,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chingor13/json_api_client/pulls/85"},"html":{"href":"https://github.com/chingor13/json_api_client/pull/85"},"issue":{"href":"https://api.github.com/repos/chingor13/json_api_client/issues/85"},"comments":{"href":"https://api.github.com/repos/chingor13/json_api_client/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/chingor13/json_api_client/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/chingor13/json_api_client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chingor13/json_api_client/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/chingor13/json_api_client/statuses/45d19bd09fa90d892642958da8efefa6dc118252"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":30,"deletions":1,"changed_files":2}}