{"action":"created","comment":{"url":"https://api.github.com/repos/xudongcamsys/homefoodie/pulls/comments/31412437","id":31412437,"diff_hunk":"@@ -0,0 +1,86 @@\n+class DishSearchService","path":"app/services/dish_search_service.rb","position":1,"original_position":1,"commit_id":"cd022301af3915ee42913d7d7219f4f94436838f","original_commit_id":"cd022301af3915ee42913d7d7219f4f94436838f","user":{"login":"eliotsykes","id":31698,"avatar_url":"https://avatars.githubusercontent.com/u/31698?v=3","gravatar_id":"","url":"https://api.github.com/users/eliotsykes","html_url":"https://github.com/eliotsykes","followers_url":"https://api.github.com/users/eliotsykes/followers","following_url":"https://api.github.com/users/eliotsykes/following{/other_user}","gists_url":"https://api.github.com/users/eliotsykes/gists{/gist_id}","starred_url":"https://api.github.com/users/eliotsykes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliotsykes/subscriptions","organizations_url":"https://api.github.com/users/eliotsykes/orgs","repos_url":"https://api.github.com/users/eliotsykes/repos","events_url":"https://api.github.com/users/eliotsykes/events{/privacy}","received_events_url":"https://api.github.com/users/eliotsykes/received_events","type":"User","site_admin":false},"body":"Consider dropping the `Service` suffix from the name if you can come up with a name that describes the class's responsibility more succinctly and accurately without it. This can help avoid an app having an eventual excess of classes with a name ending `Service`.\r\n\r\nHere `DishSearcher` or `DishSearch` would work.","created_at":"2015-06-01T09:53:49Z","updated_at":"2015-06-01T09:53:49Z","html_url":"https://github.com/xudongcamsys/homefoodie/pull/4#discussion_r31412437","pull_request_url":"https://api.github.com/repos/xudongcamsys/homefoodie/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/xudongcamsys/homefoodie/pulls/comments/31412437"},"html":{"href":"https://github.com/xudongcamsys/homefoodie/pull/4#discussion_r31412437"},"pull_request":{"href":"https://api.github.com/repos/xudongcamsys/homefoodie/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/xudongcamsys/homefoodie/pulls/4","id":36592193,"html_url":"https://github.com/xudongcamsys/homefoodie/pull/4","diff_url":"https://github.com/xudongcamsys/homefoodie/pull/4.diff","patch_url":"https://github.com/xudongcamsys/homefoodie/pull/4.patch","issue_url":"https://api.github.com/repos/xudongcamsys/homefoodie/issues/4","number":4,"state":"closed","locked":false,"title":"Dish search","user":{"login":"xudongcamsys","id":6162252,"avatar_url":"https://avatars.githubusercontent.com/u/6162252?v=3","gravatar_id":"","url":"https://api.github.com/users/xudongcamsys","html_url":"https://github.com/xudongcamsys","followers_url":"https://api.github.com/users/xudongcamsys/followers","following_url":"https://api.github.com/users/xudongcamsys/following{/other_user}","gists_url":"https://api.github.com/users/xudongcamsys/gists{/gist_id}","starred_url":"https://api.github.com/users/xudongcamsys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xudongcamsys/subscriptions","organizations_url":"https://api.github.com/users/xudongcamsys/orgs","repos_url":"https://api.github.com/users/xudongcamsys/repos","events_url":"https://api.github.com/users/xudongcamsys/events{/privacy}","received_events_url":"https://api.github.com/users/xudongcamsys/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-01T00:04:40Z","updated_at":"2015-06-01T09:53:49Z","closed_at":"2015-06-01T02:12:57Z","merged_at":"2015-06-01T02:12:57Z","merge_commit_sha":"9c99995ef65ab97d3e3dc563f5d7defe6c796265","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/xudongcamsys/homefoodie/pulls/4/commits","review_comments_url":"https://api.github.com/repos/xudongcamsys/homefoodie/pulls/4/comments","review_comment_url":"https://api.github.com/repos/xudongcamsys/homefoodie/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xudongcamsys/homefoodie/issues/4/comments","statuses_url":"https://api.github.com/repos/xudongcamsys/homefoodie/statuses/cd022301af3915ee42913d7d7219f4f94436838f","head":{"label":"xudongcamsys:dish-search","ref":"dish-search","sha":"cd022301af3915ee42913d7d7219f4f94436838f","user":{"login":"xudongcamsys","id":6162252,"avatar_url":"https://avatars.githubusercontent.com/u/6162252?v=3","gravatar_id":"","url":"https://api.github.com/users/xudongcamsys","html_url":"https://github.com/xudongcamsys","followers_url":"https://api.github.com/users/xudongcamsys/followers","following_url":"https://api.github.com/users/xudongcamsys/following{/other_user}","gists_url":"https://api.github.com/users/xudongcamsys/gists{/gist_id}","starred_url":"https://api.github.com/users/xudongcamsys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xudongcamsys/subscriptions","organizations_url":"https://api.github.com/users/xudongcamsys/orgs","repos_url":"https://api.github.com/users/xudongcamsys/repos","events_url":"https://api.github.com/users/xudongcamsys/events{/privacy}","received_events_url":"https://api.github.com/users/xudongcamsys/received_events","type":"User","site_admin":false},"repo":{"id":34533950,"name":"homefoodie","full_name":"xudongcamsys/homefoodie","owner":{"login":"xudongcamsys","id":6162252,"avatar_url":"https://avatars.githubusercontent.com/u/6162252?v=3","gravatar_id":"","url":"https://api.github.com/users/xudongcamsys","html_url":"https://github.com/xudongcamsys","followers_url":"https://api.github.com/users/xudongcamsys/followers","following_url":"https://api.github.com/users/xudongcamsys/following{/other_user}","gists_url":"https://api.github.com/users/xudongcamsys/gists{/gist_id}","starred_url":"https://api.github.com/users/xudongcamsys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xudongcamsys/subscriptions","organizations_url":"https://api.github.com/users/xudongcamsys/orgs","repos_url":"https://api.github.com/users/xudongcamsys/repos","events_url":"https://api.github.com/users/xudongcamsys/events{/privacy}","received_events_url":"https://api.github.com/users/xudongcamsys/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xudongcamsys/homefoodie","description":"A social platform to explore and share home-made delicious food in your neighborhood","fork":false,"url":"https://api.github.com/repos/xudongcamsys/homefoodie","forks_url":"https://api.github.com/repos/xudongcamsys/homefoodie/forks","keys_url":"https://api.github.com/repos/xudongcamsys/homefoodie/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xudongcamsys/homefoodie/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xudongcamsys/homefoodie/teams","hooks_url":"https://api.github.com/repos/xudongcamsys/homefoodie/hooks","issue_events_url":"https://api.github.com/repos/xudongcamsys/homefoodie/issues/events{/number}","events_url":"https://api.github.com/repos/xudongcamsys/homefoodie/events","assignees_url":"https://api.github.com/repos/xudongcamsys/homefoodie/assignees{/user}","branches_url":"https://api.github.com/repos/xudongcamsys/homefoodie/branches{/branch}","tags_url":"https://api.github.com/repos/xudongcamsys/homefoodie/tags","blobs_url":"https://api.github.com/repos/xudongcamsys/homefoodie/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xudongcamsys/homefoodie/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xudongcamsys/homefoodie/git/refs{/sha}","trees_url":"https://api.github.com/repos/xudongcamsys/homefoodie/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xudongcamsys/homefoodie/statuses/{sha}","languages_url":"https://api.github.com/repos/xudongcamsys/homefoodie/languages","stargazers_url":"https://api.github.com/repos/xudongcamsys/homefoodie/stargazers","contributors_url":"https://api.github.com/repos/xudongcamsys/homefoodie/contributors","subscribers_url":"https://api.github.com/repos/xudongcamsys/homefoodie/subscribers","subscription_url":"https://api.github.com/repos/xudongcamsys/homefoodie/subscription","commits_url":"https://api.github.com/repos/xudongcamsys/homefoodie/commits{/sha}","git_commits_url":"https://api.github.com/repos/xudongcamsys/homefoodie/git/commits{/sha}","comments_url":"https://api.github.com/repos/xudongcamsys/homefoodie/comments{/number}","issue_comment_url":"https://api.github.com/repos/xudongcamsys/homefoodie/issues/comments{/number}","contents_url":"https://api.github.com/repos/xudongcamsys/homefoodie/contents/{+path}","compare_url":"https://api.github.com/repos/xudongcamsys/homefoodie/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xudongcamsys/homefoodie/merges","archive_url":"https://api.github.com/repos/xudongcamsys/homefoodie/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xudongcamsys/homefoodie/downloads","issues_url":"https://api.github.com/repos/xudongcamsys/homefoodie/issues{/number}","pulls_url":"https://api.github.com/repos/xudongcamsys/homefoodie/pulls{/number}","milestones_url":"https://api.github.com/repos/xudongcamsys/homefoodie/milestones{/number}","notifications_url":"https://api.github.com/repos/xudongcamsys/homefoodie/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xudongcamsys/homefoodie/labels{/name}","releases_url":"https://api.github.com/repos/xudongcamsys/homefoodie/releases{/id}","created_at":"2015-04-24T18:08:10Z","updated_at":"2015-05-28T19:28:08Z","pushed_at":"2015-06-01T02:51:16Z","git_url":"git://github.com/xudongcamsys/homefoodie.git","ssh_url":"git@github.com:xudongcamsys/homefoodie.git","clone_url":"https://github.com/xudongcamsys/homefoodie.git","svn_url":"https://github.com/xudongcamsys/homefoodie","homepage":"http://www.homefoodie.io","size":456,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"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":1,"default_branch":"master"}},"base":{"label":"xudongcamsys:develop","ref":"develop","sha":"df8e85fae1c6c3e538adf234066094cb566401c7","user":{"login":"xudongcamsys","id":6162252,"avatar_url":"https://avatars.githubusercontent.com/u/6162252?v=3","gravatar_id":"","url":"https://api.github.com/users/xudongcamsys","html_url":"https://github.com/xudongcamsys","followers_url":"https://api.github.com/users/xudongcamsys/followers","following_url":"https://api.github.com/users/xudongcamsys/following{/other_user}","gists_url":"https://api.github.com/users/xudongcamsys/gists{/gist_id}","starred_url":"https://api.github.com/users/xudongcamsys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xudongcamsys/subscriptions","organizations_url":"https://api.github.com/users/xudongcamsys/orgs","repos_url":"https://api.github.com/users/xudongcamsys/repos","events_url":"https://api.github.com/users/xudongcamsys/events{/privacy}","received_events_url":"https://api.github.com/users/xudongcamsys/received_events","type":"User","site_admin":false},"repo":{"id":34533950,"name":"homefoodie","full_name":"xudongcamsys/homefoodie","owner":{"login":"xudongcamsys","id":6162252,"avatar_url":"https://avatars.githubusercontent.com/u/6162252?v=3","gravatar_id":"","url":"https://api.github.com/users/xudongcamsys","html_url":"https://github.com/xudongcamsys","followers_url":"https://api.github.com/users/xudongcamsys/followers","following_url":"https://api.github.com/users/xudongcamsys/following{/other_user}","gists_url":"https://api.github.com/users/xudongcamsys/gists{/gist_id}","starred_url":"https://api.github.com/users/xudongcamsys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xudongcamsys/subscriptions","organizations_url":"https://api.github.com/users/xudongcamsys/orgs","repos_url":"https://api.github.com/users/xudongcamsys/repos","events_url":"https://api.github.com/users/xudongcamsys/events{/privacy}","received_events_url":"https://api.github.com/users/xudongcamsys/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xudongcamsys/homefoodie","description":"A social platform to explore and share home-made delicious food in your neighborhood","fork":false,"url":"https://api.github.com/repos/xudongcamsys/homefoodie","forks_url":"https://api.github.com/repos/xudongcamsys/homefoodie/forks","keys_url":"https://api.github.com/repos/xudongcamsys/homefoodie/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xudongcamsys/homefoodie/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xudongcamsys/homefoodie/teams","hooks_url":"https://api.github.com/repos/xudongcamsys/homefoodie/hooks","issue_events_url":"https://api.github.com/repos/xudongcamsys/homefoodie/issues/events{/number}","events_url":"https://api.github.com/repos/xudongcamsys/homefoodie/events","assignees_url":"https://api.github.com/repos/xudongcamsys/homefoodie/assignees{/user}","branches_url":"https://api.github.com/repos/xudongcamsys/homefoodie/branches{/branch}","tags_url":"https://api.github.com/repos/xudongcamsys/homefoodie/tags","blobs_url":"https://api.github.com/repos/xudongcamsys/homefoodie/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xudongcamsys/homefoodie/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xudongcamsys/homefoodie/git/refs{/sha}","trees_url":"https://api.github.com/repos/xudongcamsys/homefoodie/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xudongcamsys/homefoodie/statuses/{sha}","languages_url":"https://api.github.com/repos/xudongcamsys/homefoodie/languages","stargazers_url":"https://api.github.com/repos/xudongcamsys/homefoodie/stargazers","contributors_url":"https://api.github.com/repos/xudongcamsys/homefoodie/contributors","subscribers_url":"https://api.github.com/repos/xudongcamsys/homefoodie/subscribers","subscription_url":"https://api.github.com/repos/xudongcamsys/homefoodie/subscription","commits_url":"https://api.github.com/repos/xudongcamsys/homefoodie/commits{/sha}","git_commits_url":"https://api.github.com/repos/xudongcamsys/homefoodie/git/commits{/sha}","comments_url":"https://api.github.com/repos/xudongcamsys/homefoodie/comments{/number}","issue_comment_url":"https://api.github.com/repos/xudongcamsys/homefoodie/issues/comments{/number}","contents_url":"https://api.github.com/repos/xudongcamsys/homefoodie/contents/{+path}","compare_url":"https://api.github.com/repos/xudongcamsys/homefoodie/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xudongcamsys/homefoodie/merges","archive_url":"https://api.github.com/repos/xudongcamsys/homefoodie/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xudongcamsys/homefoodie/downloads","issues_url":"https://api.github.com/repos/xudongcamsys/homefoodie/issues{/number}","pulls_url":"https://api.github.com/repos/xudongcamsys/homefoodie/pulls{/number}","milestones_url":"https://api.github.com/repos/xudongcamsys/homefoodie/milestones{/number}","notifications_url":"https://api.github.com/repos/xudongcamsys/homefoodie/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xudongcamsys/homefoodie/labels{/name}","releases_url":"https://api.github.com/repos/xudongcamsys/homefoodie/releases{/id}","created_at":"2015-04-24T18:08:10Z","updated_at":"2015-05-28T19:28:08Z","pushed_at":"2015-06-01T02:51:16Z","git_url":"git://github.com/xudongcamsys/homefoodie.git","ssh_url":"git@github.com:xudongcamsys/homefoodie.git","clone_url":"https://github.com/xudongcamsys/homefoodie.git","svn_url":"https://github.com/xudongcamsys/homefoodie","homepage":"http://www.homefoodie.io","size":456,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xudongcamsys/homefoodie/pulls/4"},"html":{"href":"https://github.com/xudongcamsys/homefoodie/pull/4"},"issue":{"href":"https://api.github.com/repos/xudongcamsys/homefoodie/issues/4"},"comments":{"href":"https://api.github.com/repos/xudongcamsys/homefoodie/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/xudongcamsys/homefoodie/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/xudongcamsys/homefoodie/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xudongcamsys/homefoodie/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/xudongcamsys/homefoodie/statuses/cd022301af3915ee42913d7d7219f4f94436838f"}}}}