{"action":"created","comment":{"url":"https://api.github.com/repos/latera/homs/pulls/comments/72751805","id":72751805,"diff_hunk":"@@ -94,4 +95,12 @@ def resource_set(resource = nil)\n     resource ||= Order.find_by!(code: params[:id])\n     instance_variable_set(\"@#{resource_name}\", resource)\n   end\n+\n+  def homs_config","path":"app/controllers/orders_controller.rb","position":13,"original_position":13,"commit_id":"0a93e0f58e7c267b1135a8c7154e03c2a670e46e","original_commit_id":"0a93e0f58e7c267b1135a8c7154e03c2a670e46e","user":{"login":"sugarfree1","id":1773010,"avatar_url":"https://avatars.githubusercontent.com/u/1773010?v=3","gravatar_id":"","url":"https://api.github.com/users/sugarfree1","html_url":"https://github.com/sugarfree1","followers_url":"https://api.github.com/users/sugarfree1/followers","following_url":"https://api.github.com/users/sugarfree1/following{/other_user}","gists_url":"https://api.github.com/users/sugarfree1/gists{/gist_id}","starred_url":"https://api.github.com/users/sugarfree1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sugarfree1/subscriptions","organizations_url":"https://api.github.com/users/sugarfree1/orgs","repos_url":"https://api.github.com/users/sugarfree1/repos","events_url":"https://api.github.com/users/sugarfree1/events{/privacy}","received_events_url":"https://api.github.com/users/sugarfree1/received_events","type":"User","site_admin":false},"body":"Same method is defined in SessionsController. Code duplication is not accepted.","created_at":"2016-07-29T07:30:23Z","updated_at":"2016-07-29T07:30:23Z","html_url":"https://github.com/latera/homs/pull/19#discussion_r72751805","pull_request_url":"https://api.github.com/repos/latera/homs/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/latera/homs/pulls/comments/72751805"},"html":{"href":"https://github.com/latera/homs/pull/19#discussion_r72751805"},"pull_request":{"href":"https://api.github.com/repos/latera/homs/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/latera/homs/pulls/19","id":78465004,"html_url":"https://github.com/latera/homs/pull/19","diff_url":"https://github.com/latera/homs/pull/19.diff","patch_url":"https://github.com/latera/homs/pull/19.patch","issue_url":"https://api.github.com/repos/latera/homs/issues/19","number":19,"state":"open","locked":false,"title":"HOMS-107 add imprint controller and print buttons","user":{"login":"GideonEXE","id":2664135,"avatar_url":"https://avatars.githubusercontent.com/u/2664135?v=3","gravatar_id":"","url":"https://api.github.com/users/GideonEXE","html_url":"https://github.com/GideonEXE","followers_url":"https://api.github.com/users/GideonEXE/followers","following_url":"https://api.github.com/users/GideonEXE/following{/other_user}","gists_url":"https://api.github.com/users/GideonEXE/gists{/gist_id}","starred_url":"https://api.github.com/users/GideonEXE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GideonEXE/subscriptions","organizations_url":"https://api.github.com/users/GideonEXE/orgs","repos_url":"https://api.github.com/users/GideonEXE/repos","events_url":"https://api.github.com/users/GideonEXE/events{/privacy}","received_events_url":"https://api.github.com/users/GideonEXE/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-22T11:48:14Z","updated_at":"2016-07-29T07:30:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"741d77778c875242a3165ffcfb5d56dc699fb963","assignee":{"login":"flash-gordon","id":802486,"avatar_url":"https://avatars.githubusercontent.com/u/802486?v=3","gravatar_id":"","url":"https://api.github.com/users/flash-gordon","html_url":"https://github.com/flash-gordon","followers_url":"https://api.github.com/users/flash-gordon/followers","following_url":"https://api.github.com/users/flash-gordon/following{/other_user}","gists_url":"https://api.github.com/users/flash-gordon/gists{/gist_id}","starred_url":"https://api.github.com/users/flash-gordon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flash-gordon/subscriptions","organizations_url":"https://api.github.com/users/flash-gordon/orgs","repos_url":"https://api.github.com/users/flash-gordon/repos","events_url":"https://api.github.com/users/flash-gordon/events{/privacy}","received_events_url":"https://api.github.com/users/flash-gordon/received_events","type":"User","site_admin":false},"assignees":[{"login":"flash-gordon","id":802486,"avatar_url":"https://avatars.githubusercontent.com/u/802486?v=3","gravatar_id":"","url":"https://api.github.com/users/flash-gordon","html_url":"https://github.com/flash-gordon","followers_url":"https://api.github.com/users/flash-gordon/followers","following_url":"https://api.github.com/users/flash-gordon/following{/other_user}","gists_url":"https://api.github.com/users/flash-gordon/gists{/gist_id}","starred_url":"https://api.github.com/users/flash-gordon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flash-gordon/subscriptions","organizations_url":"https://api.github.com/users/flash-gordon/orgs","repos_url":"https://api.github.com/users/flash-gordon/repos","events_url":"https://api.github.com/users/flash-gordon/events{/privacy}","received_events_url":"https://api.github.com/users/flash-gordon/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/latera/homs/pulls/19/commits","review_comments_url":"https://api.github.com/repos/latera/homs/pulls/19/comments","review_comment_url":"https://api.github.com/repos/latera/homs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/latera/homs/issues/19/comments","statuses_url":"https://api.github.com/repos/latera/homs/statuses/0a93e0f58e7c267b1135a8c7154e03c2a670e46e","head":{"label":"latera:HOMS-107","ref":"HOMS-107","sha":"0a93e0f58e7c267b1135a8c7154e03c2a670e46e","user":{"login":"latera","id":1512462,"avatar_url":"https://avatars.githubusercontent.com/u/1512462?v=3","gravatar_id":"","url":"https://api.github.com/users/latera","html_url":"https://github.com/latera","followers_url":"https://api.github.com/users/latera/followers","following_url":"https://api.github.com/users/latera/following{/other_user}","gists_url":"https://api.github.com/users/latera/gists{/gist_id}","starred_url":"https://api.github.com/users/latera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latera/subscriptions","organizations_url":"https://api.github.com/users/latera/orgs","repos_url":"https://api.github.com/users/latera/repos","events_url":"https://api.github.com/users/latera/events{/privacy}","received_events_url":"https://api.github.com/users/latera/received_events","type":"Organization","site_admin":false},"repo":{"id":57213848,"name":"homs","full_name":"latera/homs","owner":{"login":"latera","id":1512462,"avatar_url":"https://avatars.githubusercontent.com/u/1512462?v=3","gravatar_id":"","url":"https://api.github.com/users/latera","html_url":"https://github.com/latera","followers_url":"https://api.github.com/users/latera/followers","following_url":"https://api.github.com/users/latera/following{/other_user}","gists_url":"https://api.github.com/users/latera/gists{/gist_id}","starred_url":"https://api.github.com/users/latera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latera/subscriptions","organizations_url":"https://api.github.com/users/latera/orgs","repos_url":"https://api.github.com/users/latera/repos","events_url":"https://api.github.com/users/latera/events{/privacy}","received_events_url":"https://api.github.com/users/latera/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/latera/homs","description":"Hydra Order Management System","fork":false,"url":"https://api.github.com/repos/latera/homs","forks_url":"https://api.github.com/repos/latera/homs/forks","keys_url":"https://api.github.com/repos/latera/homs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/latera/homs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/latera/homs/teams","hooks_url":"https://api.github.com/repos/latera/homs/hooks","issue_events_url":"https://api.github.com/repos/latera/homs/issues/events{/number}","events_url":"https://api.github.com/repos/latera/homs/events","assignees_url":"https://api.github.com/repos/latera/homs/assignees{/user}","branches_url":"https://api.github.com/repos/latera/homs/branches{/branch}","tags_url":"https://api.github.com/repos/latera/homs/tags","blobs_url":"https://api.github.com/repos/latera/homs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/latera/homs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/latera/homs/git/refs{/sha}","trees_url":"https://api.github.com/repos/latera/homs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/latera/homs/statuses/{sha}","languages_url":"https://api.github.com/repos/latera/homs/languages","stargazers_url":"https://api.github.com/repos/latera/homs/stargazers","contributors_url":"https://api.github.com/repos/latera/homs/contributors","subscribers_url":"https://api.github.com/repos/latera/homs/subscribers","subscription_url":"https://api.github.com/repos/latera/homs/subscription","commits_url":"https://api.github.com/repos/latera/homs/commits{/sha}","git_commits_url":"https://api.github.com/repos/latera/homs/git/commits{/sha}","comments_url":"https://api.github.com/repos/latera/homs/comments{/number}","issue_comment_url":"https://api.github.com/repos/latera/homs/issues/comments{/number}","contents_url":"https://api.github.com/repos/latera/homs/contents/{+path}","compare_url":"https://api.github.com/repos/latera/homs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/latera/homs/merges","archive_url":"https://api.github.com/repos/latera/homs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/latera/homs/downloads","issues_url":"https://api.github.com/repos/latera/homs/issues{/number}","pulls_url":"https://api.github.com/repos/latera/homs/pulls{/number}","milestones_url":"https://api.github.com/repos/latera/homs/milestones{/number}","notifications_url":"https://api.github.com/repos/latera/homs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/latera/homs/labels{/name}","releases_url":"https://api.github.com/repos/latera/homs/releases{/id}","deployments_url":"https://api.github.com/repos/latera/homs/deployments","created_at":"2016-04-27T13:03:22Z","updated_at":"2016-07-19T14:08:48Z","pushed_at":"2016-07-26T16:11:55Z","git_url":"git://github.com/latera/homs.git","ssh_url":"git@github.com:latera/homs.git","clone_url":"https://github.com/latera/homs.git","svn_url":"https://github.com/latera/homs","homepage":null,"size":310,"stargazers_count":53,"watchers_count":53,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":53,"default_branch":"master"}},"base":{"label":"latera:master","ref":"master","sha":"5a2a821acf056641f662036e2fed1ea3b9085c72","user":{"login":"latera","id":1512462,"avatar_url":"https://avatars.githubusercontent.com/u/1512462?v=3","gravatar_id":"","url":"https://api.github.com/users/latera","html_url":"https://github.com/latera","followers_url":"https://api.github.com/users/latera/followers","following_url":"https://api.github.com/users/latera/following{/other_user}","gists_url":"https://api.github.com/users/latera/gists{/gist_id}","starred_url":"https://api.github.com/users/latera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latera/subscriptions","organizations_url":"https://api.github.com/users/latera/orgs","repos_url":"https://api.github.com/users/latera/repos","events_url":"https://api.github.com/users/latera/events{/privacy}","received_events_url":"https://api.github.com/users/latera/received_events","type":"Organization","site_admin":false},"repo":{"id":57213848,"name":"homs","full_name":"latera/homs","owner":{"login":"latera","id":1512462,"avatar_url":"https://avatars.githubusercontent.com/u/1512462?v=3","gravatar_id":"","url":"https://api.github.com/users/latera","html_url":"https://github.com/latera","followers_url":"https://api.github.com/users/latera/followers","following_url":"https://api.github.com/users/latera/following{/other_user}","gists_url":"https://api.github.com/users/latera/gists{/gist_id}","starred_url":"https://api.github.com/users/latera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latera/subscriptions","organizations_url":"https://api.github.com/users/latera/orgs","repos_url":"https://api.github.com/users/latera/repos","events_url":"https://api.github.com/users/latera/events{/privacy}","received_events_url":"https://api.github.com/users/latera/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/latera/homs","description":"Hydra Order Management System","fork":false,"url":"https://api.github.com/repos/latera/homs","forks_url":"https://api.github.com/repos/latera/homs/forks","keys_url":"https://api.github.com/repos/latera/homs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/latera/homs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/latera/homs/teams","hooks_url":"https://api.github.com/repos/latera/homs/hooks","issue_events_url":"https://api.github.com/repos/latera/homs/issues/events{/number}","events_url":"https://api.github.com/repos/latera/homs/events","assignees_url":"https://api.github.com/repos/latera/homs/assignees{/user}","branches_url":"https://api.github.com/repos/latera/homs/branches{/branch}","tags_url":"https://api.github.com/repos/latera/homs/tags","blobs_url":"https://api.github.com/repos/latera/homs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/latera/homs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/latera/homs/git/refs{/sha}","trees_url":"https://api.github.com/repos/latera/homs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/latera/homs/statuses/{sha}","languages_url":"https://api.github.com/repos/latera/homs/languages","stargazers_url":"https://api.github.com/repos/latera/homs/stargazers","contributors_url":"https://api.github.com/repos/latera/homs/contributors","subscribers_url":"https://api.github.com/repos/latera/homs/subscribers","subscription_url":"https://api.github.com/repos/latera/homs/subscription","commits_url":"https://api.github.com/repos/latera/homs/commits{/sha}","git_commits_url":"https://api.github.com/repos/latera/homs/git/commits{/sha}","comments_url":"https://api.github.com/repos/latera/homs/comments{/number}","issue_comment_url":"https://api.github.com/repos/latera/homs/issues/comments{/number}","contents_url":"https://api.github.com/repos/latera/homs/contents/{+path}","compare_url":"https://api.github.com/repos/latera/homs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/latera/homs/merges","archive_url":"https://api.github.com/repos/latera/homs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/latera/homs/downloads","issues_url":"https://api.github.com/repos/latera/homs/issues{/number}","pulls_url":"https://api.github.com/repos/latera/homs/pulls{/number}","milestones_url":"https://api.github.com/repos/latera/homs/milestones{/number}","notifications_url":"https://api.github.com/repos/latera/homs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/latera/homs/labels{/name}","releases_url":"https://api.github.com/repos/latera/homs/releases{/id}","deployments_url":"https://api.github.com/repos/latera/homs/deployments","created_at":"2016-04-27T13:03:22Z","updated_at":"2016-07-19T14:08:48Z","pushed_at":"2016-07-26T16:11:55Z","git_url":"git://github.com/latera/homs.git","ssh_url":"git@github.com:latera/homs.git","clone_url":"https://github.com/latera/homs.git","svn_url":"https://github.com/latera/homs","homepage":null,"size":310,"stargazers_count":53,"watchers_count":53,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":53,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/latera/homs/pulls/19"},"html":{"href":"https://github.com/latera/homs/pull/19"},"issue":{"href":"https://api.github.com/repos/latera/homs/issues/19"},"comments":{"href":"https://api.github.com/repos/latera/homs/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/latera/homs/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/latera/homs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/latera/homs/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/latera/homs/statuses/0a93e0f58e7c267b1135a8c7154e03c2a670e46e"}}}}
{"actor":{"display_login":"sugarfree1"}}