{"action":"created","comment":{"url":"https://api.github.com/repos/thoughtbot/til/pulls/comments/26651260","id":26651260,"diff_hunk":"@@ -0,0 +1,49 @@\n+### Inject","path":"ruby/inject_vs_each_with_object.md","position":1,"original_position":1,"commit_id":"8b41d651a4f5f49a34ca005c1e4d87b5619c47aa","original_commit_id":"8b41d651a4f5f49a34ca005c1e4d87b5619c47aa","user":{"login":"maurogeorge","id":260746,"avatar_url":"https://avatars.githubusercontent.com/u/260746?v=3","gravatar_id":"","url":"https://api.github.com/users/maurogeorge","html_url":"https://github.com/maurogeorge","followers_url":"https://api.github.com/users/maurogeorge/followers","following_url":"https://api.github.com/users/maurogeorge/following{/other_user}","gists_url":"https://api.github.com/users/maurogeorge/gists{/gist_id}","starred_url":"https://api.github.com/users/maurogeorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maurogeorge/subscriptions","organizations_url":"https://api.github.com/users/maurogeorge/orgs","repos_url":"https://api.github.com/users/maurogeorge/repos","events_url":"https://api.github.com/users/maurogeorge/events{/privacy}","received_events_url":"https://api.github.com/users/maurogeorge/received_events","type":"User","site_admin":false},"body":"I think it is better to start with a h1 title like \"Inject vs each_with_object\" and here use the h2 title.","created_at":"2015-03-18T10:20:28Z","updated_at":"2015-03-18T10:20:28Z","html_url":"https://github.com/thoughtbot/til/pull/83#discussion_r26651260","pull_request_url":"https://api.github.com/repos/thoughtbot/til/pulls/83","_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/til/pulls/comments/26651260"},"html":{"href":"https://github.com/thoughtbot/til/pull/83#discussion_r26651260"},"pull_request":{"href":"https://api.github.com/repos/thoughtbot/til/pulls/83"}}},"pull_request":{"url":"https://api.github.com/repos/thoughtbot/til/pulls/83","id":31394628,"html_url":"https://github.com/thoughtbot/til/pull/83","diff_url":"https://github.com/thoughtbot/til/pull/83.diff","patch_url":"https://github.com/thoughtbot/til/pull/83.patch","issue_url":"https://api.github.com/repos/thoughtbot/til/issues/83","number":83,"state":"open","locked":false,"title":"Inject vs each_with_object in ruby","user":{"login":"rShetty","id":1204933,"avatar_url":"https://avatars.githubusercontent.com/u/1204933?v=3","gravatar_id":"","url":"https://api.github.com/users/rShetty","html_url":"https://github.com/rShetty","followers_url":"https://api.github.com/users/rShetty/followers","following_url":"https://api.github.com/users/rShetty/following{/other_user}","gists_url":"https://api.github.com/users/rShetty/gists{/gist_id}","starred_url":"https://api.github.com/users/rShetty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rShetty/subscriptions","organizations_url":"https://api.github.com/users/rShetty/orgs","repos_url":"https://api.github.com/users/rShetty/repos","events_url":"https://api.github.com/users/rShetty/events{/privacy}","received_events_url":"https://api.github.com/users/rShetty/received_events","type":"User","site_admin":false},"body":"Comparison of the two 'foldl' functions in Ruby (inject and each_with_object).\r\nComparing their working and semantics.","created_at":"2015-03-18T01:51:57Z","updated_at":"2015-03-18T10:20:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d5bbe5831d24e530adc55c9ed796d8235987cb2f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thoughtbot/til/pulls/83/commits","review_comments_url":"https://api.github.com/repos/thoughtbot/til/pulls/83/comments","review_comment_url":"https://api.github.com/repos/thoughtbot/til/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thoughtbot/til/issues/83/comments","statuses_url":"https://api.github.com/repos/thoughtbot/til/statuses/8b41d651a4f5f49a34ca005c1e4d87b5619c47aa","head":{"label":"rShetty:master","ref":"master","sha":"8b41d651a4f5f49a34ca005c1e4d87b5619c47aa","user":{"login":"rShetty","id":1204933,"avatar_url":"https://avatars.githubusercontent.com/u/1204933?v=3","gravatar_id":"","url":"https://api.github.com/users/rShetty","html_url":"https://github.com/rShetty","followers_url":"https://api.github.com/users/rShetty/followers","following_url":"https://api.github.com/users/rShetty/following{/other_user}","gists_url":"https://api.github.com/users/rShetty/gists{/gist_id}","starred_url":"https://api.github.com/users/rShetty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rShetty/subscriptions","organizations_url":"https://api.github.com/users/rShetty/orgs","repos_url":"https://api.github.com/users/rShetty/repos","events_url":"https://api.github.com/users/rShetty/events{/privacy}","received_events_url":"https://api.github.com/users/rShetty/received_events","type":"User","site_admin":false},"repo":{"id":30224484,"name":"til","full_name":"rShetty/til","owner":{"login":"rShetty","id":1204933,"avatar_url":"https://avatars.githubusercontent.com/u/1204933?v=3","gravatar_id":"","url":"https://api.github.com/users/rShetty","html_url":"https://github.com/rShetty","followers_url":"https://api.github.com/users/rShetty/followers","following_url":"https://api.github.com/users/rShetty/following{/other_user}","gists_url":"https://api.github.com/users/rShetty/gists{/gist_id}","starred_url":"https://api.github.com/users/rShetty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rShetty/subscriptions","organizations_url":"https://api.github.com/users/rShetty/orgs","repos_url":"https://api.github.com/users/rShetty/repos","events_url":"https://api.github.com/users/rShetty/events{/privacy}","received_events_url":"https://api.github.com/users/rShetty/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rShetty/til","description":"Today I Learned","fork":true,"url":"https://api.github.com/repos/rShetty/til","forks_url":"https://api.github.com/repos/rShetty/til/forks","keys_url":"https://api.github.com/repos/rShetty/til/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rShetty/til/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rShetty/til/teams","hooks_url":"https://api.github.com/repos/rShetty/til/hooks","issue_events_url":"https://api.github.com/repos/rShetty/til/issues/events{/number}","events_url":"https://api.github.com/repos/rShetty/til/events","assignees_url":"https://api.github.com/repos/rShetty/til/assignees{/user}","branches_url":"https://api.github.com/repos/rShetty/til/branches{/branch}","tags_url":"https://api.github.com/repos/rShetty/til/tags","blobs_url":"https://api.github.com/repos/rShetty/til/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rShetty/til/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rShetty/til/git/refs{/sha}","trees_url":"https://api.github.com/repos/rShetty/til/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rShetty/til/statuses/{sha}","languages_url":"https://api.github.com/repos/rShetty/til/languages","stargazers_url":"https://api.github.com/repos/rShetty/til/stargazers","contributors_url":"https://api.github.com/repos/rShetty/til/contributors","subscribers_url":"https://api.github.com/repos/rShetty/til/subscribers","subscription_url":"https://api.github.com/repos/rShetty/til/subscription","commits_url":"https://api.github.com/repos/rShetty/til/commits{/sha}","git_commits_url":"https://api.github.com/repos/rShetty/til/git/commits{/sha}","comments_url":"https://api.github.com/repos/rShetty/til/comments{/number}","issue_comment_url":"https://api.github.com/repos/rShetty/til/issues/comments{/number}","contents_url":"https://api.github.com/repos/rShetty/til/contents/{+path}","compare_url":"https://api.github.com/repos/rShetty/til/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rShetty/til/merges","archive_url":"https://api.github.com/repos/rShetty/til/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rShetty/til/downloads","issues_url":"https://api.github.com/repos/rShetty/til/issues{/number}","pulls_url":"https://api.github.com/repos/rShetty/til/pulls{/number}","milestones_url":"https://api.github.com/repos/rShetty/til/milestones{/number}","notifications_url":"https://api.github.com/repos/rShetty/til/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rShetty/til/labels{/name}","releases_url":"https://api.github.com/repos/rShetty/til/releases{/id}","created_at":"2015-02-03T04:18:29Z","updated_at":"2015-02-03T04:17:06Z","pushed_at":"2015-03-18T01:50:52Z","git_url":"git://github.com/rShetty/til.git","ssh_url":"git@github.com:rShetty/til.git","clone_url":"https://github.com/rShetty/til.git","svn_url":"https://github.com/rShetty/til","homepage":null,"size":1269,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"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":"thoughtbot:master","ref":"master","sha":"1204dec05cff04b90d9a7773dd61e2181aafcd18","user":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"repo":{"id":29370487,"name":"til","full_name":"thoughtbot/til","owner":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thoughtbot/til","description":"Today I Learned","fork":false,"url":"https://api.github.com/repos/thoughtbot/til","forks_url":"https://api.github.com/repos/thoughtbot/til/forks","keys_url":"https://api.github.com/repos/thoughtbot/til/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thoughtbot/til/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thoughtbot/til/teams","hooks_url":"https://api.github.com/repos/thoughtbot/til/hooks","issue_events_url":"https://api.github.com/repos/thoughtbot/til/issues/events{/number}","events_url":"https://api.github.com/repos/thoughtbot/til/events","assignees_url":"https://api.github.com/repos/thoughtbot/til/assignees{/user}","branches_url":"https://api.github.com/repos/thoughtbot/til/branches{/branch}","tags_url":"https://api.github.com/repos/thoughtbot/til/tags","blobs_url":"https://api.github.com/repos/thoughtbot/til/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thoughtbot/til/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thoughtbot/til/git/refs{/sha}","trees_url":"https://api.github.com/repos/thoughtbot/til/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thoughtbot/til/statuses/{sha}","languages_url":"https://api.github.com/repos/thoughtbot/til/languages","stargazers_url":"https://api.github.com/repos/thoughtbot/til/stargazers","contributors_url":"https://api.github.com/repos/thoughtbot/til/contributors","subscribers_url":"https://api.github.com/repos/thoughtbot/til/subscribers","subscription_url":"https://api.github.com/repos/thoughtbot/til/subscription","commits_url":"https://api.github.com/repos/thoughtbot/til/commits{/sha}","git_commits_url":"https://api.github.com/repos/thoughtbot/til/git/commits{/sha}","comments_url":"https://api.github.com/repos/thoughtbot/til/comments{/number}","issue_comment_url":"https://api.github.com/repos/thoughtbot/til/issues/comments{/number}","contents_url":"https://api.github.com/repos/thoughtbot/til/contents/{+path}","compare_url":"https://api.github.com/repos/thoughtbot/til/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thoughtbot/til/merges","archive_url":"https://api.github.com/repos/thoughtbot/til/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thoughtbot/til/downloads","issues_url":"https://api.github.com/repos/thoughtbot/til/issues{/number}","pulls_url":"https://api.github.com/repos/thoughtbot/til/pulls{/number}","milestones_url":"https://api.github.com/repos/thoughtbot/til/milestones{/number}","notifications_url":"https://api.github.com/repos/thoughtbot/til/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thoughtbot/til/labels{/name}","releases_url":"https://api.github.com/repos/thoughtbot/til/releases{/id}","created_at":"2015-01-16T22:21:28Z","updated_at":"2015-03-18T08:20:02Z","pushed_at":"2015-03-11T00:28:30Z","git_url":"git://github.com/thoughtbot/til.git","ssh_url":"git@github.com:thoughtbot/til.git","clone_url":"https://github.com/thoughtbot/til.git","svn_url":"https://github.com/thoughtbot/til","homepage":null,"size":2350,"stargazers_count":2729,"watchers_count":2729,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":140,"mirror_url":null,"open_issues_count":17,"forks":140,"open_issues":17,"watchers":2729,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/til/pulls/83"},"html":{"href":"https://github.com/thoughtbot/til/pull/83"},"issue":{"href":"https://api.github.com/repos/thoughtbot/til/issues/83"},"comments":{"href":"https://api.github.com/repos/thoughtbot/til/issues/83/comments"},"review_comments":{"href":"https://api.github.com/repos/thoughtbot/til/pulls/83/comments"},"review_comment":{"href":"https://api.github.com/repos/thoughtbot/til/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thoughtbot/til/pulls/83/commits"},"statuses":{"href":"https://api.github.com/repos/thoughtbot/til/statuses/8b41d651a4f5f49a34ca005c1e4d87b5619c47aa"}}}}