{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_215/pulls/comments/91664447","pull_request_review_id":12174830,"id":91664447,"diff_hunk":"@@ -40,4 +41,9 @@ def set_score\n     end\n     assign_attributes score: score\n   end\n+\n+  def create_activity  user_id, target_id","path":"app/models/lesson.rb","position":13,"original_position":13,"commit_id":"3703d282434ab4f43cc568fa05f2086384180c30","original_commit_id":"3703d282434ab4f43cc568fa05f2086384180c30","user":{"login":"yeunuthongminh","id":20291773,"avatar_url":"https://avatars.githubusercontent.com/u/20291773?v=3","gravatar_id":"","url":"https://api.github.com/users/yeunuthongminh","html_url":"https://github.com/yeunuthongminh","followers_url":"https://api.github.com/users/yeunuthongminh/followers","following_url":"https://api.github.com/users/yeunuthongminh/following{/other_user}","gists_url":"https://api.github.com/users/yeunuthongminh/gists{/gist_id}","starred_url":"https://api.github.com/users/yeunuthongminh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeunuthongminh/subscriptions","organizations_url":"https://api.github.com/users/yeunuthongminh/orgs","repos_url":"https://api.github.com/users/yeunuthongminh/repos","events_url":"https://api.github.com/users/yeunuthongminh/events{/privacy}","received_events_url":"https://api.github.com/users/yeunuthongminh/received_events","type":"User","site_admin":false},"body":"convention","created_at":"2016-12-09T06:21:48Z","updated_at":"2016-12-09T06:21:48Z","html_url":"https://github.com/framgia/fels_215/pull/19#discussion_r91664447","pull_request_url":"https://api.github.com/repos/framgia/fels_215/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_215/pulls/comments/91664447"},"html":{"href":"https://github.com/framgia/fels_215/pull/19#discussion_r91664447"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_215/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_215/pulls/19","id":97242675,"html_url":"https://github.com/framgia/fels_215/pull/19","diff_url":"https://github.com/framgia/fels_215/pull/19.diff","patch_url":"https://github.com/framgia/fels_215/pull/19.patch","issue_url":"https://api.github.com/repos/framgia/fels_215/issues/19","number":19,"state":"open","locked":false,"title":"View activity","user":{"login":"dieptran00888","id":17880912,"avatar_url":"https://avatars.githubusercontent.com/u/17880912?v=3","gravatar_id":"","url":"https://api.github.com/users/dieptran00888","html_url":"https://github.com/dieptran00888","followers_url":"https://api.github.com/users/dieptran00888/followers","following_url":"https://api.github.com/users/dieptran00888/following{/other_user}","gists_url":"https://api.github.com/users/dieptran00888/gists{/gist_id}","starred_url":"https://api.github.com/users/dieptran00888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dieptran00888/subscriptions","organizations_url":"https://api.github.com/users/dieptran00888/orgs","repos_url":"https://api.github.com/users/dieptran00888/repos","events_url":"https://api.github.com/users/dieptran00888/events{/privacy}","received_events_url":"https://api.github.com/users/dieptran00888/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-09T02:51:40Z","updated_at":"2016-12-09T06:21:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"15a57cb3ada70d74f39561250ad84415ee9be851","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_215/pulls/19/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_215/pulls/19/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_215/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_215/issues/19/comments","statuses_url":"https://api.github.com/repos/framgia/fels_215/statuses/3703d282434ab4f43cc568fa05f2086384180c30","head":{"label":"dieptran00888:activity","ref":"activity","sha":"3703d282434ab4f43cc568fa05f2086384180c30","user":{"login":"dieptran00888","id":17880912,"avatar_url":"https://avatars.githubusercontent.com/u/17880912?v=3","gravatar_id":"","url":"https://api.github.com/users/dieptran00888","html_url":"https://github.com/dieptran00888","followers_url":"https://api.github.com/users/dieptran00888/followers","following_url":"https://api.github.com/users/dieptran00888/following{/other_user}","gists_url":"https://api.github.com/users/dieptran00888/gists{/gist_id}","starred_url":"https://api.github.com/users/dieptran00888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dieptran00888/subscriptions","organizations_url":"https://api.github.com/users/dieptran00888/orgs","repos_url":"https://api.github.com/users/dieptran00888/repos","events_url":"https://api.github.com/users/dieptran00888/events{/privacy}","received_events_url":"https://api.github.com/users/dieptran00888/received_events","type":"User","site_admin":false},"repo":{"id":74436446,"name":"fels_215","full_name":"dieptran00888/fels_215","owner":{"login":"dieptran00888","id":17880912,"avatar_url":"https://avatars.githubusercontent.com/u/17880912?v=3","gravatar_id":"","url":"https://api.github.com/users/dieptran00888","html_url":"https://github.com/dieptran00888","followers_url":"https://api.github.com/users/dieptran00888/followers","following_url":"https://api.github.com/users/dieptran00888/following{/other_user}","gists_url":"https://api.github.com/users/dieptran00888/gists{/gist_id}","starred_url":"https://api.github.com/users/dieptran00888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dieptran00888/subscriptions","organizations_url":"https://api.github.com/users/dieptran00888/orgs","repos_url":"https://api.github.com/users/dieptran00888/repos","events_url":"https://api.github.com/users/dieptran00888/events{/privacy}","received_events_url":"https://api.github.com/users/dieptran00888/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dieptran00888/fels_215","description":"Framgia E-Learning System (training)","fork":true,"url":"https://api.github.com/repos/dieptran00888/fels_215","forks_url":"https://api.github.com/repos/dieptran00888/fels_215/forks","keys_url":"https://api.github.com/repos/dieptran00888/fels_215/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dieptran00888/fels_215/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dieptran00888/fels_215/teams","hooks_url":"https://api.github.com/repos/dieptran00888/fels_215/hooks","issue_events_url":"https://api.github.com/repos/dieptran00888/fels_215/issues/events{/number}","events_url":"https://api.github.com/repos/dieptran00888/fels_215/events","assignees_url":"https://api.github.com/repos/dieptran00888/fels_215/assignees{/user}","branches_url":"https://api.github.com/repos/dieptran00888/fels_215/branches{/branch}","tags_url":"https://api.github.com/repos/dieptran00888/fels_215/tags","blobs_url":"https://api.github.com/repos/dieptran00888/fels_215/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dieptran00888/fels_215/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dieptran00888/fels_215/git/refs{/sha}","trees_url":"https://api.github.com/repos/dieptran00888/fels_215/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dieptran00888/fels_215/statuses/{sha}","languages_url":"https://api.github.com/repos/dieptran00888/fels_215/languages","stargazers_url":"https://api.github.com/repos/dieptran00888/fels_215/stargazers","contributors_url":"https://api.github.com/repos/dieptran00888/fels_215/contributors","subscribers_url":"https://api.github.com/repos/dieptran00888/fels_215/subscribers","subscription_url":"https://api.github.com/repos/dieptran00888/fels_215/subscription","commits_url":"https://api.github.com/repos/dieptran00888/fels_215/commits{/sha}","git_commits_url":"https://api.github.com/repos/dieptran00888/fels_215/git/commits{/sha}","comments_url":"https://api.github.com/repos/dieptran00888/fels_215/comments{/number}","issue_comment_url":"https://api.github.com/repos/dieptran00888/fels_215/issues/comments{/number}","contents_url":"https://api.github.com/repos/dieptran00888/fels_215/contents/{+path}","compare_url":"https://api.github.com/repos/dieptran00888/fels_215/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dieptran00888/fels_215/merges","archive_url":"https://api.github.com/repos/dieptran00888/fels_215/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dieptran00888/fels_215/downloads","issues_url":"https://api.github.com/repos/dieptran00888/fels_215/issues{/number}","pulls_url":"https://api.github.com/repos/dieptran00888/fels_215/pulls{/number}","milestones_url":"https://api.github.com/repos/dieptran00888/fels_215/milestones{/number}","notifications_url":"https://api.github.com/repos/dieptran00888/fels_215/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dieptran00888/fels_215/labels{/name}","releases_url":"https://api.github.com/repos/dieptran00888/fels_215/releases{/id}","deployments_url":"https://api.github.com/repos/dieptran00888/fels_215/deployments","created_at":"2016-11-22T05:08:49Z","updated_at":"2016-11-22T01:12:31Z","pushed_at":"2016-12-09T06:17:13Z","git_url":"git://github.com/dieptran00888/fels_215.git","ssh_url":"git@github.com:dieptran00888/fels_215.git","clone_url":"https://github.com/dieptran00888/fels_215.git","svn_url":"https://github.com/dieptran00888/fels_215","homepage":null,"size":589,"stargazers_count":0,"watchers_count":0,"language":null,"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":"67defabcd49efe6ef20f312290ccb505453d1f9a","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":74420711,"name":"fels_215","full_name":"framgia/fels_215","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/fels_215","description":"Framgia E-Learning System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_215","forks_url":"https://api.github.com/repos/framgia/fels_215/forks","keys_url":"https://api.github.com/repos/framgia/fels_215/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_215/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_215/teams","hooks_url":"https://api.github.com/repos/framgia/fels_215/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_215/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_215/events","assignees_url":"https://api.github.com/repos/framgia/fels_215/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_215/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_215/tags","blobs_url":"https://api.github.com/repos/framgia/fels_215/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_215/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_215/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_215/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_215/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_215/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_215/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_215/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_215/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_215/subscription","commits_url":"https://api.github.com/repos/framgia/fels_215/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_215/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_215/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_215/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_215/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_215/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_215/merges","archive_url":"https://api.github.com/repos/framgia/fels_215/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_215/downloads","issues_url":"https://api.github.com/repos/framgia/fels_215/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_215/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_215/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_215/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_215/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_215/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fels_215/deployments","created_at":"2016-11-22T01:12:31Z","updated_at":"2016-11-22T01:12:31Z","pushed_at":"2016-12-09T06:17:13Z","git_url":"git://github.com/framgia/fels_215.git","ssh_url":"git@github.com:framgia/fels_215.git","clone_url":"https://github.com/framgia/fels_215.git","svn_url":"https://github.com/framgia/fels_215","homepage":null,"size":590,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_215/pulls/19"},"html":{"href":"https://github.com/framgia/fels_215/pull/19"},"issue":{"href":"https://api.github.com/repos/framgia/fels_215/issues/19"},"comments":{"href":"https://api.github.com/repos/framgia/fels_215/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_215/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_215/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_215/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_215/statuses/3703d282434ab4f43cc568fa05f2086384180c30"}}}}
{"actor":{"display_login":"yeunuthongminh"}}