GitHub PullRequestReviewCommentEvent at 2014-12-10 16:31:04
Repository: shopify_api
Actor: awd
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/Shopify/shopify_api/pulls/comments/21614981","id":21614981,"diff_hunk":"@@ -3,9 +3,9 @@ module ShopifyAPI\n   # the shop.\n   class Shop < Base\n     def self.current\n-      find(:one, :from => \"/admin/shop.#{format.extension}\")\n+      find(:one, from: \"/admin/shop.#{format.extension}\")","path":"lib/shopify_api/resources/shop.rb","position":5,"original_position":5,"commit_id":"b6afcd9ff1be935c6bcfb1a7ea98e664f45a52b8","original_commit_id":"b6afcd9ff1be935c6bcfb1a7ea98e664f45a52b8","user":{"login":"awd","id":65078,"avatar_url":"https://avatars.githubusercontent.com/u/65078?v=3","gravatar_id":"","url":"https://api.github.com/users/awd","html_url":"https://github.com/awd","followers_url":"https://api.github.com/users/awd/followers","following_url":"https://api.github.com/users/awd/following{/other_user}","gists_url":"https://api.github.com/users/awd/gists{/gist_id}","starred_url":"https://api.github.com/users/awd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awd/subscriptions","organizations_url":"https://api.github.com/users/awd/orgs","repos_url":"https://api.github.com/users/awd/repos","events_url":"https://api.github.com/users/awd/events{/privacy}","received_events_url":"https://api.github.com/users/awd/received_events","type":"User","site_admin":false},"body":"![z90ivt11cn15olifetpl](https://cloud.githubusercontent.com/assets/65078/5379560/05a17a2c-8060-11e4-963f-29f35a5e2826.gif)\r\n","created_at":"2014-12-10T16:31:04Z","updated_at":"2014-12-10T16:31:04Z","html_url":"https://github.com/Shopify/shopify_api/pull/166#discussion_r21614981","pull_request_url":"https://api.github.com/repos/Shopify/shopify_api/pulls/166","_links":{"self":{"href":"https://api.github.com/repos/Shopify/shopify_api/pulls/comments/21614981"},"html":{"href":"https://github.com/Shopify/shopify_api/pull/166#discussion_r21614981"},"pull_request":{"href":"https://api.github.com/repos/Shopify/shopify_api/pulls/166"}}},"pull_request":{"url":"https://api.github.com/repos/Shopify/shopify_api/pulls/166","id":25781877,"html_url":"https://github.com/Shopify/shopify_api/pull/166","diff_url":"https://github.com/Shopify/shopify_api/pull/166.diff","patch_url":"https://github.com/Shopify/shopify_api/pull/166.patch","issue_url":"https://api.github.com/repos/Shopify/shopify_api/issues/166","number":166,"state":"open","locked":false,"title":"Adds policy model","user":{"login":"csaunders","id":82491,"avatar_url":"https://avatars.githubusercontent.com/u/82491?v=3","gravatar_id":"","url":"https://api.github.com/users/csaunders","html_url":"https://github.com/csaunders","followers_url":"https://api.github.com/users/csaunders/followers","following_url":"https://api.github.com/users/csaunders/following{/other_user}","gists_url":"https://api.github.com/users/csaunders/gists{/gist_id}","starred_url":"https://api.github.com/users/csaunders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csaunders/subscriptions","organizations_url":"https://api.github.com/users/csaunders/orgs","repos_url":"https://api.github.com/users/csaunders/repos","events_url":"https://api.github.com/users/csaunders/events{/privacy}","received_events_url":"https://api.github.com/users/csaunders/received_events","type":"User","site_admin":false},"body":"We are going to be exposing the shops various policies (returns, refunds, etc.) through the API.\r\n\r\nPlease review @benjlcox @jamesmacaulay \r\n\r\nSee https://github.com/Shopify/shopify/pull/34708 for more details.","created_at":"2014-12-09T22:16:51Z","updated_at":"2014-12-10T16:31:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b9a20f3f456145f21ad3469fde9c07dc7d0bd54","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Shopify/shopify_api/pulls/166/commits","review_comments_url":"https://api.github.com/repos/Shopify/shopify_api/pulls/166/comments","review_comment_url":"https://api.github.com/repos/Shopify/shopify_api/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Shopify/shopify_api/issues/166/comments","statuses_url":"https://api.github.com/repos/Shopify/shopify_api/statuses/b6afcd9ff1be935c6bcfb1a7ea98e664f45a52b8","head":{"label":"Shopify:api/policies","ref":"api/policies","sha":"b6afcd9ff1be935c6bcfb1a7ea98e664f45a52b8","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"repo":{"id":225463,"name":"shopify_api","full_name":"Shopify/shopify_api","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shopify/shopify_api","description":"ShopifyAPI is a lightweight gem for accessing the Shopify admin REST web services.","fork":false,"url":"https://api.github.com/repos/Shopify/shopify_api","forks_url":"https://api.github.com/repos/Shopify/shopify_api/forks","keys_url":"https://api.github.com/repos/Shopify/shopify_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/shopify_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/shopify_api/teams","hooks_url":"https://api.github.com/repos/Shopify/shopify_api/hooks","issue_events_url":"https://api.github.com/repos/Shopify/shopify_api/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/shopify_api/events","assignees_url":"https://api.github.com/repos/Shopify/shopify_api/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/shopify_api/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/shopify_api/tags","blobs_url":"https://api.github.com/repos/Shopify/shopify_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/shopify_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/shopify_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/shopify_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/shopify_api/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/shopify_api/languages","stargazers_url":"https://api.github.com/repos/Shopify/shopify_api/stargazers","contributors_url":"https://api.github.com/repos/Shopify/shopify_api/contributors","subscribers_url":"https://api.github.com/repos/Shopify/shopify_api/subscribers","subscription_url":"https://api.github.com/repos/Shopify/shopify_api/subscription","commits_url":"https://api.github.com/repos/Shopify/shopify_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/shopify_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/shopify_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/shopify_api/issues/comments/{number}","contents_url":"https://api.github.com/repos/Shopify/shopify_api/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/shopify_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/shopify_api/merges","archive_url":"https://api.github.com/repos/Shopify/shopify_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/shopify_api/downloads","issues_url":"https://api.github.com/repos/Shopify/shopify_api/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/shopify_api/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/shopify_api/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/shopify_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/shopify_api/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/shopify_api/releases{/id}","created_at":"2009-06-12T15:54:26Z","updated_at":"2014-12-09T14:14:29Z","pushed_at":"2014-12-09T22:15:33Z","git_url":"git://github.com/Shopify/shopify_api.git","ssh_url":"git@github.com:Shopify/shopify_api.git","clone_url":"https://github.com/Shopify/shopify_api.git","svn_url":"https://github.com/Shopify/shopify_api","homepage":"http://shopify.github.io/shopify_api","size":1848,"stargazers_count":202,"watchers_count":202,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":76,"mirror_url":null,"open_issues_count":13,"forks":76,"open_issues":13,"watchers":202,"default_branch":"master"}},"base":{"label":"Shopify:master","ref":"master","sha":"99ef4da5e8c9168f8119d0e4fb289317c9909aac","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"repo":{"id":225463,"name":"shopify_api","full_name":"Shopify/shopify_api","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shopify/shopify_api","description":"ShopifyAPI is a lightweight gem for accessing the Shopify admin REST web services.","fork":false,"url":"https://api.github.com/repos/Shopify/shopify_api","forks_url":"https://api.github.com/repos/Shopify/shopify_api/forks","keys_url":"https://api.github.com/repos/Shopify/shopify_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/shopify_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/shopify_api/teams","hooks_url":"https://api.github.com/repos/Shopify/shopify_api/hooks","issue_events_url":"https://api.github.com/repos/Shopify/shopify_api/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/shopify_api/events","assignees_url":"https://api.github.com/repos/Shopify/shopify_api/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/shopify_api/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/shopify_api/tags","blobs_url":"https://api.github.com/repos/Shopify/shopify_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/shopify_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/shopify_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/shopify_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/shopify_api/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/shopify_api/languages","stargazers_url":"https://api.github.com/repos/Shopify/shopify_api/stargazers","contributors_url":"https://api.github.com/repos/Shopify/shopify_api/contributors","subscribers_url":"https://api.github.com/repos/Shopify/shopify_api/subscribers","subscription_url":"https://api.github.com/repos/Shopify/shopify_api/subscription","commits_url":"https://api.github.com/repos/Shopify/shopify_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/shopify_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/shopify_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/shopify_api/issues/comments/{number}","contents_url":"https://api.github.com/repos/Shopify/shopify_api/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/shopify_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/shopify_api/merges","archive_url":"https://api.github.com/repos/Shopify/shopify_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/shopify_api/downloads","issues_url":"https://api.github.com/repos/Shopify/shopify_api/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/shopify_api/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/shopify_api/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/shopify_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/shopify_api/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/shopify_api/releases{/id}","created_at":"2009-06-12T15:54:26Z","updated_at":"2014-12-09T14:14:29Z","pushed_at":"2014-12-09T22:15:33Z","git_url":"git://github.com/Shopify/shopify_api.git","ssh_url":"git@github.com:Shopify/shopify_api.git","clone_url":"https://github.com/Shopify/shopify_api.git","svn_url":"https://github.com/Shopify/shopify_api","homepage":"http://shopify.github.io/shopify_api","size":1848,"stargazers_count":202,"watchers_count":202,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":76,"mirror_url":null,"open_issues_count":13,"forks":76,"open_issues":13,"watchers":202,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Shopify/shopify_api/pulls/166"},"html":{"href":"https://github.com/Shopify/shopify_api/pull/166"},"issue":{"href":"https://api.github.com/repos/Shopify/shopify_api/issues/166"},"comments":{"href":"https://api.github.com/repos/Shopify/shopify_api/issues/166/comments"},"review_comments":{"href":"https://api.github.com/repos/Shopify/shopify_api/pulls/166/comments"},"review_comment":{"href":"https://api.github.com/repos/Shopify/shopify_api/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Shopify/shopify_api/pulls/166/commits"},"statuses":{"href":"https://api.github.com/repos/Shopify/shopify_api/statuses/b6afcd9ff1be935c6bcfb1a7ea98e664f45a52b8"}}}}