{"action":"created","comment":{"url":"https://api.github.com/repos/link664/imagemagick-identify/pulls/comments/23142429","id":23142429,"diff_hunk":"@@ -3,6 +3,7 @@\n \n module ImageMagick\n   class Identify::Result\n+    attr_reader :result","path":"lib/imagemagick/identify/result.rb","position":4,"original_position":4,"commit_id":"24a4c50d125539d5dac24dbd68af356292164d85","original_commit_id":"24a4c50d125539d5dac24dbd68af356292164d85","user":{"login":"link664","id":1317782,"avatar_url":"https://avatars.githubusercontent.com/u/1317782?v=3","gravatar_id":"","url":"https://api.github.com/users/link664","html_url":"https://github.com/link664","followers_url":"https://api.github.com/users/link664/followers","following_url":"https://api.github.com/users/link664/following{/other_user}","gists_url":"https://api.github.com/users/link664/gists{/gist_id}","starred_url":"https://api.github.com/users/link664/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/link664/subscriptions","organizations_url":"https://api.github.com/users/link664/orgs","repos_url":"https://api.github.com/users/link664/repos","events_url":"https://api.github.com/users/link664/events{/privacy}","received_events_url":"https://api.github.com/users/link664/received_events","type":"User","site_admin":false},"body":"This doesn't make a lot of sense, mainly because the class itself is a bit of a dumb class. The class is meant to represent the result, and have accessors to each attribute that we want (e.g. colors). The idea is to add each attribute as we go along so that the data is contained and converted/presented in a usable format.  Giving access to the results hash is not containing the data, so I'm going to close this PR.\r\n\r\nIf you submit another pull request with accessors to the exact attributes that you want to access within the result hash I'd be more than happy to merge that. :smile: ","created_at":"2015-01-19T04:36:08Z","updated_at":"2015-01-19T04:36:08Z","html_url":"https://github.com/link664/imagemagick-identify/pull/1#discussion_r23142429","pull_request_url":"https://api.github.com/repos/link664/imagemagick-identify/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/link664/imagemagick-identify/pulls/comments/23142429"},"html":{"href":"https://github.com/link664/imagemagick-identify/pull/1#discussion_r23142429"},"pull_request":{"href":"https://api.github.com/repos/link664/imagemagick-identify/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/link664/imagemagick-identify/pulls/1","id":26615174,"html_url":"https://github.com/link664/imagemagick-identify/pull/1","diff_url":"https://github.com/link664/imagemagick-identify/pull/1.diff","patch_url":"https://github.com/link664/imagemagick-identify/pull/1.patch","issue_url":"https://api.github.com/repos/link664/imagemagick-identify/issues/1","number":1,"state":"open","locked":false,"title":"add result accessor for convenience","user":{"login":"quinn","id":3764,"avatar_url":"https://avatars.githubusercontent.com/u/3764?v=3","gravatar_id":"","url":"https://api.github.com/users/quinn","html_url":"https://github.com/quinn","followers_url":"https://api.github.com/users/quinn/followers","following_url":"https://api.github.com/users/quinn/following{/other_user}","gists_url":"https://api.github.com/users/quinn/gists{/gist_id}","starred_url":"https://api.github.com/users/quinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quinn/subscriptions","organizations_url":"https://api.github.com/users/quinn/orgs","repos_url":"https://api.github.com/users/quinn/repos","events_url":"https://api.github.com/users/quinn/events{/privacy}","received_events_url":"https://api.github.com/users/quinn/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-12-27T14:56:41Z","updated_at":"2015-01-19T04:36:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d7f4ed76502ec57d74ba65bf571c4cbd7c99b012","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/link664/imagemagick-identify/pulls/1/commits","review_comments_url":"https://api.github.com/repos/link664/imagemagick-identify/pulls/1/comments","review_comment_url":"https://api.github.com/repos/link664/imagemagick-identify/pulls/comments/{number}","comments_url":"https://api.github.com/repos/link664/imagemagick-identify/issues/1/comments","statuses_url":"https://api.github.com/repos/link664/imagemagick-identify/statuses/24a4c50d125539d5dac24dbd68af356292164d85","head":{"label":"quinn:patch-1","ref":"patch-1","sha":"24a4c50d125539d5dac24dbd68af356292164d85","user":{"login":"quinn","id":3764,"avatar_url":"https://avatars.githubusercontent.com/u/3764?v=3","gravatar_id":"","url":"https://api.github.com/users/quinn","html_url":"https://github.com/quinn","followers_url":"https://api.github.com/users/quinn/followers","following_url":"https://api.github.com/users/quinn/following{/other_user}","gists_url":"https://api.github.com/users/quinn/gists{/gist_id}","starred_url":"https://api.github.com/users/quinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quinn/subscriptions","organizations_url":"https://api.github.com/users/quinn/orgs","repos_url":"https://api.github.com/users/quinn/repos","events_url":"https://api.github.com/users/quinn/events{/privacy}","received_events_url":"https://api.github.com/users/quinn/received_events","type":"User","site_admin":false},"repo":{"id":28539059,"name":"imagemagick-identify","full_name":"quinn/imagemagick-identify","owner":{"login":"quinn","id":3764,"avatar_url":"https://avatars.githubusercontent.com/u/3764?v=3","gravatar_id":"","url":"https://api.github.com/users/quinn","html_url":"https://github.com/quinn","followers_url":"https://api.github.com/users/quinn/followers","following_url":"https://api.github.com/users/quinn/following{/other_user}","gists_url":"https://api.github.com/users/quinn/gists{/gist_id}","starred_url":"https://api.github.com/users/quinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quinn/subscriptions","organizations_url":"https://api.github.com/users/quinn/orgs","repos_url":"https://api.github.com/users/quinn/repos","events_url":"https://api.github.com/users/quinn/events{/privacy}","received_events_url":"https://api.github.com/users/quinn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/quinn/imagemagick-identify","description":"A wrapper around ImageMagick's identify command","fork":true,"url":"https://api.github.com/repos/quinn/imagemagick-identify","forks_url":"https://api.github.com/repos/quinn/imagemagick-identify/forks","keys_url":"https://api.github.com/repos/quinn/imagemagick-identify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quinn/imagemagick-identify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quinn/imagemagick-identify/teams","hooks_url":"https://api.github.com/repos/quinn/imagemagick-identify/hooks","issue_events_url":"https://api.github.com/repos/quinn/imagemagick-identify/issues/events{/number}","events_url":"https://api.github.com/repos/quinn/imagemagick-identify/events","assignees_url":"https://api.github.com/repos/quinn/imagemagick-identify/assignees{/user}","branches_url":"https://api.github.com/repos/quinn/imagemagick-identify/branches{/branch}","tags_url":"https://api.github.com/repos/quinn/imagemagick-identify/tags","blobs_url":"https://api.github.com/repos/quinn/imagemagick-identify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quinn/imagemagick-identify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quinn/imagemagick-identify/git/refs{/sha}","trees_url":"https://api.github.com/repos/quinn/imagemagick-identify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quinn/imagemagick-identify/statuses/{sha}","languages_url":"https://api.github.com/repos/quinn/imagemagick-identify/languages","stargazers_url":"https://api.github.com/repos/quinn/imagemagick-identify/stargazers","contributors_url":"https://api.github.com/repos/quinn/imagemagick-identify/contributors","subscribers_url":"https://api.github.com/repos/quinn/imagemagick-identify/subscribers","subscription_url":"https://api.github.com/repos/quinn/imagemagick-identify/subscription","commits_url":"https://api.github.com/repos/quinn/imagemagick-identify/commits{/sha}","git_commits_url":"https://api.github.com/repos/quinn/imagemagick-identify/git/commits{/sha}","comments_url":"https://api.github.com/repos/quinn/imagemagick-identify/comments{/number}","issue_comment_url":"https://api.github.com/repos/quinn/imagemagick-identify/issues/comments/{number}","contents_url":"https://api.github.com/repos/quinn/imagemagick-identify/contents/{+path}","compare_url":"https://api.github.com/repos/quinn/imagemagick-identify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quinn/imagemagick-identify/merges","archive_url":"https://api.github.com/repos/quinn/imagemagick-identify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quinn/imagemagick-identify/downloads","issues_url":"https://api.github.com/repos/quinn/imagemagick-identify/issues{/number}","pulls_url":"https://api.github.com/repos/quinn/imagemagick-identify/pulls{/number}","milestones_url":"https://api.github.com/repos/quinn/imagemagick-identify/milestones{/number}","notifications_url":"https://api.github.com/repos/quinn/imagemagick-identify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quinn/imagemagick-identify/labels{/name}","releases_url":"https://api.github.com/repos/quinn/imagemagick-identify/releases{/id}","created_at":"2014-12-27T14:55:14Z","updated_at":"2014-12-27T14:55:15Z","pushed_at":"2014-12-27T14:56:31Z","git_url":"git://github.com/quinn/imagemagick-identify.git","ssh_url":"git@github.com:quinn/imagemagick-identify.git","clone_url":"https://github.com/quinn/imagemagick-identify.git","svn_url":"https://github.com/quinn/imagemagick-identify","homepage":null,"size":147,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"link664:master","ref":"master","sha":"f632845f7c216c6b0fb0c0a6788f694d9c6822b0","user":{"login":"link664","id":1317782,"avatar_url":"https://avatars.githubusercontent.com/u/1317782?v=3","gravatar_id":"","url":"https://api.github.com/users/link664","html_url":"https://github.com/link664","followers_url":"https://api.github.com/users/link664/followers","following_url":"https://api.github.com/users/link664/following{/other_user}","gists_url":"https://api.github.com/users/link664/gists{/gist_id}","starred_url":"https://api.github.com/users/link664/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/link664/subscriptions","organizations_url":"https://api.github.com/users/link664/orgs","repos_url":"https://api.github.com/users/link664/repos","events_url":"https://api.github.com/users/link664/events{/privacy}","received_events_url":"https://api.github.com/users/link664/received_events","type":"User","site_admin":false},"repo":{"id":12282051,"name":"imagemagick-identify","full_name":"link664/imagemagick-identify","owner":{"login":"link664","id":1317782,"avatar_url":"https://avatars.githubusercontent.com/u/1317782?v=3","gravatar_id":"","url":"https://api.github.com/users/link664","html_url":"https://github.com/link664","followers_url":"https://api.github.com/users/link664/followers","following_url":"https://api.github.com/users/link664/following{/other_user}","gists_url":"https://api.github.com/users/link664/gists{/gist_id}","starred_url":"https://api.github.com/users/link664/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/link664/subscriptions","organizations_url":"https://api.github.com/users/link664/orgs","repos_url":"https://api.github.com/users/link664/repos","events_url":"https://api.github.com/users/link664/events{/privacy}","received_events_url":"https://api.github.com/users/link664/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/link664/imagemagick-identify","description":"A wrapper around ImageMagick's identify command","fork":false,"url":"https://api.github.com/repos/link664/imagemagick-identify","forks_url":"https://api.github.com/repos/link664/imagemagick-identify/forks","keys_url":"https://api.github.com/repos/link664/imagemagick-identify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/link664/imagemagick-identify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/link664/imagemagick-identify/teams","hooks_url":"https://api.github.com/repos/link664/imagemagick-identify/hooks","issue_events_url":"https://api.github.com/repos/link664/imagemagick-identify/issues/events{/number}","events_url":"https://api.github.com/repos/link664/imagemagick-identify/events","assignees_url":"https://api.github.com/repos/link664/imagemagick-identify/assignees{/user}","branches_url":"https://api.github.com/repos/link664/imagemagick-identify/branches{/branch}","tags_url":"https://api.github.com/repos/link664/imagemagick-identify/tags","blobs_url":"https://api.github.com/repos/link664/imagemagick-identify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/link664/imagemagick-identify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/link664/imagemagick-identify/git/refs{/sha}","trees_url":"https://api.github.com/repos/link664/imagemagick-identify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/link664/imagemagick-identify/statuses/{sha}","languages_url":"https://api.github.com/repos/link664/imagemagick-identify/languages","stargazers_url":"https://api.github.com/repos/link664/imagemagick-identify/stargazers","contributors_url":"https://api.github.com/repos/link664/imagemagick-identify/contributors","subscribers_url":"https://api.github.com/repos/link664/imagemagick-identify/subscribers","subscription_url":"https://api.github.com/repos/link664/imagemagick-identify/subscription","commits_url":"https://api.github.com/repos/link664/imagemagick-identify/commits{/sha}","git_commits_url":"https://api.github.com/repos/link664/imagemagick-identify/git/commits{/sha}","comments_url":"https://api.github.com/repos/link664/imagemagick-identify/comments{/number}","issue_comment_url":"https://api.github.com/repos/link664/imagemagick-identify/issues/comments/{number}","contents_url":"https://api.github.com/repos/link664/imagemagick-identify/contents/{+path}","compare_url":"https://api.github.com/repos/link664/imagemagick-identify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/link664/imagemagick-identify/merges","archive_url":"https://api.github.com/repos/link664/imagemagick-identify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/link664/imagemagick-identify/downloads","issues_url":"https://api.github.com/repos/link664/imagemagick-identify/issues{/number}","pulls_url":"https://api.github.com/repos/link664/imagemagick-identify/pulls{/number}","milestones_url":"https://api.github.com/repos/link664/imagemagick-identify/milestones{/number}","notifications_url":"https://api.github.com/repos/link664/imagemagick-identify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/link664/imagemagick-identify/labels{/name}","releases_url":"https://api.github.com/repos/link664/imagemagick-identify/releases{/id}","created_at":"2013-08-21T21:30:15Z","updated_at":"2013-08-21T21:57:05Z","pushed_at":"2013-08-21T21:57:05Z","git_url":"git://github.com/link664/imagemagick-identify.git","ssh_url":"git@github.com:link664/imagemagick-identify.git","clone_url":"https://github.com/link664/imagemagick-identify.git","svn_url":"https://github.com/link664/imagemagick-identify","homepage":null,"size":156,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/link664/imagemagick-identify/pulls/1"},"html":{"href":"https://github.com/link664/imagemagick-identify/pull/1"},"issue":{"href":"https://api.github.com/repos/link664/imagemagick-identify/issues/1"},"comments":{"href":"https://api.github.com/repos/link664/imagemagick-identify/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/link664/imagemagick-identify/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/link664/imagemagick-identify/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/link664/imagemagick-identify/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/link664/imagemagick-identify/statuses/24a4c50d125539d5dac24dbd68af356292164d85"}}}}