{"action":"created","comment":{"url":"https://api.github.com/repos/atruby-team/internship-18-summer/pulls/comments/202893333","pull_request_review_id":137675132,"id":202893333,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjg5MzMzMw==","diff_hunk":"@@ -0,0 +1,42 @@\n+class StringFormat\n+  class << self\n+  def human_name(string)\n+    if string.is_a? String\n+      i = 0\n+      out = ''\n+      string.strip!\n+      string.gsub!(/[^A-Za-z ]/, '')\n+      string.each_char do |x|\n+        if string[i - 1] == ' ' && x != ' ' || i.zero?\n+          _a = x.ord - 32\n+          out += _a.chr\n+        else\n+          out += x\n+        end\n+        i += 1\n+      end\n+      out\n+    else\n+      nil\n+    end\n+  end\n+\n+  def uniq(string)\n+    hash = {}\n+    string.each_char { |_str| hash[_str] = ((hash[_str] || 0) + 1) }\n+    hash.keys.inject { |out, i| out + i }\n+  end\n+\n+  def only_letter?(string)","path":"at-luantran/Week3/2018_07_05_exercise4_rubyday3.rb","position":30,"original_position":30,"commit_id":"de20bce8f73ca535b2fdd0353b4e319ab4e97cda","original_commit_id":"de20bce8f73ca535b2fdd0353b4e319ab4e97cda","user":{"login":"at-nhantruong","id":19969406,"node_id":"MDQ6VXNlcjE5OTY5NDA2","avatar_url":"https://avatars2.githubusercontent.com/u/19969406?v=4","gravatar_id":"","url":"https://api.github.com/users/at-nhantruong","html_url":"https://github.com/at-nhantruong","followers_url":"https://api.github.com/users/at-nhantruong/followers","following_url":"https://api.github.com/users/at-nhantruong/following{/other_user}","gists_url":"https://api.github.com/users/at-nhantruong/gists{/gist_id}","starred_url":"https://api.github.com/users/at-nhantruong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-nhantruong/subscriptions","organizations_url":"https://api.github.com/users/at-nhantruong/orgs","repos_url":"https://api.github.com/users/at-nhantruong/repos","events_url":"https://api.github.com/users/at-nhantruong/events{/privacy}","received_events_url":"https://api.github.com/users/at-nhantruong/received_events","type":"User","site_admin":false},"body":"Check only letters not only one character.","created_at":"2018-07-17T04:48:33Z","updated_at":"2018-07-17T04:49:19Z","html_url":"https://github.com/atruby-team/internship-18-summer/pull/30#discussion_r202893333","pull_request_url":"https://api.github.com/repos/atruby-team/internship-18-summer/pulls/30","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/atruby-team/internship-18-summer/pulls/comments/202893333"},"html":{"href":"https://github.com/atruby-team/internship-18-summer/pull/30#discussion_r202893333"},"pull_request":{"href":"https://api.github.com/repos/atruby-team/internship-18-summer/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/atruby-team/internship-18-summer/pulls/30","id":199633070,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5NjMzMDcw","html_url":"https://github.com/atruby-team/internship-18-summer/pull/30","diff_url":"https://github.com/atruby-team/internship-18-summer/pull/30.diff","patch_url":"https://github.com/atruby-team/internship-18-summer/pull/30.patch","issue_url":"https://api.github.com/repos/atruby-team/internship-18-summer/issues/30","number":30,"state":"open","locked":false,"title":"W3 - D4 - LuanTran - Exercise Class and Method","user":{"login":"at-luantran","id":40160927,"node_id":"MDQ6VXNlcjQwMTYwOTI3","avatar_url":"https://avatars3.githubusercontent.com/u/40160927?v=4","gravatar_id":"","url":"https://api.github.com/users/at-luantran","html_url":"https://github.com/at-luantran","followers_url":"https://api.github.com/users/at-luantran/followers","following_url":"https://api.github.com/users/at-luantran/following{/other_user}","gists_url":"https://api.github.com/users/at-luantran/gists{/gist_id}","starred_url":"https://api.github.com/users/at-luantran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-luantran/subscriptions","organizations_url":"https://api.github.com/users/at-luantran/orgs","repos_url":"https://api.github.com/users/at-luantran/repos","events_url":"https://api.github.com/users/at-luantran/events{/privacy}","received_events_url":"https://api.github.com/users/at-luantran/received_events","type":"User","site_admin":false},"body":"Exercise for #27 \r\n- [x] Check conventions\r\n- [x] Exercise 1 \r\n- [x] Exercise 2 \r\n- [x] Exercise 3 \r\n- [x] Exercise 4 \r\n### Người review kiểm tra những danh sách sau trước khi merge\r\n- [ ] Đúng conventions chưa?\r\n","created_at":"2018-07-06T02:56:56Z","updated_at":"2018-07-17T04:49:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8c20285d95556e2242f5743a8d4fa7e576a4c364","assignee":{"login":"at-nhantruong","id":19969406,"node_id":"MDQ6VXNlcjE5OTY5NDA2","avatar_url":"https://avatars2.githubusercontent.com/u/19969406?v=4","gravatar_id":"","url":"https://api.github.com/users/at-nhantruong","html_url":"https://github.com/at-nhantruong","followers_url":"https://api.github.com/users/at-nhantruong/followers","following_url":"https://api.github.com/users/at-nhantruong/following{/other_user}","gists_url":"https://api.github.com/users/at-nhantruong/gists{/gist_id}","starred_url":"https://api.github.com/users/at-nhantruong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-nhantruong/subscriptions","organizations_url":"https://api.github.com/users/at-nhantruong/orgs","repos_url":"https://api.github.com/users/at-nhantruong/repos","events_url":"https://api.github.com/users/at-nhantruong/events{/privacy}","received_events_url":"https://api.github.com/users/at-nhantruong/received_events","type":"User","site_admin":false},"assignees":[{"login":"at-nhantruong","id":19969406,"node_id":"MDQ6VXNlcjE5OTY5NDA2","avatar_url":"https://avatars2.githubusercontent.com/u/19969406?v=4","gravatar_id":"","url":"https://api.github.com/users/at-nhantruong","html_url":"https://github.com/at-nhantruong","followers_url":"https://api.github.com/users/at-nhantruong/followers","following_url":"https://api.github.com/users/at-nhantruong/following{/other_user}","gists_url":"https://api.github.com/users/at-nhantruong/gists{/gist_id}","starred_url":"https://api.github.com/users/at-nhantruong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-nhantruong/subscriptions","organizations_url":"https://api.github.com/users/at-nhantruong/orgs","repos_url":"https://api.github.com/users/at-nhantruong/repos","events_url":"https://api.github.com/users/at-nhantruong/events{/privacy}","received_events_url":"https://api.github.com/users/at-nhantruong/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"at-thachnguyen","id":23732526,"node_id":"MDQ6VXNlcjIzNzMyNTI2","avatar_url":"https://avatars3.githubusercontent.com/u/23732526?v=4","gravatar_id":"","url":"https://api.github.com/users/at-thachnguyen","html_url":"https://github.com/at-thachnguyen","followers_url":"https://api.github.com/users/at-thachnguyen/followers","following_url":"https://api.github.com/users/at-thachnguyen/following{/other_user}","gists_url":"https://api.github.com/users/at-thachnguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/at-thachnguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-thachnguyen/subscriptions","organizations_url":"https://api.github.com/users/at-thachnguyen/orgs","repos_url":"https://api.github.com/users/at-thachnguyen/repos","events_url":"https://api.github.com/users/at-thachnguyen/events{/privacy}","received_events_url":"https://api.github.com/users/at-thachnguyen/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":985468308,"node_id":"MDU6TGFiZWw5ODU0NjgzMDg=","url":"https://api.github.com/repos/atruby-team/internship-18-summer/labels/[Status]%2003%20-%20Review-needed","name":"[Status] 03 - Review-needed","color":"5319e7","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/atruby-team/internship-18-summer/pulls/30/commits","review_comments_url":"https://api.github.com/repos/atruby-team/internship-18-summer/pulls/30/comments","review_comment_url":"https://api.github.com/repos/atruby-team/internship-18-summer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/atruby-team/internship-18-summer/issues/30/comments","statuses_url":"https://api.github.com/repos/atruby-team/internship-18-summer/statuses/de20bce8f73ca535b2fdd0353b4e319ab4e97cda","head":{"label":"atruby-team:feature/at-luantran-exercise-rubyday3","ref":"feature/at-luantran-exercise-rubyday3","sha":"de20bce8f73ca535b2fdd0353b4e319ab4e97cda","user":{"login":"atruby-team","id":38091479,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MDkxNDc5","avatar_url":"https://avatars2.githubusercontent.com/u/38091479?v=4","gravatar_id":"","url":"https://api.github.com/users/atruby-team","html_url":"https://github.com/atruby-team","followers_url":"https://api.github.com/users/atruby-team/followers","following_url":"https://api.github.com/users/atruby-team/following{/other_user}","gists_url":"https://api.github.com/users/atruby-team/gists{/gist_id}","starred_url":"https://api.github.com/users/atruby-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atruby-team/subscriptions","organizations_url":"https://api.github.com/users/atruby-team/orgs","repos_url":"https://api.github.com/users/atruby-team/repos","events_url":"https://api.github.com/users/atruby-team/events{/privacy}","received_events_url":"https://api.github.com/users/atruby-team/received_events","type":"Organization","site_admin":false},"repo":{"id":137159778,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcxNTk3Nzg=","name":"internship-18-summer","full_name":"atruby-team/internship-18-summer","owner":{"login":"atruby-team","id":38091479,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MDkxNDc5","avatar_url":"https://avatars2.githubusercontent.com/u/38091479?v=4","gravatar_id":"","url":"https://api.github.com/users/atruby-team","html_url":"https://github.com/atruby-team","followers_url":"https://api.github.com/users/atruby-team/followers","following_url":"https://api.github.com/users/atruby-team/following{/other_user}","gists_url":"https://api.github.com/users/atruby-team/gists{/gist_id}","starred_url":"https://api.github.com/users/atruby-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atruby-team/subscriptions","organizations_url":"https://api.github.com/users/atruby-team/orgs","repos_url":"https://api.github.com/users/atruby-team/repos","events_url":"https://api.github.com/users/atruby-team/events{/privacy}","received_events_url":"https://api.github.com/users/atruby-team/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atruby-team/internship-18-summer","description":null,"fork":false,"url":"https://api.github.com/repos/atruby-team/internship-18-summer","forks_url":"https://api.github.com/repos/atruby-team/internship-18-summer/forks","keys_url":"https://api.github.com/repos/atruby-team/internship-18-summer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atruby-team/internship-18-summer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atruby-team/internship-18-summer/teams","hooks_url":"https://api.github.com/repos/atruby-team/internship-18-summer/hooks","issue_events_url":"https://api.github.com/repos/atruby-team/internship-18-summer/issues/events{/number}","events_url":"https://api.github.com/repos/atruby-team/internship-18-summer/events","assignees_url":"https://api.github.com/repos/atruby-team/internship-18-summer/assignees{/user}","branches_url":"https://api.github.com/repos/atruby-team/internship-18-summer/branches{/branch}","tags_url":"https://api.github.com/repos/atruby-team/internship-18-summer/tags","blobs_url":"https://api.github.com/repos/atruby-team/internship-18-summer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atruby-team/internship-18-summer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atruby-team/internship-18-summer/git/refs{/sha}","trees_url":"https://api.github.com/repos/atruby-team/internship-18-summer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atruby-team/internship-18-summer/statuses/{sha}","languages_url":"https://api.github.com/repos/atruby-team/internship-18-summer/languages","stargazers_url":"https://api.github.com/repos/atruby-team/internship-18-summer/stargazers","contributors_url":"https://api.github.com/repos/atruby-team/internship-18-summer/contributors","subscribers_url":"https://api.github.com/repos/atruby-team/internship-18-summer/subscribers","subscription_url":"https://api.github.com/repos/atruby-team/internship-18-summer/subscription","commits_url":"https://api.github.com/repos/atruby-team/internship-18-summer/commits{/sha}","git_commits_url":"https://api.github.com/repos/atruby-team/internship-18-summer/git/commits{/sha}","comments_url":"https://api.github.com/repos/atruby-team/internship-18-summer/comments{/number}","issue_comment_url":"https://api.github.com/repos/atruby-team/internship-18-summer/issues/comments{/number}","contents_url":"https://api.github.com/repos/atruby-team/internship-18-summer/contents/{+path}","compare_url":"https://api.github.com/repos/atruby-team/internship-18-summer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atruby-team/internship-18-summer/merges","archive_url":"https://api.github.com/repos/atruby-team/internship-18-summer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atruby-team/internship-18-summer/downloads","issues_url":"https://api.github.com/repos/atruby-team/internship-18-summer/issues{/number}","pulls_url":"https://api.github.com/repos/atruby-team/internship-18-summer/pulls{/number}","milestones_url":"https://api.github.com/repos/atruby-team/internship-18-summer/milestones{/number}","notifications_url":"https://api.github.com/repos/atruby-team/internship-18-summer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atruby-team/internship-18-summer/labels{/name}","releases_url":"https://api.github.com/repos/atruby-team/internship-18-summer/releases{/id}","deployments_url":"https://api.github.com/repos/atruby-team/internship-18-summer/deployments","created_at":"2018-06-13T03:51:36Z","updated_at":"2018-07-16T16:17:12Z","pushed_at":"2018-07-17T02:46:12Z","git_url":"git://github.com/atruby-team/internship-18-summer.git","ssh_url":"git@github.com:atruby-team/internship-18-summer.git","clone_url":"https://github.com/atruby-team/internship-18-summer.git","svn_url":"https://github.com/atruby-team/internship-18-summer","homepage":null,"size":148,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":51,"license":null,"forks":0,"open_issues":51,"watchers":0,"default_branch":"master"}},"base":{"label":"atruby-team:master","ref":"master","sha":"dcf6042c9b4a861a7d95c568ac1b0abf0b821b71","user":{"login":"atruby-team","id":38091479,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MDkxNDc5","avatar_url":"https://avatars2.githubusercontent.com/u/38091479?v=4","gravatar_id":"","url":"https://api.github.com/users/atruby-team","html_url":"https://github.com/atruby-team","followers_url":"https://api.github.com/users/atruby-team/followers","following_url":"https://api.github.com/users/atruby-team/following{/other_user}","gists_url":"https://api.github.com/users/atruby-team/gists{/gist_id}","starred_url":"https://api.github.com/users/atruby-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atruby-team/subscriptions","organizations_url":"https://api.github.com/users/atruby-team/orgs","repos_url":"https://api.github.com/users/atruby-team/repos","events_url":"https://api.github.com/users/atruby-team/events{/privacy}","received_events_url":"https://api.github.com/users/atruby-team/received_events","type":"Organization","site_admin":false},"repo":{"id":137159778,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcxNTk3Nzg=","name":"internship-18-summer","full_name":"atruby-team/internship-18-summer","owner":{"login":"atruby-team","id":38091479,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MDkxNDc5","avatar_url":"https://avatars2.githubusercontent.com/u/38091479?v=4","gravatar_id":"","url":"https://api.github.com/users/atruby-team","html_url":"https://github.com/atruby-team","followers_url":"https://api.github.com/users/atruby-team/followers","following_url":"https://api.github.com/users/atruby-team/following{/other_user}","gists_url":"https://api.github.com/users/atruby-team/gists{/gist_id}","starred_url":"https://api.github.com/users/atruby-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atruby-team/subscriptions","organizations_url":"https://api.github.com/users/atruby-team/orgs","repos_url":"https://api.github.com/users/atruby-team/repos","events_url":"https://api.github.com/users/atruby-team/events{/privacy}","received_events_url":"https://api.github.com/users/atruby-team/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atruby-team/internship-18-summer","description":null,"fork":false,"url":"https://api.github.com/repos/atruby-team/internship-18-summer","forks_url":"https://api.github.com/repos/atruby-team/internship-18-summer/forks","keys_url":"https://api.github.com/repos/atruby-team/internship-18-summer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atruby-team/internship-18-summer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atruby-team/internship-18-summer/teams","hooks_url":"https://api.github.com/repos/atruby-team/internship-18-summer/hooks","issue_events_url":"https://api.github.com/repos/atruby-team/internship-18-summer/issues/events{/number}","events_url":"https://api.github.com/repos/atruby-team/internship-18-summer/events","assignees_url":"https://api.github.com/repos/atruby-team/internship-18-summer/assignees{/user}","branches_url":"https://api.github.com/repos/atruby-team/internship-18-summer/branches{/branch}","tags_url":"https://api.github.com/repos/atruby-team/internship-18-summer/tags","blobs_url":"https://api.github.com/repos/atruby-team/internship-18-summer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atruby-team/internship-18-summer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atruby-team/internship-18-summer/git/refs{/sha}","trees_url":"https://api.github.com/repos/atruby-team/internship-18-summer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atruby-team/internship-18-summer/statuses/{sha}","languages_url":"https://api.github.com/repos/atruby-team/internship-18-summer/languages","stargazers_url":"https://api.github.com/repos/atruby-team/internship-18-summer/stargazers","contributors_url":"https://api.github.com/repos/atruby-team/internship-18-summer/contributors","subscribers_url":"https://api.github.com/repos/atruby-team/internship-18-summer/subscribers","subscription_url":"https://api.github.com/repos/atruby-team/internship-18-summer/subscription","commits_url":"https://api.github.com/repos/atruby-team/internship-18-summer/commits{/sha}","git_commits_url":"https://api.github.com/repos/atruby-team/internship-18-summer/git/commits{/sha}","comments_url":"https://api.github.com/repos/atruby-team/internship-18-summer/comments{/number}","issue_comment_url":"https://api.github.com/repos/atruby-team/internship-18-summer/issues/comments{/number}","contents_url":"https://api.github.com/repos/atruby-team/internship-18-summer/contents/{+path}","compare_url":"https://api.github.com/repos/atruby-team/internship-18-summer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atruby-team/internship-18-summer/merges","archive_url":"https://api.github.com/repos/atruby-team/internship-18-summer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atruby-team/internship-18-summer/downloads","issues_url":"https://api.github.com/repos/atruby-team/internship-18-summer/issues{/number}","pulls_url":"https://api.github.com/repos/atruby-team/internship-18-summer/pulls{/number}","milestones_url":"https://api.github.com/repos/atruby-team/internship-18-summer/milestones{/number}","notifications_url":"https://api.github.com/repos/atruby-team/internship-18-summer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atruby-team/internship-18-summer/labels{/name}","releases_url":"https://api.github.com/repos/atruby-team/internship-18-summer/releases{/id}","deployments_url":"https://api.github.com/repos/atruby-team/internship-18-summer/deployments","created_at":"2018-06-13T03:51:36Z","updated_at":"2018-07-16T16:17:12Z","pushed_at":"2018-07-17T02:46:12Z","git_url":"git://github.com/atruby-team/internship-18-summer.git","ssh_url":"git@github.com:atruby-team/internship-18-summer.git","clone_url":"https://github.com/atruby-team/internship-18-summer.git","svn_url":"https://github.com/atruby-team/internship-18-summer","homepage":null,"size":148,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":51,"license":null,"forks":0,"open_issues":51,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atruby-team/internship-18-summer/pulls/30"},"html":{"href":"https://github.com/atruby-team/internship-18-summer/pull/30"},"issue":{"href":"https://api.github.com/repos/atruby-team/internship-18-summer/issues/30"},"comments":{"href":"https://api.github.com/repos/atruby-team/internship-18-summer/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/atruby-team/internship-18-summer/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/atruby-team/internship-18-summer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/atruby-team/internship-18-summer/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/atruby-team/internship-18-summer/statuses/de20bce8f73ca535b2fdd0353b4e319ab4e97cda"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"at-nhantruong"}}