{"action":"created","comment":{"url":"https://api.github.com/repos/IncreaseCard/training-joaco/pulls/comments/83435390","pull_request_review_id":4281093,"id":83435390,"diff_hunk":"@@ -1,3 +1,16 @@\n # Place all the behaviors and hooks related to the matching controller here.\n # All this logic will automatically be available in application.js.\n-# You can use CoffeeScript in this file: http://coffeescript.org/\n+# You can use CoffeeScript in this file: http://coffeescript.org\n+\n+sendMail = () -> $.post('/async-email/new', null)\n+\n+showMessage = () -> $('#')\n+\n+$ ->\n+  $('#recent-mails-btn').click(() ->\n+    sendMail()\n+\n+    $(this).attr('class', 'btn btn-success')\n+           .text('Sending mails...')\n+           .prop('disabled', false)","path":"app/assets/javascripts/welcome.coffee","position":16,"original_position":16,"commit_id":"308d5dceb208a6e2bf07ad31e750bfb98ee919e1","original_commit_id":"308d5dceb208a6e2bf07ad31e750bfb98ee919e1","user":{"login":"santi698","id":165044,"avatar_url":"https://avatars.githubusercontent.com/u/165044?v=3","gravatar_id":"","url":"https://api.github.com/users/santi698","html_url":"https://github.com/santi698","followers_url":"https://api.github.com/users/santi698/followers","following_url":"https://api.github.com/users/santi698/following{/other_user}","gists_url":"https://api.github.com/users/santi698/gists{/gist_id}","starred_url":"https://api.github.com/users/santi698/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santi698/subscriptions","organizations_url":"https://api.github.com/users/santi698/orgs","repos_url":"https://api.github.com/users/santi698/repos","events_url":"https://api.github.com/users/santi698/events{/privacy}","received_events_url":"https://api.github.com/users/santi698/received_events","type":"User","site_admin":false},"body":"When do you revert the button to its original state?","created_at":"2016-10-14T14:41:39Z","updated_at":"2016-10-14T14:45:21Z","html_url":"https://github.com/IncreaseCard/training-joaco/pull/15#discussion_r83435390","pull_request_url":"https://api.github.com/repos/IncreaseCard/training-joaco/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/IncreaseCard/training-joaco/pulls/comments/83435390"},"html":{"href":"https://github.com/IncreaseCard/training-joaco/pull/15#discussion_r83435390"},"pull_request":{"href":"https://api.github.com/repos/IncreaseCard/training-joaco/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/IncreaseCard/training-joaco/pulls/15","id":89057004,"html_url":"https://github.com/IncreaseCard/training-joaco/pull/15","diff_url":"https://github.com/IncreaseCard/training-joaco/pull/15.diff","patch_url":"https://github.com/IncreaseCard/training-joaco/pull/15.patch","issue_url":"https://api.github.com/repos/IncreaseCard/training-joaco/issues/15","number":15,"state":"open","locked":false,"title":"Sidekiq","user":{"login":"jsuarezb","id":4175044,"avatar_url":"https://avatars.githubusercontent.com/u/4175044?v=3","gravatar_id":"","url":"https://api.github.com/users/jsuarezb","html_url":"https://github.com/jsuarezb","followers_url":"https://api.github.com/users/jsuarezb/followers","following_url":"https://api.github.com/users/jsuarezb/following{/other_user}","gists_url":"https://api.github.com/users/jsuarezb/gists{/gist_id}","starred_url":"https://api.github.com/users/jsuarezb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsuarezb/subscriptions","organizations_url":"https://api.github.com/users/jsuarezb/orgs","repos_url":"https://api.github.com/users/jsuarezb/repos","events_url":"https://api.github.com/users/jsuarezb/events{/privacy}","received_events_url":"https://api.github.com/users/jsuarezb/received_events","type":"User","site_admin":false},"body":"# Summary\r\n\r\n- Sends last 10 articles from the last 5 users registered after clicking a button\r\n\r\n# Trello card\r\n\r\nhttps://trello.com/c/thH3sVSM/15-crear-un-email-con-los-ultimos-10-articulos-creados-por-las-5-ultimas-personas-en-registrarse","created_at":"2016-10-12T17:19:55Z","updated_at":"2016-10-14T14:45:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8502a51fd3c5d6358869178f1df9a26fbc6c8c89","assignee":{"login":"santi698","id":165044,"avatar_url":"https://avatars.githubusercontent.com/u/165044?v=3","gravatar_id":"","url":"https://api.github.com/users/santi698","html_url":"https://github.com/santi698","followers_url":"https://api.github.com/users/santi698/followers","following_url":"https://api.github.com/users/santi698/following{/other_user}","gists_url":"https://api.github.com/users/santi698/gists{/gist_id}","starred_url":"https://api.github.com/users/santi698/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santi698/subscriptions","organizations_url":"https://api.github.com/users/santi698/orgs","repos_url":"https://api.github.com/users/santi698/repos","events_url":"https://api.github.com/users/santi698/events{/privacy}","received_events_url":"https://api.github.com/users/santi698/received_events","type":"User","site_admin":false},"assignees":[{"login":"santi698","id":165044,"avatar_url":"https://avatars.githubusercontent.com/u/165044?v=3","gravatar_id":"","url":"https://api.github.com/users/santi698","html_url":"https://github.com/santi698","followers_url":"https://api.github.com/users/santi698/followers","following_url":"https://api.github.com/users/santi698/following{/other_user}","gists_url":"https://api.github.com/users/santi698/gists{/gist_id}","starred_url":"https://api.github.com/users/santi698/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santi698/subscriptions","organizations_url":"https://api.github.com/users/santi698/orgs","repos_url":"https://api.github.com/users/santi698/repos","events_url":"https://api.github.com/users/santi698/events{/privacy}","received_events_url":"https://api.github.com/users/santi698/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/IncreaseCard/training-joaco/pulls/15/commits","review_comments_url":"https://api.github.com/repos/IncreaseCard/training-joaco/pulls/15/comments","review_comment_url":"https://api.github.com/repos/IncreaseCard/training-joaco/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IncreaseCard/training-joaco/issues/15/comments","statuses_url":"https://api.github.com/repos/IncreaseCard/training-joaco/statuses/308d5dceb208a6e2bf07ad31e750bfb98ee919e1","head":{"label":"IncreaseCard:sidekiq","ref":"sidekiq","sha":"308d5dceb208a6e2bf07ad31e750bfb98ee919e1","user":{"login":"IncreaseCard","id":8239337,"avatar_url":"https://avatars.githubusercontent.com/u/8239337?v=3","gravatar_id":"","url":"https://api.github.com/users/IncreaseCard","html_url":"https://github.com/IncreaseCard","followers_url":"https://api.github.com/users/IncreaseCard/followers","following_url":"https://api.github.com/users/IncreaseCard/following{/other_user}","gists_url":"https://api.github.com/users/IncreaseCard/gists{/gist_id}","starred_url":"https://api.github.com/users/IncreaseCard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IncreaseCard/subscriptions","organizations_url":"https://api.github.com/users/IncreaseCard/orgs","repos_url":"https://api.github.com/users/IncreaseCard/repos","events_url":"https://api.github.com/users/IncreaseCard/events{/privacy}","received_events_url":"https://api.github.com/users/IncreaseCard/received_events","type":"Organization","site_admin":false},"repo":{"id":68935344,"name":"training-joaco","full_name":"IncreaseCard/training-joaco","owner":{"login":"IncreaseCard","id":8239337,"avatar_url":"https://avatars.githubusercontent.com/u/8239337?v=3","gravatar_id":"","url":"https://api.github.com/users/IncreaseCard","html_url":"https://github.com/IncreaseCard","followers_url":"https://api.github.com/users/IncreaseCard/followers","following_url":"https://api.github.com/users/IncreaseCard/following{/other_user}","gists_url":"https://api.github.com/users/IncreaseCard/gists{/gist_id}","starred_url":"https://api.github.com/users/IncreaseCard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IncreaseCard/subscriptions","organizations_url":"https://api.github.com/users/IncreaseCard/orgs","repos_url":"https://api.github.com/users/IncreaseCard/repos","events_url":"https://api.github.com/users/IncreaseCard/events{/privacy}","received_events_url":"https://api.github.com/users/IncreaseCard/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IncreaseCard/training-joaco","description":null,"fork":false,"url":"https://api.github.com/repos/IncreaseCard/training-joaco","forks_url":"https://api.github.com/repos/IncreaseCard/training-joaco/forks","keys_url":"https://api.github.com/repos/IncreaseCard/training-joaco/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IncreaseCard/training-joaco/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IncreaseCard/training-joaco/teams","hooks_url":"https://api.github.com/repos/IncreaseCard/training-joaco/hooks","issue_events_url":"https://api.github.com/repos/IncreaseCard/training-joaco/issues/events{/number}","events_url":"https://api.github.com/repos/IncreaseCard/training-joaco/events","assignees_url":"https://api.github.com/repos/IncreaseCard/training-joaco/assignees{/user}","branches_url":"https://api.github.com/repos/IncreaseCard/training-joaco/branches{/branch}","tags_url":"https://api.github.com/repos/IncreaseCard/training-joaco/tags","blobs_url":"https://api.github.com/repos/IncreaseCard/training-joaco/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IncreaseCard/training-joaco/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IncreaseCard/training-joaco/git/refs{/sha}","trees_url":"https://api.github.com/repos/IncreaseCard/training-joaco/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IncreaseCard/training-joaco/statuses/{sha}","languages_url":"https://api.github.com/repos/IncreaseCard/training-joaco/languages","stargazers_url":"https://api.github.com/repos/IncreaseCard/training-joaco/stargazers","contributors_url":"https://api.github.com/repos/IncreaseCard/training-joaco/contributors","subscribers_url":"https://api.github.com/repos/IncreaseCard/training-joaco/subscribers","subscription_url":"https://api.github.com/repos/IncreaseCard/training-joaco/subscription","commits_url":"https://api.github.com/repos/IncreaseCard/training-joaco/commits{/sha}","git_commits_url":"https://api.github.com/repos/IncreaseCard/training-joaco/git/commits{/sha}","comments_url":"https://api.github.com/repos/IncreaseCard/training-joaco/comments{/number}","issue_comment_url":"https://api.github.com/repos/IncreaseCard/training-joaco/issues/comments{/number}","contents_url":"https://api.github.com/repos/IncreaseCard/training-joaco/contents/{+path}","compare_url":"https://api.github.com/repos/IncreaseCard/training-joaco/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IncreaseCard/training-joaco/merges","archive_url":"https://api.github.com/repos/IncreaseCard/training-joaco/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IncreaseCard/training-joaco/downloads","issues_url":"https://api.github.com/repos/IncreaseCard/training-joaco/issues{/number}","pulls_url":"https://api.github.com/repos/IncreaseCard/training-joaco/pulls{/number}","milestones_url":"https://api.github.com/repos/IncreaseCard/training-joaco/milestones{/number}","notifications_url":"https://api.github.com/repos/IncreaseCard/training-joaco/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IncreaseCard/training-joaco/labels{/name}","releases_url":"https://api.github.com/repos/IncreaseCard/training-joaco/releases{/id}","deployments_url":"https://api.github.com/repos/IncreaseCard/training-joaco/deployments","created_at":"2016-09-22T15:32:16Z","updated_at":"2016-09-23T20:23:03Z","pushed_at":"2016-10-13T00:14:06Z","git_url":"git://github.com/IncreaseCard/training-joaco.git","ssh_url":"git@github.com:IncreaseCard/training-joaco.git","clone_url":"https://github.com/IncreaseCard/training-joaco.git","svn_url":"https://github.com/IncreaseCard/training-joaco","homepage":null,"size":547,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"IncreaseCard:article-creator","ref":"article-creator","sha":"2282c5d17658fb6783c7f5cdb94b68bd9131d12d","user":{"login":"IncreaseCard","id":8239337,"avatar_url":"https://avatars.githubusercontent.com/u/8239337?v=3","gravatar_id":"","url":"https://api.github.com/users/IncreaseCard","html_url":"https://github.com/IncreaseCard","followers_url":"https://api.github.com/users/IncreaseCard/followers","following_url":"https://api.github.com/users/IncreaseCard/following{/other_user}","gists_url":"https://api.github.com/users/IncreaseCard/gists{/gist_id}","starred_url":"https://api.github.com/users/IncreaseCard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IncreaseCard/subscriptions","organizations_url":"https://api.github.com/users/IncreaseCard/orgs","repos_url":"https://api.github.com/users/IncreaseCard/repos","events_url":"https://api.github.com/users/IncreaseCard/events{/privacy}","received_events_url":"https://api.github.com/users/IncreaseCard/received_events","type":"Organization","site_admin":false},"repo":{"id":68935344,"name":"training-joaco","full_name":"IncreaseCard/training-joaco","owner":{"login":"IncreaseCard","id":8239337,"avatar_url":"https://avatars.githubusercontent.com/u/8239337?v=3","gravatar_id":"","url":"https://api.github.com/users/IncreaseCard","html_url":"https://github.com/IncreaseCard","followers_url":"https://api.github.com/users/IncreaseCard/followers","following_url":"https://api.github.com/users/IncreaseCard/following{/other_user}","gists_url":"https://api.github.com/users/IncreaseCard/gists{/gist_id}","starred_url":"https://api.github.com/users/IncreaseCard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IncreaseCard/subscriptions","organizations_url":"https://api.github.com/users/IncreaseCard/orgs","repos_url":"https://api.github.com/users/IncreaseCard/repos","events_url":"https://api.github.com/users/IncreaseCard/events{/privacy}","received_events_url":"https://api.github.com/users/IncreaseCard/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IncreaseCard/training-joaco","description":null,"fork":false,"url":"https://api.github.com/repos/IncreaseCard/training-joaco","forks_url":"https://api.github.com/repos/IncreaseCard/training-joaco/forks","keys_url":"https://api.github.com/repos/IncreaseCard/training-joaco/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IncreaseCard/training-joaco/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IncreaseCard/training-joaco/teams","hooks_url":"https://api.github.com/repos/IncreaseCard/training-joaco/hooks","issue_events_url":"https://api.github.com/repos/IncreaseCard/training-joaco/issues/events{/number}","events_url":"https://api.github.com/repos/IncreaseCard/training-joaco/events","assignees_url":"https://api.github.com/repos/IncreaseCard/training-joaco/assignees{/user}","branches_url":"https://api.github.com/repos/IncreaseCard/training-joaco/branches{/branch}","tags_url":"https://api.github.com/repos/IncreaseCard/training-joaco/tags","blobs_url":"https://api.github.com/repos/IncreaseCard/training-joaco/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IncreaseCard/training-joaco/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IncreaseCard/training-joaco/git/refs{/sha}","trees_url":"https://api.github.com/repos/IncreaseCard/training-joaco/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IncreaseCard/training-joaco/statuses/{sha}","languages_url":"https://api.github.com/repos/IncreaseCard/training-joaco/languages","stargazers_url":"https://api.github.com/repos/IncreaseCard/training-joaco/stargazers","contributors_url":"https://api.github.com/repos/IncreaseCard/training-joaco/contributors","subscribers_url":"https://api.github.com/repos/IncreaseCard/training-joaco/subscribers","subscription_url":"https://api.github.com/repos/IncreaseCard/training-joaco/subscription","commits_url":"https://api.github.com/repos/IncreaseCard/training-joaco/commits{/sha}","git_commits_url":"https://api.github.com/repos/IncreaseCard/training-joaco/git/commits{/sha}","comments_url":"https://api.github.com/repos/IncreaseCard/training-joaco/comments{/number}","issue_comment_url":"https://api.github.com/repos/IncreaseCard/training-joaco/issues/comments{/number}","contents_url":"https://api.github.com/repos/IncreaseCard/training-joaco/contents/{+path}","compare_url":"https://api.github.com/repos/IncreaseCard/training-joaco/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IncreaseCard/training-joaco/merges","archive_url":"https://api.github.com/repos/IncreaseCard/training-joaco/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IncreaseCard/training-joaco/downloads","issues_url":"https://api.github.com/repos/IncreaseCard/training-joaco/issues{/number}","pulls_url":"https://api.github.com/repos/IncreaseCard/training-joaco/pulls{/number}","milestones_url":"https://api.github.com/repos/IncreaseCard/training-joaco/milestones{/number}","notifications_url":"https://api.github.com/repos/IncreaseCard/training-joaco/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IncreaseCard/training-joaco/labels{/name}","releases_url":"https://api.github.com/repos/IncreaseCard/training-joaco/releases{/id}","deployments_url":"https://api.github.com/repos/IncreaseCard/training-joaco/deployments","created_at":"2016-09-22T15:32:16Z","updated_at":"2016-09-23T20:23:03Z","pushed_at":"2016-10-13T00:14:06Z","git_url":"git://github.com/IncreaseCard/training-joaco.git","ssh_url":"git@github.com:IncreaseCard/training-joaco.git","clone_url":"https://github.com/IncreaseCard/training-joaco.git","svn_url":"https://github.com/IncreaseCard/training-joaco","homepage":null,"size":547,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IncreaseCard/training-joaco/pulls/15"},"html":{"href":"https://github.com/IncreaseCard/training-joaco/pull/15"},"issue":{"href":"https://api.github.com/repos/IncreaseCard/training-joaco/issues/15"},"comments":{"href":"https://api.github.com/repos/IncreaseCard/training-joaco/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/IncreaseCard/training-joaco/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/IncreaseCard/training-joaco/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IncreaseCard/training-joaco/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/IncreaseCard/training-joaco/statuses/308d5dceb208a6e2bf07ad31e750bfb98ee919e1"}}}}
{"actor":{"display_login":"santi698"}}