{"action":"created","comment":{"url":"https://api.github.com/repos/samlandfried/rails_engine/pulls/comments/114680449","pull_request_review_id":36167575,"id":114680449,"diff_hunk":"@@ -0,0 +1,16 @@\n+class Api::V1::ItemsFindController < ApplicationController\n+  def index\n+    render json: Item.where(item_params)\n+  end\n+\n+  def show\n+    render json: Item.find_by(item_params)\n+  end\n+\n+  private\n+  ","path":"app/controllers/api/v1/items_find_controller.rb","position":11,"original_position":11,"commit_id":"234fa239cadab1b0dcdad411928b8b68e412ff6a","original_commit_id":"234fa239cadab1b0dcdad411928b8b68e412ff6a","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars3.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Trailing whitespace detected.","created_at":"2017-05-04T00:04:34Z","updated_at":"2017-05-04T00:04:34Z","html_url":"https://github.com/samlandfried/rails_engine/pull/10#discussion_r114680449","pull_request_url":"https://api.github.com/repos/samlandfried/rails_engine/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/samlandfried/rails_engine/pulls/comments/114680449"},"html":{"href":"https://github.com/samlandfried/rails_engine/pull/10#discussion_r114680449"},"pull_request":{"href":"https://api.github.com/repos/samlandfried/rails_engine/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/samlandfried/rails_engine/pulls/10","id":118689475,"html_url":"https://github.com/samlandfried/rails_engine/pull/10","diff_url":"https://github.com/samlandfried/rails_engine/pull/10.diff","patch_url":"https://github.com/samlandfried/rails_engine/pull/10.patch","issue_url":"https://api.github.com/repos/samlandfried/rails_engine/issues/10","number":10,"state":"open","locked":false,"title":"[WIP] Test Item record end points","user":{"login":"samlandfried","id":14250133,"avatar_url":"https://avatars2.githubusercontent.com/u/14250133?v=3","gravatar_id":"","url":"https://api.github.com/users/samlandfried","html_url":"https://github.com/samlandfried","followers_url":"https://api.github.com/users/samlandfried/followers","following_url":"https://api.github.com/users/samlandfried/following{/other_user}","gists_url":"https://api.github.com/users/samlandfried/gists{/gist_id}","starred_url":"https://api.github.com/users/samlandfried/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samlandfried/subscriptions","organizations_url":"https://api.github.com/users/samlandfried/orgs","repos_url":"https://api.github.com/users/samlandfried/repos","events_url":"https://api.github.com/users/samlandfried/events{/privacy}","received_events_url":"https://api.github.com/users/samlandfried/received_events","type":"User","site_admin":false},"body":"@slague At your leisure","created_at":"2017-05-03T04:26:29Z","updated_at":"2017-05-04T00:04:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e911b4fe372f4e493f20b0ebd4af2ca278a24fca","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/samlandfried/rails_engine/pulls/10/commits","review_comments_url":"https://api.github.com/repos/samlandfried/rails_engine/pulls/10/comments","review_comment_url":"https://api.github.com/repos/samlandfried/rails_engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/samlandfried/rails_engine/issues/10/comments","statuses_url":"https://api.github.com/repos/samlandfried/rails_engine/statuses/234fa239cadab1b0dcdad411928b8b68e412ff6a","head":{"label":"samlandfried:items","ref":"items","sha":"234fa239cadab1b0dcdad411928b8b68e412ff6a","user":{"login":"samlandfried","id":14250133,"avatar_url":"https://avatars2.githubusercontent.com/u/14250133?v=3","gravatar_id":"","url":"https://api.github.com/users/samlandfried","html_url":"https://github.com/samlandfried","followers_url":"https://api.github.com/users/samlandfried/followers","following_url":"https://api.github.com/users/samlandfried/following{/other_user}","gists_url":"https://api.github.com/users/samlandfried/gists{/gist_id}","starred_url":"https://api.github.com/users/samlandfried/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samlandfried/subscriptions","organizations_url":"https://api.github.com/users/samlandfried/orgs","repos_url":"https://api.github.com/users/samlandfried/repos","events_url":"https://api.github.com/users/samlandfried/events{/privacy}","received_events_url":"https://api.github.com/users/samlandfried/received_events","type":"User","site_admin":false},"repo":{"id":89957818,"name":"rails_engine","full_name":"samlandfried/rails_engine","owner":{"login":"samlandfried","id":14250133,"avatar_url":"https://avatars2.githubusercontent.com/u/14250133?v=3","gravatar_id":"","url":"https://api.github.com/users/samlandfried","html_url":"https://github.com/samlandfried","followers_url":"https://api.github.com/users/samlandfried/followers","following_url":"https://api.github.com/users/samlandfried/following{/other_user}","gists_url":"https://api.github.com/users/samlandfried/gists{/gist_id}","starred_url":"https://api.github.com/users/samlandfried/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samlandfried/subscriptions","organizations_url":"https://api.github.com/users/samlandfried/orgs","repos_url":"https://api.github.com/users/samlandfried/repos","events_url":"https://api.github.com/users/samlandfried/events{/privacy}","received_events_url":"https://api.github.com/users/samlandfried/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samlandfried/rails_engine","description":"Turing School Mod 3 Backend Project","fork":false,"url":"https://api.github.com/repos/samlandfried/rails_engine","forks_url":"https://api.github.com/repos/samlandfried/rails_engine/forks","keys_url":"https://api.github.com/repos/samlandfried/rails_engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samlandfried/rails_engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samlandfried/rails_engine/teams","hooks_url":"https://api.github.com/repos/samlandfried/rails_engine/hooks","issue_events_url":"https://api.github.com/repos/samlandfried/rails_engine/issues/events{/number}","events_url":"https://api.github.com/repos/samlandfried/rails_engine/events","assignees_url":"https://api.github.com/repos/samlandfried/rails_engine/assignees{/user}","branches_url":"https://api.github.com/repos/samlandfried/rails_engine/branches{/branch}","tags_url":"https://api.github.com/repos/samlandfried/rails_engine/tags","blobs_url":"https://api.github.com/repos/samlandfried/rails_engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samlandfried/rails_engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samlandfried/rails_engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/samlandfried/rails_engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samlandfried/rails_engine/statuses/{sha}","languages_url":"https://api.github.com/repos/samlandfried/rails_engine/languages","stargazers_url":"https://api.github.com/repos/samlandfried/rails_engine/stargazers","contributors_url":"https://api.github.com/repos/samlandfried/rails_engine/contributors","subscribers_url":"https://api.github.com/repos/samlandfried/rails_engine/subscribers","subscription_url":"https://api.github.com/repos/samlandfried/rails_engine/subscription","commits_url":"https://api.github.com/repos/samlandfried/rails_engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/samlandfried/rails_engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/samlandfried/rails_engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/samlandfried/rails_engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/samlandfried/rails_engine/contents/{+path}","compare_url":"https://api.github.com/repos/samlandfried/rails_engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samlandfried/rails_engine/merges","archive_url":"https://api.github.com/repos/samlandfried/rails_engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samlandfried/rails_engine/downloads","issues_url":"https://api.github.com/repos/samlandfried/rails_engine/issues{/number}","pulls_url":"https://api.github.com/repos/samlandfried/rails_engine/pulls{/number}","milestones_url":"https://api.github.com/repos/samlandfried/rails_engine/milestones{/number}","notifications_url":"https://api.github.com/repos/samlandfried/rails_engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samlandfried/rails_engine/labels{/name}","releases_url":"https://api.github.com/repos/samlandfried/rails_engine/releases{/id}","deployments_url":"https://api.github.com/repos/samlandfried/rails_engine/deployments","created_at":"2017-05-01T19:57:22Z","updated_at":"2017-05-02T01:38:34Z","pushed_at":"2017-05-04T00:04:20Z","git_url":"git://github.com/samlandfried/rails_engine.git","ssh_url":"git@github.com:samlandfried/rails_engine.git","clone_url":"https://github.com/samlandfried/rails_engine.git","svn_url":"https://github.com/samlandfried/rails_engine","homepage":null,"size":776,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"samlandfried:master","ref":"master","sha":"a91aecdd587673989def8872ac181969b079c1b1","user":{"login":"samlandfried","id":14250133,"avatar_url":"https://avatars2.githubusercontent.com/u/14250133?v=3","gravatar_id":"","url":"https://api.github.com/users/samlandfried","html_url":"https://github.com/samlandfried","followers_url":"https://api.github.com/users/samlandfried/followers","following_url":"https://api.github.com/users/samlandfried/following{/other_user}","gists_url":"https://api.github.com/users/samlandfried/gists{/gist_id}","starred_url":"https://api.github.com/users/samlandfried/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samlandfried/subscriptions","organizations_url":"https://api.github.com/users/samlandfried/orgs","repos_url":"https://api.github.com/users/samlandfried/repos","events_url":"https://api.github.com/users/samlandfried/events{/privacy}","received_events_url":"https://api.github.com/users/samlandfried/received_events","type":"User","site_admin":false},"repo":{"id":89957818,"name":"rails_engine","full_name":"samlandfried/rails_engine","owner":{"login":"samlandfried","id":14250133,"avatar_url":"https://avatars2.githubusercontent.com/u/14250133?v=3","gravatar_id":"","url":"https://api.github.com/users/samlandfried","html_url":"https://github.com/samlandfried","followers_url":"https://api.github.com/users/samlandfried/followers","following_url":"https://api.github.com/users/samlandfried/following{/other_user}","gists_url":"https://api.github.com/users/samlandfried/gists{/gist_id}","starred_url":"https://api.github.com/users/samlandfried/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samlandfried/subscriptions","organizations_url":"https://api.github.com/users/samlandfried/orgs","repos_url":"https://api.github.com/users/samlandfried/repos","events_url":"https://api.github.com/users/samlandfried/events{/privacy}","received_events_url":"https://api.github.com/users/samlandfried/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samlandfried/rails_engine","description":"Turing School Mod 3 Backend Project","fork":false,"url":"https://api.github.com/repos/samlandfried/rails_engine","forks_url":"https://api.github.com/repos/samlandfried/rails_engine/forks","keys_url":"https://api.github.com/repos/samlandfried/rails_engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samlandfried/rails_engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samlandfried/rails_engine/teams","hooks_url":"https://api.github.com/repos/samlandfried/rails_engine/hooks","issue_events_url":"https://api.github.com/repos/samlandfried/rails_engine/issues/events{/number}","events_url":"https://api.github.com/repos/samlandfried/rails_engine/events","assignees_url":"https://api.github.com/repos/samlandfried/rails_engine/assignees{/user}","branches_url":"https://api.github.com/repos/samlandfried/rails_engine/branches{/branch}","tags_url":"https://api.github.com/repos/samlandfried/rails_engine/tags","blobs_url":"https://api.github.com/repos/samlandfried/rails_engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samlandfried/rails_engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samlandfried/rails_engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/samlandfried/rails_engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samlandfried/rails_engine/statuses/{sha}","languages_url":"https://api.github.com/repos/samlandfried/rails_engine/languages","stargazers_url":"https://api.github.com/repos/samlandfried/rails_engine/stargazers","contributors_url":"https://api.github.com/repos/samlandfried/rails_engine/contributors","subscribers_url":"https://api.github.com/repos/samlandfried/rails_engine/subscribers","subscription_url":"https://api.github.com/repos/samlandfried/rails_engine/subscription","commits_url":"https://api.github.com/repos/samlandfried/rails_engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/samlandfried/rails_engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/samlandfried/rails_engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/samlandfried/rails_engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/samlandfried/rails_engine/contents/{+path}","compare_url":"https://api.github.com/repos/samlandfried/rails_engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samlandfried/rails_engine/merges","archive_url":"https://api.github.com/repos/samlandfried/rails_engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samlandfried/rails_engine/downloads","issues_url":"https://api.github.com/repos/samlandfried/rails_engine/issues{/number}","pulls_url":"https://api.github.com/repos/samlandfried/rails_engine/pulls{/number}","milestones_url":"https://api.github.com/repos/samlandfried/rails_engine/milestones{/number}","notifications_url":"https://api.github.com/repos/samlandfried/rails_engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samlandfried/rails_engine/labels{/name}","releases_url":"https://api.github.com/repos/samlandfried/rails_engine/releases{/id}","deployments_url":"https://api.github.com/repos/samlandfried/rails_engine/deployments","created_at":"2017-05-01T19:57:22Z","updated_at":"2017-05-02T01:38:34Z","pushed_at":"2017-05-04T00:04:20Z","git_url":"git://github.com/samlandfried/rails_engine.git","ssh_url":"git@github.com:samlandfried/rails_engine.git","clone_url":"https://github.com/samlandfried/rails_engine.git","svn_url":"https://github.com/samlandfried/rails_engine","homepage":null,"size":776,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/samlandfried/rails_engine/pulls/10"},"html":{"href":"https://github.com/samlandfried/rails_engine/pull/10"},"issue":{"href":"https://api.github.com/repos/samlandfried/rails_engine/issues/10"},"comments":{"href":"https://api.github.com/repos/samlandfried/rails_engine/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/samlandfried/rails_engine/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/samlandfried/rails_engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/samlandfried/rails_engine/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/samlandfried/rails_engine/statuses/234fa239cadab1b0dcdad411928b8b68e412ff6a"}}}}
{"actor":{"display_login":"houndci-bot"}}