{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/tms_53/pulls/comments/62605676","id":62605676,"diff_hunk":"@@ -1,4 +1,6 @@\n class User < ActiveRecord::Base\n+  enum role: [:admin, :supervisor, :trainee]","path":"app/models/user.rb","position":2,"original_position":2,"commit_id":"9c61028a0a80a5042f51bc0edca6c797bc0f62a4","original_commit_id":"9c61028a0a80a5042f51bc0edca6c797bc0f62a4","user":{"login":"hellovietnam93","id":8023606,"avatar_url":"https://avatars.githubusercontent.com/u/8023606?v=3","gravatar_id":"","url":"https://api.github.com/users/hellovietnam93","html_url":"https://github.com/hellovietnam93","followers_url":"https://api.github.com/users/hellovietnam93/followers","following_url":"https://api.github.com/users/hellovietnam93/following{/other_user}","gists_url":"https://api.github.com/users/hellovietnam93/gists{/gist_id}","starred_url":"https://api.github.com/users/hellovietnam93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellovietnam93/subscriptions","organizations_url":"https://api.github.com/users/hellovietnam93/orgs","repos_url":"https://api.github.com/users/hellovietnam93/repos","events_url":"https://api.github.com/users/hellovietnam93/events{/privacy}","received_events_url":"https://api.github.com/users/hellovietnam93/received_events","type":"User","site_admin":false},"body":"cho nó xuống dưới đi ","created_at":"2016-05-10T02:54:03Z","updated_at":"2016-05-10T02:54:03Z","html_url":"https://github.com/framgia/tms_53/pull/6#discussion_r62605676","pull_request_url":"https://api.github.com/repos/framgia/tms_53/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_53/pulls/comments/62605676"},"html":{"href":"https://github.com/framgia/tms_53/pull/6#discussion_r62605676"},"pull_request":{"href":"https://api.github.com/repos/framgia/tms_53/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/tms_53/pulls/6","id":69435795,"html_url":"https://github.com/framgia/tms_53/pull/6","diff_url":"https://github.com/framgia/tms_53/pull/6.diff","patch_url":"https://github.com/framgia/tms_53/pull/6.patch","issue_url":"https://api.github.com/repos/framgia/tms_53/issues/6","number":6,"state":"open","locked":false,"title":"admin-make-course","user":{"login":"ChibiNaoko","id":18224931,"avatar_url":"https://avatars.githubusercontent.com/u/18224931?v=3","gravatar_id":"","url":"https://api.github.com/users/ChibiNaoko","html_url":"https://github.com/ChibiNaoko","followers_url":"https://api.github.com/users/ChibiNaoko/followers","following_url":"https://api.github.com/users/ChibiNaoko/following{/other_user}","gists_url":"https://api.github.com/users/ChibiNaoko/gists{/gist_id}","starred_url":"https://api.github.com/users/ChibiNaoko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChibiNaoko/subscriptions","organizations_url":"https://api.github.com/users/ChibiNaoko/orgs","repos_url":"https://api.github.com/users/ChibiNaoko/repos","events_url":"https://api.github.com/users/ChibiNaoko/events{/privacy}","received_events_url":"https://api.github.com/users/ChibiNaoko/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-10T01:15:33Z","updated_at":"2016-05-10T02:54:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4d43b5b17f2a174afb4fc149f387b5b01ce6001e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/tms_53/pulls/6/commits","review_comments_url":"https://api.github.com/repos/framgia/tms_53/pulls/6/comments","review_comment_url":"https://api.github.com/repos/framgia/tms_53/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/tms_53/issues/6/comments","statuses_url":"https://api.github.com/repos/framgia/tms_53/statuses/9c61028a0a80a5042f51bc0edca6c797bc0f62a4","head":{"label":"ChibiNaoko:admin-make-course","ref":"admin-make-course","sha":"9c61028a0a80a5042f51bc0edca6c797bc0f62a4","user":{"login":"ChibiNaoko","id":18224931,"avatar_url":"https://avatars.githubusercontent.com/u/18224931?v=3","gravatar_id":"","url":"https://api.github.com/users/ChibiNaoko","html_url":"https://github.com/ChibiNaoko","followers_url":"https://api.github.com/users/ChibiNaoko/followers","following_url":"https://api.github.com/users/ChibiNaoko/following{/other_user}","gists_url":"https://api.github.com/users/ChibiNaoko/gists{/gist_id}","starred_url":"https://api.github.com/users/ChibiNaoko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChibiNaoko/subscriptions","organizations_url":"https://api.github.com/users/ChibiNaoko/orgs","repos_url":"https://api.github.com/users/ChibiNaoko/repos","events_url":"https://api.github.com/users/ChibiNaoko/events{/privacy}","received_events_url":"https://api.github.com/users/ChibiNaoko/received_events","type":"User","site_admin":false},"repo":{"id":58177192,"name":"tms_53","full_name":"ChibiNaoko/tms_53","owner":{"login":"ChibiNaoko","id":18224931,"avatar_url":"https://avatars.githubusercontent.com/u/18224931?v=3","gravatar_id":"","url":"https://api.github.com/users/ChibiNaoko","html_url":"https://github.com/ChibiNaoko","followers_url":"https://api.github.com/users/ChibiNaoko/followers","following_url":"https://api.github.com/users/ChibiNaoko/following{/other_user}","gists_url":"https://api.github.com/users/ChibiNaoko/gists{/gist_id}","starred_url":"https://api.github.com/users/ChibiNaoko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChibiNaoko/subscriptions","organizations_url":"https://api.github.com/users/ChibiNaoko/orgs","repos_url":"https://api.github.com/users/ChibiNaoko/repos","events_url":"https://api.github.com/users/ChibiNaoko/events{/privacy}","received_events_url":"https://api.github.com/users/ChibiNaoko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ChibiNaoko/tms_53","description":"Framgia Training Management System (training)","fork":true,"url":"https://api.github.com/repos/ChibiNaoko/tms_53","forks_url":"https://api.github.com/repos/ChibiNaoko/tms_53/forks","keys_url":"https://api.github.com/repos/ChibiNaoko/tms_53/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChibiNaoko/tms_53/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChibiNaoko/tms_53/teams","hooks_url":"https://api.github.com/repos/ChibiNaoko/tms_53/hooks","issue_events_url":"https://api.github.com/repos/ChibiNaoko/tms_53/issues/events{/number}","events_url":"https://api.github.com/repos/ChibiNaoko/tms_53/events","assignees_url":"https://api.github.com/repos/ChibiNaoko/tms_53/assignees{/user}","branches_url":"https://api.github.com/repos/ChibiNaoko/tms_53/branches{/branch}","tags_url":"https://api.github.com/repos/ChibiNaoko/tms_53/tags","blobs_url":"https://api.github.com/repos/ChibiNaoko/tms_53/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChibiNaoko/tms_53/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChibiNaoko/tms_53/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChibiNaoko/tms_53/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChibiNaoko/tms_53/statuses/{sha}","languages_url":"https://api.github.com/repos/ChibiNaoko/tms_53/languages","stargazers_url":"https://api.github.com/repos/ChibiNaoko/tms_53/stargazers","contributors_url":"https://api.github.com/repos/ChibiNaoko/tms_53/contributors","subscribers_url":"https://api.github.com/repos/ChibiNaoko/tms_53/subscribers","subscription_url":"https://api.github.com/repos/ChibiNaoko/tms_53/subscription","commits_url":"https://api.github.com/repos/ChibiNaoko/tms_53/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChibiNaoko/tms_53/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChibiNaoko/tms_53/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChibiNaoko/tms_53/issues/comments{/number}","contents_url":"https://api.github.com/repos/ChibiNaoko/tms_53/contents/{+path}","compare_url":"https://api.github.com/repos/ChibiNaoko/tms_53/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChibiNaoko/tms_53/merges","archive_url":"https://api.github.com/repos/ChibiNaoko/tms_53/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChibiNaoko/tms_53/downloads","issues_url":"https://api.github.com/repos/ChibiNaoko/tms_53/issues{/number}","pulls_url":"https://api.github.com/repos/ChibiNaoko/tms_53/pulls{/number}","milestones_url":"https://api.github.com/repos/ChibiNaoko/tms_53/milestones{/number}","notifications_url":"https://api.github.com/repos/ChibiNaoko/tms_53/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChibiNaoko/tms_53/labels{/name}","releases_url":"https://api.github.com/repos/ChibiNaoko/tms_53/releases{/id}","deployments_url":"https://api.github.com/repos/ChibiNaoko/tms_53/deployments","created_at":"2016-05-06T03:09:26Z","updated_at":"2016-05-06T05:41:15Z","pushed_at":"2016-05-10T02:49:54Z","git_url":"git://github.com/ChibiNaoko/tms_53.git","ssh_url":"git@github.com:ChibiNaoko/tms_53.git","clone_url":"https://github.com/ChibiNaoko/tms_53.git","svn_url":"https://github.com/ChibiNaoko/tms_53","homepage":null,"size":41,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"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":"master"}},"base":{"label":"framgia:develop","ref":"develop","sha":"6f87f1ee40ebd3eb292a98a4288ebb2bacb8995a","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.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":58018303,"name":"tms_53","full_name":"framgia/tms_53","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.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/tms_53","description":"Framgia Training Management System (training)","fork":false,"url":"https://api.github.com/repos/framgia/tms_53","forks_url":"https://api.github.com/repos/framgia/tms_53/forks","keys_url":"https://api.github.com/repos/framgia/tms_53/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/tms_53/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/tms_53/teams","hooks_url":"https://api.github.com/repos/framgia/tms_53/hooks","issue_events_url":"https://api.github.com/repos/framgia/tms_53/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/tms_53/events","assignees_url":"https://api.github.com/repos/framgia/tms_53/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/tms_53/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/tms_53/tags","blobs_url":"https://api.github.com/repos/framgia/tms_53/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/tms_53/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/tms_53/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/tms_53/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/tms_53/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/tms_53/languages","stargazers_url":"https://api.github.com/repos/framgia/tms_53/stargazers","contributors_url":"https://api.github.com/repos/framgia/tms_53/contributors","subscribers_url":"https://api.github.com/repos/framgia/tms_53/subscribers","subscription_url":"https://api.github.com/repos/framgia/tms_53/subscription","commits_url":"https://api.github.com/repos/framgia/tms_53/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/tms_53/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/tms_53/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/tms_53/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/tms_53/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/tms_53/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/tms_53/merges","archive_url":"https://api.github.com/repos/framgia/tms_53/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/tms_53/downloads","issues_url":"https://api.github.com/repos/framgia/tms_53/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/tms_53/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/tms_53/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/tms_53/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/tms_53/labels{/name}","releases_url":"https://api.github.com/repos/framgia/tms_53/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/tms_53/deployments","created_at":"2016-05-04T02:57:43Z","updated_at":"2016-05-04T02:57:43Z","pushed_at":"2016-05-10T02:49:54Z","git_url":"git://github.com/framgia/tms_53.git","ssh_url":"git@github.com:framgia/tms_53.git","clone_url":"https://github.com/framgia/tms_53.git","svn_url":"https://github.com/framgia/tms_53","homepage":null,"size":43,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_53/pulls/6"},"html":{"href":"https://github.com/framgia/tms_53/pull/6"},"issue":{"href":"https://api.github.com/repos/framgia/tms_53/issues/6"},"comments":{"href":"https://api.github.com/repos/framgia/tms_53/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/tms_53/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/tms_53/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/tms_53/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/tms_53/statuses/9c61028a0a80a5042f51bc0edca6c797bc0f62a4"}}}}