{"action":"created","comment":{"url":"https://api.github.com/repos/GovWizely/webservices/pulls/comments/27718944","id":27718944,"diff_hunk":"@@ -16,6 +16,7 @@ def initialize(options = {})\n       @start_date = options[:start_date] if options[:start_date].present?\n       @issue_date = options[:issue_date] if options[:issue_date].present?\n       @expiration_date = options[:expiration_date] if options[:expiration_date].present?\n+      @phonetics = options[:phonetics] if options[:phonetics].present?","path":"app/queries/screening_list/query.rb","position":4,"original_position":4,"commit_id":"ce18021fb0b5869ed0498918424ea3375d16f344","original_commit_id":"ce18021fb0b5869ed0498918424ea3375d16f344","user":{"login":"calumhalcrow","id":277504,"avatar_url":"https://avatars.githubusercontent.com/u/277504?v=3","gravatar_id":"","url":"https://api.github.com/users/calumhalcrow","html_url":"https://github.com/calumhalcrow","followers_url":"https://api.github.com/users/calumhalcrow/followers","following_url":"https://api.github.com/users/calumhalcrow/following{/other_user}","gists_url":"https://api.github.com/users/calumhalcrow/gists{/gist_id}","starred_url":"https://api.github.com/users/calumhalcrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calumhalcrow/subscriptions","organizations_url":"https://api.github.com/users/calumhalcrow/orgs","repos_url":"https://api.github.com/users/calumhalcrow/repos","events_url":"https://api.github.com/users/calumhalcrow/events{/privacy}","received_events_url":"https://api.github.com/users/calumhalcrow/received_events","type":"User","site_admin":false},"body":"I feel you should do `@phonetics = true if options[:phonetics].present?`, so that later you have conditions like:\r\n```\r\nif @phonetics\r\n  # phonetics stuff\r\nend\r\n```\r\nrather than:\r\n```\r\nif @phonetics == '1'\r\n  # phonetics stuff\r\nend\r\n```","created_at":"2015-04-03T07:40:52Z","updated_at":"2015-04-03T07:40:52Z","html_url":"https://github.com/GovWizely/webservices/pull/123#discussion_r27718944","pull_request_url":"https://api.github.com/repos/GovWizely/webservices/pulls/123","_links":{"self":{"href":"https://api.github.com/repos/GovWizely/webservices/pulls/comments/27718944"},"html":{"href":"https://github.com/GovWizely/webservices/pull/123#discussion_r27718944"},"pull_request":{"href":"https://api.github.com/repos/GovWizely/webservices/pulls/123"}}},"pull_request":{"url":"https://api.github.com/repos/GovWizely/webservices/pulls/123","id":32574689,"html_url":"https://github.com/GovWizely/webservices/pull/123","diff_url":"https://github.com/GovWizely/webservices/pull/123.diff","patch_url":"https://github.com/GovWizely/webservices/pull/123.patch","issue_url":"https://api.github.com/repos/GovWizely/webservices/issues/123","number":123,"state":"open","locked":false,"title":"Fuzzy","user":{"login":"calumhalcrow","id":277504,"avatar_url":"https://avatars.githubusercontent.com/u/277504?v=3","gravatar_id":"","url":"https://api.github.com/users/calumhalcrow","html_url":"https://github.com/calumhalcrow","followers_url":"https://api.github.com/users/calumhalcrow/followers","following_url":"https://api.github.com/users/calumhalcrow/following{/other_user}","gists_url":"https://api.github.com/users/calumhalcrow/gists{/gist_id}","starred_url":"https://api.github.com/users/calumhalcrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calumhalcrow/subscriptions","organizations_url":"https://api.github.com/users/calumhalcrow/orgs","repos_url":"https://api.github.com/users/calumhalcrow/repos","events_url":"https://api.github.com/users/calumhalcrow/events{/privacy}","received_events_url":"https://api.github.com/users/calumhalcrow/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-03T07:36:12Z","updated_at":"2015-04-03T07:40:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e60ba5c150461634ab3c6d1b2c5bfc46463a8aee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GovWizely/webservices/pulls/123/commits","review_comments_url":"https://api.github.com/repos/GovWizely/webservices/pulls/123/comments","review_comment_url":"https://api.github.com/repos/GovWizely/webservices/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GovWizely/webservices/issues/123/comments","statuses_url":"https://api.github.com/repos/GovWizely/webservices/statuses/ce18021fb0b5869ed0498918424ea3375d16f344","head":{"label":"GovWizely:james/fuzzy","ref":"james/fuzzy","sha":"ce18021fb0b5869ed0498918424ea3375d16f344","user":{"login":"GovWizely","id":4212180,"avatar_url":"https://avatars.githubusercontent.com/u/4212180?v=3","gravatar_id":"","url":"https://api.github.com/users/GovWizely","html_url":"https://github.com/GovWizely","followers_url":"https://api.github.com/users/GovWizely/followers","following_url":"https://api.github.com/users/GovWizely/following{/other_user}","gists_url":"https://api.github.com/users/GovWizely/gists{/gist_id}","starred_url":"https://api.github.com/users/GovWizely/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GovWizely/subscriptions","organizations_url":"https://api.github.com/users/GovWizely/orgs","repos_url":"https://api.github.com/users/GovWizely/repos","events_url":"https://api.github.com/users/GovWizely/events{/privacy}","received_events_url":"https://api.github.com/users/GovWizely/received_events","type":"Organization","site_admin":false},"repo":{"id":23662959,"name":"webservices","full_name":"GovWizely/webservices","owner":{"login":"GovWizely","id":4212180,"avatar_url":"https://avatars.githubusercontent.com/u/4212180?v=3","gravatar_id":"","url":"https://api.github.com/users/GovWizely","html_url":"https://github.com/GovWizely","followers_url":"https://api.github.com/users/GovWizely/followers","following_url":"https://api.github.com/users/GovWizely/following{/other_user}","gists_url":"https://api.github.com/users/GovWizely/gists{/gist_id}","starred_url":"https://api.github.com/users/GovWizely/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GovWizely/subscriptions","organizations_url":"https://api.github.com/users/GovWizely/orgs","repos_url":"https://api.github.com/users/GovWizely/repos","events_url":"https://api.github.com/users/GovWizely/events{/privacy}","received_events_url":"https://api.github.com/users/GovWizely/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GovWizely/webservices","description":"The project facilitates exposing data sets through APIs","fork":false,"url":"https://api.github.com/repos/GovWizely/webservices","forks_url":"https://api.github.com/repos/GovWizely/webservices/forks","keys_url":"https://api.github.com/repos/GovWizely/webservices/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GovWizely/webservices/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GovWizely/webservices/teams","hooks_url":"https://api.github.com/repos/GovWizely/webservices/hooks","issue_events_url":"https://api.github.com/repos/GovWizely/webservices/issues/events{/number}","events_url":"https://api.github.com/repos/GovWizely/webservices/events","assignees_url":"https://api.github.com/repos/GovWizely/webservices/assignees{/user}","branches_url":"https://api.github.com/repos/GovWizely/webservices/branches{/branch}","tags_url":"https://api.github.com/repos/GovWizely/webservices/tags","blobs_url":"https://api.github.com/repos/GovWizely/webservices/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GovWizely/webservices/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GovWizely/webservices/git/refs{/sha}","trees_url":"https://api.github.com/repos/GovWizely/webservices/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GovWizely/webservices/statuses/{sha}","languages_url":"https://api.github.com/repos/GovWizely/webservices/languages","stargazers_url":"https://api.github.com/repos/GovWizely/webservices/stargazers","contributors_url":"https://api.github.com/repos/GovWizely/webservices/contributors","subscribers_url":"https://api.github.com/repos/GovWizely/webservices/subscribers","subscription_url":"https://api.github.com/repos/GovWizely/webservices/subscription","commits_url":"https://api.github.com/repos/GovWizely/webservices/commits{/sha}","git_commits_url":"https://api.github.com/repos/GovWizely/webservices/git/commits{/sha}","comments_url":"https://api.github.com/repos/GovWizely/webservices/comments{/number}","issue_comment_url":"https://api.github.com/repos/GovWizely/webservices/issues/comments{/number}","contents_url":"https://api.github.com/repos/GovWizely/webservices/contents/{+path}","compare_url":"https://api.github.com/repos/GovWizely/webservices/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GovWizely/webservices/merges","archive_url":"https://api.github.com/repos/GovWizely/webservices/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GovWizely/webservices/downloads","issues_url":"https://api.github.com/repos/GovWizely/webservices/issues{/number}","pulls_url":"https://api.github.com/repos/GovWizely/webservices/pulls{/number}","milestones_url":"https://api.github.com/repos/GovWizely/webservices/milestones{/number}","notifications_url":"https://api.github.com/repos/GovWizely/webservices/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GovWizely/webservices/labels{/name}","releases_url":"https://api.github.com/repos/GovWizely/webservices/releases{/id}","created_at":"2014-09-04T13:16:59Z","updated_at":"2015-04-03T07:05:14Z","pushed_at":"2015-04-03T07:38:27Z","git_url":"git://github.com/GovWizely/webservices.git","ssh_url":"git@github.com:GovWizely/webservices.git","clone_url":"https://github.com/GovWizely/webservices.git","svn_url":"https://github.com/GovWizely/webservices","homepage":null,"size":12285,"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":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"GovWizely:master","ref":"master","sha":"9e41f5f67a792d701602d832e4f0bf7238aaefb5","user":{"login":"GovWizely","id":4212180,"avatar_url":"https://avatars.githubusercontent.com/u/4212180?v=3","gravatar_id":"","url":"https://api.github.com/users/GovWizely","html_url":"https://github.com/GovWizely","followers_url":"https://api.github.com/users/GovWizely/followers","following_url":"https://api.github.com/users/GovWizely/following{/other_user}","gists_url":"https://api.github.com/users/GovWizely/gists{/gist_id}","starred_url":"https://api.github.com/users/GovWizely/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GovWizely/subscriptions","organizations_url":"https://api.github.com/users/GovWizely/orgs","repos_url":"https://api.github.com/users/GovWizely/repos","events_url":"https://api.github.com/users/GovWizely/events{/privacy}","received_events_url":"https://api.github.com/users/GovWizely/received_events","type":"Organization","site_admin":false},"repo":{"id":23662959,"name":"webservices","full_name":"GovWizely/webservices","owner":{"login":"GovWizely","id":4212180,"avatar_url":"https://avatars.githubusercontent.com/u/4212180?v=3","gravatar_id":"","url":"https://api.github.com/users/GovWizely","html_url":"https://github.com/GovWizely","followers_url":"https://api.github.com/users/GovWizely/followers","following_url":"https://api.github.com/users/GovWizely/following{/other_user}","gists_url":"https://api.github.com/users/GovWizely/gists{/gist_id}","starred_url":"https://api.github.com/users/GovWizely/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GovWizely/subscriptions","organizations_url":"https://api.github.com/users/GovWizely/orgs","repos_url":"https://api.github.com/users/GovWizely/repos","events_url":"https://api.github.com/users/GovWizely/events{/privacy}","received_events_url":"https://api.github.com/users/GovWizely/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GovWizely/webservices","description":"The project facilitates exposing data sets through APIs","fork":false,"url":"https://api.github.com/repos/GovWizely/webservices","forks_url":"https://api.github.com/repos/GovWizely/webservices/forks","keys_url":"https://api.github.com/repos/GovWizely/webservices/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GovWizely/webservices/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GovWizely/webservices/teams","hooks_url":"https://api.github.com/repos/GovWizely/webservices/hooks","issue_events_url":"https://api.github.com/repos/GovWizely/webservices/issues/events{/number}","events_url":"https://api.github.com/repos/GovWizely/webservices/events","assignees_url":"https://api.github.com/repos/GovWizely/webservices/assignees{/user}","branches_url":"https://api.github.com/repos/GovWizely/webservices/branches{/branch}","tags_url":"https://api.github.com/repos/GovWizely/webservices/tags","blobs_url":"https://api.github.com/repos/GovWizely/webservices/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GovWizely/webservices/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GovWizely/webservices/git/refs{/sha}","trees_url":"https://api.github.com/repos/GovWizely/webservices/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GovWizely/webservices/statuses/{sha}","languages_url":"https://api.github.com/repos/GovWizely/webservices/languages","stargazers_url":"https://api.github.com/repos/GovWizely/webservices/stargazers","contributors_url":"https://api.github.com/repos/GovWizely/webservices/contributors","subscribers_url":"https://api.github.com/repos/GovWizely/webservices/subscribers","subscription_url":"https://api.github.com/repos/GovWizely/webservices/subscription","commits_url":"https://api.github.com/repos/GovWizely/webservices/commits{/sha}","git_commits_url":"https://api.github.com/repos/GovWizely/webservices/git/commits{/sha}","comments_url":"https://api.github.com/repos/GovWizely/webservices/comments{/number}","issue_comment_url":"https://api.github.com/repos/GovWizely/webservices/issues/comments{/number}","contents_url":"https://api.github.com/repos/GovWizely/webservices/contents/{+path}","compare_url":"https://api.github.com/repos/GovWizely/webservices/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GovWizely/webservices/merges","archive_url":"https://api.github.com/repos/GovWizely/webservices/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GovWizely/webservices/downloads","issues_url":"https://api.github.com/repos/GovWizely/webservices/issues{/number}","pulls_url":"https://api.github.com/repos/GovWizely/webservices/pulls{/number}","milestones_url":"https://api.github.com/repos/GovWizely/webservices/milestones{/number}","notifications_url":"https://api.github.com/repos/GovWizely/webservices/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GovWizely/webservices/labels{/name}","releases_url":"https://api.github.com/repos/GovWizely/webservices/releases{/id}","created_at":"2014-09-04T13:16:59Z","updated_at":"2015-04-03T07:05:14Z","pushed_at":"2015-04-03T07:38:27Z","git_url":"git://github.com/GovWizely/webservices.git","ssh_url":"git@github.com:GovWizely/webservices.git","clone_url":"https://github.com/GovWizely/webservices.git","svn_url":"https://github.com/GovWizely/webservices","homepage":null,"size":12285,"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":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GovWizely/webservices/pulls/123"},"html":{"href":"https://github.com/GovWizely/webservices/pull/123"},"issue":{"href":"https://api.github.com/repos/GovWizely/webservices/issues/123"},"comments":{"href":"https://api.github.com/repos/GovWizely/webservices/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/GovWizely/webservices/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/GovWizely/webservices/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GovWizely/webservices/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/GovWizely/webservices/statuses/ce18021fb0b5869ed0498918424ea3375d16f344"}}}}