{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/management_devise_01/pulls/comments/121313238","pull_request_review_id":43350446,"id":121313238,"diff_hunk":"@@ -20,7 +20,7 @@ def create\n       render json: {status: 200, error: false, message: \"\",\n         data: @device.load_structure}, status: 200\n     else\n-      render json: {status: 500, error: true, message: t(\".errors\"),\n+      render json: {status: 500, error: true, message: @device.errors,\n         data: nil}, status: 500","path":"app/controllers/api/v1/devices_controller.rb","position":6,"original_position":6,"commit_id":"d719d880b1f53c7a1e5de5f710ae5391debded9a","original_commit_id":"d719d880b1f53c7a1e5de5f710ae5391debded9a","user":{"login":"framgia-jenkins-ci","id":16641396,"avatar_url":"https://avatars3.githubusercontent.com/u/16641396?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia-jenkins-ci","html_url":"https://github.com/framgia-jenkins-ci","followers_url":"https://api.github.com/users/framgia-jenkins-ci/followers","following_url":"https://api.github.com/users/framgia-jenkins-ci/following{/other_user}","gists_url":"https://api.github.com/users/framgia-jenkins-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia-jenkins-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia-jenkins-ci/subscriptions","organizations_url":"https://api.github.com/users/framgia-jenkins-ci/orgs","repos_url":"https://api.github.com/users/framgia-jenkins-ci/repos","events_url":"https://api.github.com/users/framgia-jenkins-ci/events{/privacy}","received_events_url":"https://api.github.com/users/framgia-jenkins-ci/received_events","type":"User","site_admin":false},"body":"**Reporter**: CHECKSTYLE\n**Rule**: com.puppycrawl.tools.checkstyle.Style/AlignHash\n**Severity**: INFO\n**File**: app/controllers/api/v1/devices_controller.rb L24\n\nAlign the elements of a hash literal if they span more than one line.\n\n*<this is a auto generated comment from violation-comments-lib F7F8ASD8123FSDF>*\n","created_at":"2017-06-12T05:41:58Z","updated_at":"2017-06-12T05:41:58Z","html_url":"https://github.com/framgia/management_devise_01/pull/186#discussion_r121313238","pull_request_url":"https://api.github.com/repos/framgia/management_devise_01/pulls/186","_links":{"self":{"href":"https://api.github.com/repos/framgia/management_devise_01/pulls/comments/121313238"},"html":{"href":"https://github.com/framgia/management_devise_01/pull/186#discussion_r121313238"},"pull_request":{"href":"https://api.github.com/repos/framgia/management_devise_01/pulls/186"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/management_devise_01/pulls/186","id":125059687,"html_url":"https://github.com/framgia/management_devise_01/pull/186","diff_url":"https://github.com/framgia/management_devise_01/pull/186.diff","patch_url":"https://github.com/framgia/management_devise_01/pull/186.patch","issue_url":"https://api.github.com/repos/framgia/management_devise_01/issues/186","number":186,"state":"open","locked":false,"title":"add params device and auto device code","user":{"login":"minhth1905","id":17795860,"avatar_url":"https://avatars3.githubusercontent.com/u/17795860?v=3","gravatar_id":"","url":"https://api.github.com/users/minhth1905","html_url":"https://github.com/minhth1905","followers_url":"https://api.github.com/users/minhth1905/followers","following_url":"https://api.github.com/users/minhth1905/following{/other_user}","gists_url":"https://api.github.com/users/minhth1905/gists{/gist_id}","starred_url":"https://api.github.com/users/minhth1905/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhth1905/subscriptions","organizations_url":"https://api.github.com/users/minhth1905/orgs","repos_url":"https://api.github.com/users/minhth1905/repos","events_url":"https://api.github.com/users/minhth1905/events{/privacy}","received_events_url":"https://api.github.com/users/minhth1905/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-06-12T04:32:16Z","updated_at":"2017-06-12T05:41:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0bbbac85698546fb3b9b5f830bbafc84374952b6","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/management_devise_01/pulls/186/commits","review_comments_url":"https://api.github.com/repos/framgia/management_devise_01/pulls/186/comments","review_comment_url":"https://api.github.com/repos/framgia/management_devise_01/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/management_devise_01/issues/186/comments","statuses_url":"https://api.github.com/repos/framgia/management_devise_01/statuses/d719d880b1f53c7a1e5de5f710ae5391debded9a","head":{"label":"minhth1905:add-user","ref":"add-user","sha":"d719d880b1f53c7a1e5de5f710ae5391debded9a","user":{"login":"minhth1905","id":17795860,"avatar_url":"https://avatars3.githubusercontent.com/u/17795860?v=3","gravatar_id":"","url":"https://api.github.com/users/minhth1905","html_url":"https://github.com/minhth1905","followers_url":"https://api.github.com/users/minhth1905/followers","following_url":"https://api.github.com/users/minhth1905/following{/other_user}","gists_url":"https://api.github.com/users/minhth1905/gists{/gist_id}","starred_url":"https://api.github.com/users/minhth1905/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhth1905/subscriptions","organizations_url":"https://api.github.com/users/minhth1905/orgs","repos_url":"https://api.github.com/users/minhth1905/repos","events_url":"https://api.github.com/users/minhth1905/events{/privacy}","received_events_url":"https://api.github.com/users/minhth1905/received_events","type":"User","site_admin":false},"repo":{"id":87757293,"name":"management_devise_01","full_name":"minhth1905/management_devise_01","owner":{"login":"minhth1905","id":17795860,"avatar_url":"https://avatars3.githubusercontent.com/u/17795860?v=3","gravatar_id":"","url":"https://api.github.com/users/minhth1905","html_url":"https://github.com/minhth1905","followers_url":"https://api.github.com/users/minhth1905/followers","following_url":"https://api.github.com/users/minhth1905/following{/other_user}","gists_url":"https://api.github.com/users/minhth1905/gists{/gist_id}","starred_url":"https://api.github.com/users/minhth1905/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhth1905/subscriptions","organizations_url":"https://api.github.com/users/minhth1905/orgs","repos_url":"https://api.github.com/users/minhth1905/repos","events_url":"https://api.github.com/users/minhth1905/events{/privacy}","received_events_url":"https://api.github.com/users/minhth1905/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/minhth1905/management_devise_01","description":null,"fork":true,"url":"https://api.github.com/repos/minhth1905/management_devise_01","forks_url":"https://api.github.com/repos/minhth1905/management_devise_01/forks","keys_url":"https://api.github.com/repos/minhth1905/management_devise_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/minhth1905/management_devise_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/minhth1905/management_devise_01/teams","hooks_url":"https://api.github.com/repos/minhth1905/management_devise_01/hooks","issue_events_url":"https://api.github.com/repos/minhth1905/management_devise_01/issues/events{/number}","events_url":"https://api.github.com/repos/minhth1905/management_devise_01/events","assignees_url":"https://api.github.com/repos/minhth1905/management_devise_01/assignees{/user}","branches_url":"https://api.github.com/repos/minhth1905/management_devise_01/branches{/branch}","tags_url":"https://api.github.com/repos/minhth1905/management_devise_01/tags","blobs_url":"https://api.github.com/repos/minhth1905/management_devise_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/minhth1905/management_devise_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/minhth1905/management_devise_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/minhth1905/management_devise_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/minhth1905/management_devise_01/statuses/{sha}","languages_url":"https://api.github.com/repos/minhth1905/management_devise_01/languages","stargazers_url":"https://api.github.com/repos/minhth1905/management_devise_01/stargazers","contributors_url":"https://api.github.com/repos/minhth1905/management_devise_01/contributors","subscribers_url":"https://api.github.com/repos/minhth1905/management_devise_01/subscribers","subscription_url":"https://api.github.com/repos/minhth1905/management_devise_01/subscription","commits_url":"https://api.github.com/repos/minhth1905/management_devise_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/minhth1905/management_devise_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/minhth1905/management_devise_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/minhth1905/management_devise_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/minhth1905/management_devise_01/contents/{+path}","compare_url":"https://api.github.com/repos/minhth1905/management_devise_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/minhth1905/management_devise_01/merges","archive_url":"https://api.github.com/repos/minhth1905/management_devise_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/minhth1905/management_devise_01/downloads","issues_url":"https://api.github.com/repos/minhth1905/management_devise_01/issues{/number}","pulls_url":"https://api.github.com/repos/minhth1905/management_devise_01/pulls{/number}","milestones_url":"https://api.github.com/repos/minhth1905/management_devise_01/milestones{/number}","notifications_url":"https://api.github.com/repos/minhth1905/management_devise_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/minhth1905/management_devise_01/labels{/name}","releases_url":"https://api.github.com/repos/minhth1905/management_devise_01/releases{/id}","deployments_url":"https://api.github.com/repos/minhth1905/management_devise_01/deployments","created_at":"2017-04-10T02:23:15Z","updated_at":"2017-04-10T02:23:17Z","pushed_at":"2017-06-12T05:40:21Z","git_url":"git://github.com/minhth1905/management_devise_01.git","ssh_url":"git@github.com:minhth1905/management_devise_01.git","clone_url":"https://github.com/minhth1905/management_devise_01.git","svn_url":"https://github.com/minhth1905/management_devise_01","homepage":null,"size":2510,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":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":0,"default_branch":"develop"}},"base":{"label":"framgia:develop","ref":"develop","sha":"8fe8b0e3fdda6670f1899be0b74e2b8edbe60763","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars0.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":78728423,"name":"management_devise_01","full_name":"framgia/management_devise_01","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars0.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/management_devise_01","description":null,"fork":false,"url":"https://api.github.com/repos/framgia/management_devise_01","forks_url":"https://api.github.com/repos/framgia/management_devise_01/forks","keys_url":"https://api.github.com/repos/framgia/management_devise_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/management_devise_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/management_devise_01/teams","hooks_url":"https://api.github.com/repos/framgia/management_devise_01/hooks","issue_events_url":"https://api.github.com/repos/framgia/management_devise_01/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/management_devise_01/events","assignees_url":"https://api.github.com/repos/framgia/management_devise_01/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/management_devise_01/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/management_devise_01/tags","blobs_url":"https://api.github.com/repos/framgia/management_devise_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/management_devise_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/management_devise_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/management_devise_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/management_devise_01/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/management_devise_01/languages","stargazers_url":"https://api.github.com/repos/framgia/management_devise_01/stargazers","contributors_url":"https://api.github.com/repos/framgia/management_devise_01/contributors","subscribers_url":"https://api.github.com/repos/framgia/management_devise_01/subscribers","subscription_url":"https://api.github.com/repos/framgia/management_devise_01/subscription","commits_url":"https://api.github.com/repos/framgia/management_devise_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/management_devise_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/management_devise_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/management_devise_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/management_devise_01/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/management_devise_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/management_devise_01/merges","archive_url":"https://api.github.com/repos/framgia/management_devise_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/management_devise_01/downloads","issues_url":"https://api.github.com/repos/framgia/management_devise_01/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/management_devise_01/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/management_devise_01/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/management_devise_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/management_devise_01/labels{/name}","releases_url":"https://api.github.com/repos/framgia/management_devise_01/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/management_devise_01/deployments","created_at":"2017-01-12T09:24:48Z","updated_at":"2017-02-16T13:24:43Z","pushed_at":"2017-06-12T05:40:22Z","git_url":"git://github.com/framgia/management_devise_01.git","ssh_url":"git@github.com:framgia/management_devise_01.git","clone_url":"https://github.com/framgia/management_devise_01.git","svn_url":"https://github.com/framgia/management_devise_01","homepage":null,"size":2504,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":18,"forks":17,"open_issues":18,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/management_devise_01/pulls/186"},"html":{"href":"https://github.com/framgia/management_devise_01/pull/186"},"issue":{"href":"https://api.github.com/repos/framgia/management_devise_01/issues/186"},"comments":{"href":"https://api.github.com/repos/framgia/management_devise_01/issues/186/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/management_devise_01/pulls/186/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/management_devise_01/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/management_devise_01/pulls/186/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/management_devise_01/statuses/d719d880b1f53c7a1e5de5f710ae5391debded9a"}}}}
{"actor":{"display_login":"framgia-jenkins-ci"}}