{"action":"created","comment":{"url":"https://api.github.com/repos/kosbrother/mongmongwoo/pulls/comments/77565677","id":77565677,"diff_hunk":"@@ -26,4 +28,12 @@ def set_store_if_store_code_changed\n   def find_store\n     Store.with_deleted.find(self.ship_store_id)\n   end\n+\n+  def is_order_store_delivery?\n+    order.is_store_delivery?\n+  end\n+\n+  def is_order_home_delivery?\n+    order.is_home_delivery?\n+  end","path":"app/models/order_info.rb","position":22,"original_position":22,"commit_id":"0315b00e9c45a799b1671f85c2f949303eedad37","original_commit_id":"0315b00e9c45a799b1671f85c2f949303eedad37","user":{"login":"gvszg","id":7985560,"avatar_url":"https://avatars.githubusercontent.com/u/7985560?v=3","gravatar_id":"","url":"https://api.github.com/users/gvszg","html_url":"https://github.com/gvszg","followers_url":"https://api.github.com/users/gvszg/followers","following_url":"https://api.github.com/users/gvszg/following{/other_user}","gists_url":"https://api.github.com/users/gvszg/gists{/gist_id}","starred_url":"https://api.github.com/users/gvszg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvszg/subscriptions","organizations_url":"https://api.github.com/users/gvszg/orgs","repos_url":"https://api.github.com/users/gvszg/repos","events_url":"https://api.github.com/users/gvszg/events{/privacy}","received_events_url":"https://api.github.com/users/gvszg/received_events","type":"User","site_admin":false},"body":"我是覺得 info 應該是知道自己 order 的 ship_type\r\n不確定是否有很明確的需求需要 shippingManager","created_at":"2016-09-06T02:23:01Z","updated_at":"2016-09-06T02:23:01Z","html_url":"https://github.com/kosbrother/mongmongwoo/pull/272#discussion_r77565677","pull_request_url":"https://api.github.com/repos/kosbrother/mongmongwoo/pulls/272","_links":{"self":{"href":"https://api.github.com/repos/kosbrother/mongmongwoo/pulls/comments/77565677"},"html":{"href":"https://github.com/kosbrother/mongmongwoo/pull/272#discussion_r77565677"},"pull_request":{"href":"https://api.github.com/repos/kosbrother/mongmongwoo/pulls/272"}}},"pull_request":{"url":"https://api.github.com/repos/kosbrother/mongmongwoo/pulls/272","id":84010070,"html_url":"https://github.com/kosbrother/mongmongwoo/pull/272","diff_url":"https://github.com/kosbrother/mongmongwoo/pull/272.diff","patch_url":"https://github.com/kosbrother/mongmongwoo/pull/272.patch","issue_url":"https://api.github.com/repos/kosbrother/mongmongwoo/issues/272","number":272,"state":"open","locked":false,"title":"Api order home delivery setting","user":{"login":"gvszg","id":7985560,"avatar_url":"https://avatars.githubusercontent.com/u/7985560?v=3","gravatar_id":"","url":"https://api.github.com/users/gvszg","html_url":"https://github.com/gvszg","followers_url":"https://api.github.com/users/gvszg/followers","following_url":"https://api.github.com/users/gvszg/following{/other_user}","gists_url":"https://api.github.com/users/gvszg/gists{/gist_id}","starred_url":"https://api.github.com/users/gvszg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvszg/subscriptions","organizations_url":"https://api.github.com/users/gvszg/orgs","repos_url":"https://api.github.com/users/gvszg/repos","events_url":"https://api.github.com/users/gvszg/events{/privacy}","received_events_url":"https://api.github.com/users/gvszg/received_events","type":"User","site_admin":false},"body":"![2016-09-05 21 28 00](https://cloud.githubusercontent.com/assets/7985560/18250783/d090d894-73b7-11e6-89fb-96430e3fee43.png)\r\n\r\n![2016-09-05 21 27 35](https://cloud.githubusercontent.com/assets/7985560/18250792/d9bb41e8-73b7-11e6-91ec-4e833eb8149f.png)\r\n","created_at":"2016-09-05T14:27:10Z","updated_at":"2016-09-06T02:23:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"15b8f16bde4c176df15aacc9d0d468dc7f35fbb3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kosbrother/mongmongwoo/pulls/272/commits","review_comments_url":"https://api.github.com/repos/kosbrother/mongmongwoo/pulls/272/comments","review_comment_url":"https://api.github.com/repos/kosbrother/mongmongwoo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kosbrother/mongmongwoo/issues/272/comments","statuses_url":"https://api.github.com/repos/kosbrother/mongmongwoo/statuses/0315b00e9c45a799b1671f85c2f949303eedad37","head":{"label":"kosbrother:api-order-home-delivery-setting","ref":"api-order-home-delivery-setting","sha":"0315b00e9c45a799b1671f85c2f949303eedad37","user":{"login":"kosbrother","id":14856209,"avatar_url":"https://avatars.githubusercontent.com/u/14856209?v=3","gravatar_id":"","url":"https://api.github.com/users/kosbrother","html_url":"https://github.com/kosbrother","followers_url":"https://api.github.com/users/kosbrother/followers","following_url":"https://api.github.com/users/kosbrother/following{/other_user}","gists_url":"https://api.github.com/users/kosbrother/gists{/gist_id}","starred_url":"https://api.github.com/users/kosbrother/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosbrother/subscriptions","organizations_url":"https://api.github.com/users/kosbrother/orgs","repos_url":"https://api.github.com/users/kosbrother/repos","events_url":"https://api.github.com/users/kosbrother/events{/privacy}","received_events_url":"https://api.github.com/users/kosbrother/received_events","type":"Organization","site_admin":false},"repo":{"id":56124462,"name":"mongmongwoo","full_name":"kosbrother/mongmongwoo","owner":{"login":"kosbrother","id":14856209,"avatar_url":"https://avatars.githubusercontent.com/u/14856209?v=3","gravatar_id":"","url":"https://api.github.com/users/kosbrother","html_url":"https://github.com/kosbrother","followers_url":"https://api.github.com/users/kosbrother/followers","following_url":"https://api.github.com/users/kosbrother/following{/other_user}","gists_url":"https://api.github.com/users/kosbrother/gists{/gist_id}","starred_url":"https://api.github.com/users/kosbrother/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosbrother/subscriptions","organizations_url":"https://api.github.com/users/kosbrother/orgs","repos_url":"https://api.github.com/users/kosbrother/repos","events_url":"https://api.github.com/users/kosbrother/events{/privacy}","received_events_url":"https://api.github.com/users/kosbrother/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kosbrother/mongmongwoo","description":"","fork":false,"url":"https://api.github.com/repos/kosbrother/mongmongwoo","forks_url":"https://api.github.com/repos/kosbrother/mongmongwoo/forks","keys_url":"https://api.github.com/repos/kosbrother/mongmongwoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kosbrother/mongmongwoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kosbrother/mongmongwoo/teams","hooks_url":"https://api.github.com/repos/kosbrother/mongmongwoo/hooks","issue_events_url":"https://api.github.com/repos/kosbrother/mongmongwoo/issues/events{/number}","events_url":"https://api.github.com/repos/kosbrother/mongmongwoo/events","assignees_url":"https://api.github.com/repos/kosbrother/mongmongwoo/assignees{/user}","branches_url":"https://api.github.com/repos/kosbrother/mongmongwoo/branches{/branch}","tags_url":"https://api.github.com/repos/kosbrother/mongmongwoo/tags","blobs_url":"https://api.github.com/repos/kosbrother/mongmongwoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kosbrother/mongmongwoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kosbrother/mongmongwoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/kosbrother/mongmongwoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kosbrother/mongmongwoo/statuses/{sha}","languages_url":"https://api.github.com/repos/kosbrother/mongmongwoo/languages","stargazers_url":"https://api.github.com/repos/kosbrother/mongmongwoo/stargazers","contributors_url":"https://api.github.com/repos/kosbrother/mongmongwoo/contributors","subscribers_url":"https://api.github.com/repos/kosbrother/mongmongwoo/subscribers","subscription_url":"https://api.github.com/repos/kosbrother/mongmongwoo/subscription","commits_url":"https://api.github.com/repos/kosbrother/mongmongwoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/kosbrother/mongmongwoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/kosbrother/mongmongwoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/kosbrother/mongmongwoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/kosbrother/mongmongwoo/contents/{+path}","compare_url":"https://api.github.com/repos/kosbrother/mongmongwoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kosbrother/mongmongwoo/merges","archive_url":"https://api.github.com/repos/kosbrother/mongmongwoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kosbrother/mongmongwoo/downloads","issues_url":"https://api.github.com/repos/kosbrother/mongmongwoo/issues{/number}","pulls_url":"https://api.github.com/repos/kosbrother/mongmongwoo/pulls{/number}","milestones_url":"https://api.github.com/repos/kosbrother/mongmongwoo/milestones{/number}","notifications_url":"https://api.github.com/repos/kosbrother/mongmongwoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kosbrother/mongmongwoo/labels{/name}","releases_url":"https://api.github.com/repos/kosbrother/mongmongwoo/releases{/id}","deployments_url":"https://api.github.com/repos/kosbrother/mongmongwoo/deployments","created_at":"2016-04-13T05:46:41Z","updated_at":"2016-04-13T05:47:43Z","pushed_at":"2016-09-06T02:21:30Z","git_url":"git://github.com/kosbrother/mongmongwoo.git","ssh_url":"git@github.com:kosbrother/mongmongwoo.git","clone_url":"https://github.com/kosbrother/mongmongwoo.git","svn_url":"https://github.com/kosbrother/mongmongwoo","homepage":null,"size":9895,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"kosbrother:admin-home-delivery-setting","ref":"admin-home-delivery-setting","sha":"6fde21a390e8ba67df37f2681ef120301aa4a69f","user":{"login":"kosbrother","id":14856209,"avatar_url":"https://avatars.githubusercontent.com/u/14856209?v=3","gravatar_id":"","url":"https://api.github.com/users/kosbrother","html_url":"https://github.com/kosbrother","followers_url":"https://api.github.com/users/kosbrother/followers","following_url":"https://api.github.com/users/kosbrother/following{/other_user}","gists_url":"https://api.github.com/users/kosbrother/gists{/gist_id}","starred_url":"https://api.github.com/users/kosbrother/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosbrother/subscriptions","organizations_url":"https://api.github.com/users/kosbrother/orgs","repos_url":"https://api.github.com/users/kosbrother/repos","events_url":"https://api.github.com/users/kosbrother/events{/privacy}","received_events_url":"https://api.github.com/users/kosbrother/received_events","type":"Organization","site_admin":false},"repo":{"id":56124462,"name":"mongmongwoo","full_name":"kosbrother/mongmongwoo","owner":{"login":"kosbrother","id":14856209,"avatar_url":"https://avatars.githubusercontent.com/u/14856209?v=3","gravatar_id":"","url":"https://api.github.com/users/kosbrother","html_url":"https://github.com/kosbrother","followers_url":"https://api.github.com/users/kosbrother/followers","following_url":"https://api.github.com/users/kosbrother/following{/other_user}","gists_url":"https://api.github.com/users/kosbrother/gists{/gist_id}","starred_url":"https://api.github.com/users/kosbrother/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosbrother/subscriptions","organizations_url":"https://api.github.com/users/kosbrother/orgs","repos_url":"https://api.github.com/users/kosbrother/repos","events_url":"https://api.github.com/users/kosbrother/events{/privacy}","received_events_url":"https://api.github.com/users/kosbrother/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kosbrother/mongmongwoo","description":"","fork":false,"url":"https://api.github.com/repos/kosbrother/mongmongwoo","forks_url":"https://api.github.com/repos/kosbrother/mongmongwoo/forks","keys_url":"https://api.github.com/repos/kosbrother/mongmongwoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kosbrother/mongmongwoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kosbrother/mongmongwoo/teams","hooks_url":"https://api.github.com/repos/kosbrother/mongmongwoo/hooks","issue_events_url":"https://api.github.com/repos/kosbrother/mongmongwoo/issues/events{/number}","events_url":"https://api.github.com/repos/kosbrother/mongmongwoo/events","assignees_url":"https://api.github.com/repos/kosbrother/mongmongwoo/assignees{/user}","branches_url":"https://api.github.com/repos/kosbrother/mongmongwoo/branches{/branch}","tags_url":"https://api.github.com/repos/kosbrother/mongmongwoo/tags","blobs_url":"https://api.github.com/repos/kosbrother/mongmongwoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kosbrother/mongmongwoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kosbrother/mongmongwoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/kosbrother/mongmongwoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kosbrother/mongmongwoo/statuses/{sha}","languages_url":"https://api.github.com/repos/kosbrother/mongmongwoo/languages","stargazers_url":"https://api.github.com/repos/kosbrother/mongmongwoo/stargazers","contributors_url":"https://api.github.com/repos/kosbrother/mongmongwoo/contributors","subscribers_url":"https://api.github.com/repos/kosbrother/mongmongwoo/subscribers","subscription_url":"https://api.github.com/repos/kosbrother/mongmongwoo/subscription","commits_url":"https://api.github.com/repos/kosbrother/mongmongwoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/kosbrother/mongmongwoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/kosbrother/mongmongwoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/kosbrother/mongmongwoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/kosbrother/mongmongwoo/contents/{+path}","compare_url":"https://api.github.com/repos/kosbrother/mongmongwoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kosbrother/mongmongwoo/merges","archive_url":"https://api.github.com/repos/kosbrother/mongmongwoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kosbrother/mongmongwoo/downloads","issues_url":"https://api.github.com/repos/kosbrother/mongmongwoo/issues{/number}","pulls_url":"https://api.github.com/repos/kosbrother/mongmongwoo/pulls{/number}","milestones_url":"https://api.github.com/repos/kosbrother/mongmongwoo/milestones{/number}","notifications_url":"https://api.github.com/repos/kosbrother/mongmongwoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kosbrother/mongmongwoo/labels{/name}","releases_url":"https://api.github.com/repos/kosbrother/mongmongwoo/releases{/id}","deployments_url":"https://api.github.com/repos/kosbrother/mongmongwoo/deployments","created_at":"2016-04-13T05:46:41Z","updated_at":"2016-04-13T05:47:43Z","pushed_at":"2016-09-06T02:21:30Z","git_url":"git://github.com/kosbrother/mongmongwoo.git","ssh_url":"git@github.com:kosbrother/mongmongwoo.git","clone_url":"https://github.com/kosbrother/mongmongwoo.git","svn_url":"https://github.com/kosbrother/mongmongwoo","homepage":null,"size":9895,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kosbrother/mongmongwoo/pulls/272"},"html":{"href":"https://github.com/kosbrother/mongmongwoo/pull/272"},"issue":{"href":"https://api.github.com/repos/kosbrother/mongmongwoo/issues/272"},"comments":{"href":"https://api.github.com/repos/kosbrother/mongmongwoo/issues/272/comments"},"review_comments":{"href":"https://api.github.com/repos/kosbrother/mongmongwoo/pulls/272/comments"},"review_comment":{"href":"https://api.github.com/repos/kosbrother/mongmongwoo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kosbrother/mongmongwoo/pulls/272/commits"},"statuses":{"href":"https://api.github.com/repos/kosbrother/mongmongwoo/statuses/0315b00e9c45a799b1671f85c2f949303eedad37"}}}}
{"actor":{"display_login":"gvszg"}}