{"action":"created","comment":{"url":"https://api.github.com/repos/ndlib/annex-ims/pulls/comments/59773732","id":59773732,"diff_hunk":"@@ -228,4 +192,37 @@ def withdraw\n   def missing\n     @tray = Tray.find(params[:id])\n   end\n+\n+  def invalid\n+    @tray = Tray.find(params[:id])\n+    @thickness = params[:thickness]\n+    @barcode = params[:barcode]\n+    @set_aside_flag = true\n+  end\n+\n+  def create_item(tray = Tray.find(params[:id]), barcode = params[:barcode], thickness = params[:thickness])\n+    result, item = CreateItem.call(tray, barcode, current_user.id, thickness, params[:flag])","path":"app/controllers/trays_controller.rb","position":94,"original_position":94,"commit_id":"609ba9fca03d091112d9334676bb88e92db79406","original_commit_id":"609ba9fca03d091112d9334676bb88e92db79406","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.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":"Useless assignment to variable - `item`. Use `_` or `_item` as a variable name to indicate that it won't be used.","created_at":"2016-04-14T19:08:14Z","updated_at":"2016-04-14T19:08:14Z","html_url":"https://github.com/ndlib/annex-ims/pull/147#discussion_r59773732","pull_request_url":"https://api.github.com/repos/ndlib/annex-ims/pulls/147","_links":{"self":{"href":"https://api.github.com/repos/ndlib/annex-ims/pulls/comments/59773732"},"html":{"href":"https://github.com/ndlib/annex-ims/pull/147#discussion_r59773732"},"pull_request":{"href":"https://api.github.com/repos/ndlib/annex-ims/pulls/147"}}},"pull_request":{"url":"https://api.github.com/repos/ndlib/annex-ims/pulls/147","id":65337874,"html_url":"https://github.com/ndlib/annex-ims/pull/147","diff_url":"https://github.com/ndlib/annex-ims/pull/147.diff","patch_url":"https://github.com/ndlib/annex-ims/pull/147.patch","issue_url":"https://api.github.com/repos/ndlib/annex-ims/issues/147","number":147,"state":"open","locked":false,"title":"Aims 345 item validation parameters","user":{"login":"BiigY","id":16779935,"avatar_url":"https://avatars.githubusercontent.com/u/16779935?v=3","gravatar_id":"","url":"https://api.github.com/users/BiigY","html_url":"https://github.com/BiigY","followers_url":"https://api.github.com/users/BiigY/followers","following_url":"https://api.github.com/users/BiigY/following{/other_user}","gists_url":"https://api.github.com/users/BiigY/gists{/gist_id}","starred_url":"https://api.github.com/users/BiigY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BiigY/subscriptions","organizations_url":"https://api.github.com/users/BiigY/orgs","repos_url":"https://api.github.com/users/BiigY/repos","events_url":"https://api.github.com/users/BiigY/events{/privacy}","received_events_url":"https://api.github.com/users/BiigY/received_events","type":"User","site_admin":false},"body":"Completed all ticket requirements with test specs.","created_at":"2016-04-05T16:50:55Z","updated_at":"2016-04-14T19:08:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35f1f2ce42f27b041397db25bbfb5da27f28e914","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ndlib/annex-ims/pulls/147/commits","review_comments_url":"https://api.github.com/repos/ndlib/annex-ims/pulls/147/comments","review_comment_url":"https://api.github.com/repos/ndlib/annex-ims/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ndlib/annex-ims/issues/147/comments","statuses_url":"https://api.github.com/repos/ndlib/annex-ims/statuses/609ba9fca03d091112d9334676bb88e92db79406","head":{"label":"ndlib:AIMS-345-item-validation-parameters","ref":"AIMS-345-item-validation-parameters","sha":"609ba9fca03d091112d9334676bb88e92db79406","user":{"login":"ndlib","id":160943,"avatar_url":"https://avatars.githubusercontent.com/u/160943?v=3","gravatar_id":"","url":"https://api.github.com/users/ndlib","html_url":"https://github.com/ndlib","followers_url":"https://api.github.com/users/ndlib/followers","following_url":"https://api.github.com/users/ndlib/following{/other_user}","gists_url":"https://api.github.com/users/ndlib/gists{/gist_id}","starred_url":"https://api.github.com/users/ndlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndlib/subscriptions","organizations_url":"https://api.github.com/users/ndlib/orgs","repos_url":"https://api.github.com/users/ndlib/repos","events_url":"https://api.github.com/users/ndlib/events{/privacy}","received_events_url":"https://api.github.com/users/ndlib/received_events","type":"Organization","site_admin":false},"repo":{"id":27182637,"name":"annex-ims","full_name":"ndlib/annex-ims","owner":{"login":"ndlib","id":160943,"avatar_url":"https://avatars.githubusercontent.com/u/160943?v=3","gravatar_id":"","url":"https://api.github.com/users/ndlib","html_url":"https://github.com/ndlib","followers_url":"https://api.github.com/users/ndlib/followers","following_url":"https://api.github.com/users/ndlib/following{/other_user}","gists_url":"https://api.github.com/users/ndlib/gists{/gist_id}","starred_url":"https://api.github.com/users/ndlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndlib/subscriptions","organizations_url":"https://api.github.com/users/ndlib/orgs","repos_url":"https://api.github.com/users/ndlib/repos","events_url":"https://api.github.com/users/ndlib/events{/privacy}","received_events_url":"https://api.github.com/users/ndlib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ndlib/annex-ims","description":"IRIS: Integrated Retrieval and Inventory System","fork":false,"url":"https://api.github.com/repos/ndlib/annex-ims","forks_url":"https://api.github.com/repos/ndlib/annex-ims/forks","keys_url":"https://api.github.com/repos/ndlib/annex-ims/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ndlib/annex-ims/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ndlib/annex-ims/teams","hooks_url":"https://api.github.com/repos/ndlib/annex-ims/hooks","issue_events_url":"https://api.github.com/repos/ndlib/annex-ims/issues/events{/number}","events_url":"https://api.github.com/repos/ndlib/annex-ims/events","assignees_url":"https://api.github.com/repos/ndlib/annex-ims/assignees{/user}","branches_url":"https://api.github.com/repos/ndlib/annex-ims/branches{/branch}","tags_url":"https://api.github.com/repos/ndlib/annex-ims/tags","blobs_url":"https://api.github.com/repos/ndlib/annex-ims/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ndlib/annex-ims/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ndlib/annex-ims/git/refs{/sha}","trees_url":"https://api.github.com/repos/ndlib/annex-ims/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ndlib/annex-ims/statuses/{sha}","languages_url":"https://api.github.com/repos/ndlib/annex-ims/languages","stargazers_url":"https://api.github.com/repos/ndlib/annex-ims/stargazers","contributors_url":"https://api.github.com/repos/ndlib/annex-ims/contributors","subscribers_url":"https://api.github.com/repos/ndlib/annex-ims/subscribers","subscription_url":"https://api.github.com/repos/ndlib/annex-ims/subscription","commits_url":"https://api.github.com/repos/ndlib/annex-ims/commits{/sha}","git_commits_url":"https://api.github.com/repos/ndlib/annex-ims/git/commits{/sha}","comments_url":"https://api.github.com/repos/ndlib/annex-ims/comments{/number}","issue_comment_url":"https://api.github.com/repos/ndlib/annex-ims/issues/comments{/number}","contents_url":"https://api.github.com/repos/ndlib/annex-ims/contents/{+path}","compare_url":"https://api.github.com/repos/ndlib/annex-ims/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ndlib/annex-ims/merges","archive_url":"https://api.github.com/repos/ndlib/annex-ims/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ndlib/annex-ims/downloads","issues_url":"https://api.github.com/repos/ndlib/annex-ims/issues{/number}","pulls_url":"https://api.github.com/repos/ndlib/annex-ims/pulls{/number}","milestones_url":"https://api.github.com/repos/ndlib/annex-ims/milestones{/number}","notifications_url":"https://api.github.com/repos/ndlib/annex-ims/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ndlib/annex-ims/labels{/name}","releases_url":"https://api.github.com/repos/ndlib/annex-ims/releases{/id}","deployments_url":"https://api.github.com/repos/ndlib/annex-ims/deployments","created_at":"2014-11-26T15:16:57Z","updated_at":"2016-01-13T13:03:51Z","pushed_at":"2016-04-14T19:08:07Z","git_url":"git://github.com/ndlib/annex-ims.git","ssh_url":"git@github.com:ndlib/annex-ims.git","clone_url":"https://github.com/ndlib/annex-ims.git","svn_url":"https://github.com/ndlib/annex-ims","homepage":"","size":1055,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"ndlib:master","ref":"master","sha":"ad5b8e6226fa26c590213f135c681b30f2a4d831","user":{"login":"ndlib","id":160943,"avatar_url":"https://avatars.githubusercontent.com/u/160943?v=3","gravatar_id":"","url":"https://api.github.com/users/ndlib","html_url":"https://github.com/ndlib","followers_url":"https://api.github.com/users/ndlib/followers","following_url":"https://api.github.com/users/ndlib/following{/other_user}","gists_url":"https://api.github.com/users/ndlib/gists{/gist_id}","starred_url":"https://api.github.com/users/ndlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndlib/subscriptions","organizations_url":"https://api.github.com/users/ndlib/orgs","repos_url":"https://api.github.com/users/ndlib/repos","events_url":"https://api.github.com/users/ndlib/events{/privacy}","received_events_url":"https://api.github.com/users/ndlib/received_events","type":"Organization","site_admin":false},"repo":{"id":27182637,"name":"annex-ims","full_name":"ndlib/annex-ims","owner":{"login":"ndlib","id":160943,"avatar_url":"https://avatars.githubusercontent.com/u/160943?v=3","gravatar_id":"","url":"https://api.github.com/users/ndlib","html_url":"https://github.com/ndlib","followers_url":"https://api.github.com/users/ndlib/followers","following_url":"https://api.github.com/users/ndlib/following{/other_user}","gists_url":"https://api.github.com/users/ndlib/gists{/gist_id}","starred_url":"https://api.github.com/users/ndlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndlib/subscriptions","organizations_url":"https://api.github.com/users/ndlib/orgs","repos_url":"https://api.github.com/users/ndlib/repos","events_url":"https://api.github.com/users/ndlib/events{/privacy}","received_events_url":"https://api.github.com/users/ndlib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ndlib/annex-ims","description":"IRIS: Integrated Retrieval and Inventory System","fork":false,"url":"https://api.github.com/repos/ndlib/annex-ims","forks_url":"https://api.github.com/repos/ndlib/annex-ims/forks","keys_url":"https://api.github.com/repos/ndlib/annex-ims/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ndlib/annex-ims/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ndlib/annex-ims/teams","hooks_url":"https://api.github.com/repos/ndlib/annex-ims/hooks","issue_events_url":"https://api.github.com/repos/ndlib/annex-ims/issues/events{/number}","events_url":"https://api.github.com/repos/ndlib/annex-ims/events","assignees_url":"https://api.github.com/repos/ndlib/annex-ims/assignees{/user}","branches_url":"https://api.github.com/repos/ndlib/annex-ims/branches{/branch}","tags_url":"https://api.github.com/repos/ndlib/annex-ims/tags","blobs_url":"https://api.github.com/repos/ndlib/annex-ims/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ndlib/annex-ims/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ndlib/annex-ims/git/refs{/sha}","trees_url":"https://api.github.com/repos/ndlib/annex-ims/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ndlib/annex-ims/statuses/{sha}","languages_url":"https://api.github.com/repos/ndlib/annex-ims/languages","stargazers_url":"https://api.github.com/repos/ndlib/annex-ims/stargazers","contributors_url":"https://api.github.com/repos/ndlib/annex-ims/contributors","subscribers_url":"https://api.github.com/repos/ndlib/annex-ims/subscribers","subscription_url":"https://api.github.com/repos/ndlib/annex-ims/subscription","commits_url":"https://api.github.com/repos/ndlib/annex-ims/commits{/sha}","git_commits_url":"https://api.github.com/repos/ndlib/annex-ims/git/commits{/sha}","comments_url":"https://api.github.com/repos/ndlib/annex-ims/comments{/number}","issue_comment_url":"https://api.github.com/repos/ndlib/annex-ims/issues/comments{/number}","contents_url":"https://api.github.com/repos/ndlib/annex-ims/contents/{+path}","compare_url":"https://api.github.com/repos/ndlib/annex-ims/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ndlib/annex-ims/merges","archive_url":"https://api.github.com/repos/ndlib/annex-ims/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ndlib/annex-ims/downloads","issues_url":"https://api.github.com/repos/ndlib/annex-ims/issues{/number}","pulls_url":"https://api.github.com/repos/ndlib/annex-ims/pulls{/number}","milestones_url":"https://api.github.com/repos/ndlib/annex-ims/milestones{/number}","notifications_url":"https://api.github.com/repos/ndlib/annex-ims/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ndlib/annex-ims/labels{/name}","releases_url":"https://api.github.com/repos/ndlib/annex-ims/releases{/id}","deployments_url":"https://api.github.com/repos/ndlib/annex-ims/deployments","created_at":"2014-11-26T15:16:57Z","updated_at":"2016-01-13T13:03:51Z","pushed_at":"2016-04-14T19:08:07Z","git_url":"git://github.com/ndlib/annex-ims.git","ssh_url":"git@github.com:ndlib/annex-ims.git","clone_url":"https://github.com/ndlib/annex-ims.git","svn_url":"https://github.com/ndlib/annex-ims","homepage":"","size":1055,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ndlib/annex-ims/pulls/147"},"html":{"href":"https://github.com/ndlib/annex-ims/pull/147"},"issue":{"href":"https://api.github.com/repos/ndlib/annex-ims/issues/147"},"comments":{"href":"https://api.github.com/repos/ndlib/annex-ims/issues/147/comments"},"review_comments":{"href":"https://api.github.com/repos/ndlib/annex-ims/pulls/147/comments"},"review_comment":{"href":"https://api.github.com/repos/ndlib/annex-ims/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ndlib/annex-ims/pulls/147/commits"},"statuses":{"href":"https://api.github.com/repos/ndlib/annex-ims/statuses/609ba9fca03d091112d9334676bb88e92db79406"}}}}