{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/pulls/3","id":42541103,"html_url":"https://github.com/VeliovGroup/Meteor-Mailer/pull/3","diff_url":"https://github.com/VeliovGroup/Meteor-Mailer/pull/3.diff","patch_url":"https://github.com/VeliovGroup/Meteor-Mailer/pull/3.patch","issue_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/issues/3","number":3,"state":"closed","locked":false,"title":"pass object to send function","user":{"login":"satyavh","id":3264269,"avatar_url":"https://avatars.githubusercontent.com/u/3264269?v=3","gravatar_id":"","url":"https://api.github.com/users/satyavh","html_url":"https://github.com/satyavh","followers_url":"https://api.github.com/users/satyavh/followers","following_url":"https://api.github.com/users/satyavh/following{/other_user}","gists_url":"https://api.github.com/users/satyavh/gists{/gist_id}","starred_url":"https://api.github.com/users/satyavh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satyavh/subscriptions","organizations_url":"https://api.github.com/users/satyavh/orgs","repos_url":"https://api.github.com/users/satyavh/repos","events_url":"https://api.github.com/users/satyavh/events{/privacy}","received_events_url":"https://api.github.com/users/satyavh/received_events","type":"User","site_admin":false},"body":"Pass object to send function, instead of values, as proposed\r\nRemove Assets.getText dependency (this is not working in package) and pass in template as an asset string (by calling Assets.getText from server).\r\n\r\nSo now you need to call like this:\r\n\r\n```\r\n    Meteor.mail.send \r\n      to: invite.name + '<' + invite.email + '>',\r\n      subject: name + \" invited you to join Pipetracker.\"\r\n      helpers:\r\n        inviter: name\r\n        role: invite.role\r\n        inviteUrl: baseUrl + 'register/' + invite.token\r\n        btnText: \"Get started\"\r\n      template: Assets.getText 'Pipetracker.html'\r\n```","created_at":"2015-08-16T18:49:07Z","updated_at":"2015-08-20T15:34:43Z","closed_at":"2015-08-20T15:34:43Z","merged_at":"2015-08-20T15:34:43Z","merge_commit_sha":"5b4a8ba3d996b67a4c97b1ba80a41c7de331a8ef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/pulls/3/commits","review_comments_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/pulls/3/comments","review_comment_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/issues/3/comments","statuses_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/statuses/d473d493651ee98a432b4061b101561cba60c774","head":{"label":"satyavh:master","ref":"master","sha":"d473d493651ee98a432b4061b101561cba60c774","user":{"login":"satyavh","id":3264269,"avatar_url":"https://avatars.githubusercontent.com/u/3264269?v=3","gravatar_id":"","url":"https://api.github.com/users/satyavh","html_url":"https://github.com/satyavh","followers_url":"https://api.github.com/users/satyavh/followers","following_url":"https://api.github.com/users/satyavh/following{/other_user}","gists_url":"https://api.github.com/users/satyavh/gists{/gist_id}","starred_url":"https://api.github.com/users/satyavh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satyavh/subscriptions","organizations_url":"https://api.github.com/users/satyavh/orgs","repos_url":"https://api.github.com/users/satyavh/repos","events_url":"https://api.github.com/users/satyavh/events{/privacy}","received_events_url":"https://api.github.com/users/satyavh/received_events","type":"User","site_admin":false},"repo":{"id":40833142,"name":"Meteor-Mailer","full_name":"satyavh/Meteor-Mailer","owner":{"login":"satyavh","id":3264269,"avatar_url":"https://avatars.githubusercontent.com/u/3264269?v=3","gravatar_id":"","url":"https://api.github.com/users/satyavh","html_url":"https://github.com/satyavh","followers_url":"https://api.github.com/users/satyavh/followers","following_url":"https://api.github.com/users/satyavh/following{/other_user}","gists_url":"https://api.github.com/users/satyavh/gists{/gist_id}","starred_url":"https://api.github.com/users/satyavh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satyavh/subscriptions","organizations_url":"https://api.github.com/users/satyavh/orgs","repos_url":"https://api.github.com/users/satyavh/repos","events_url":"https://api.github.com/users/satyavh/events{/privacy}","received_events_url":"https://api.github.com/users/satyavh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/satyavh/Meteor-Mailer","description":"Send HTML email, email templating, send emails via SMTP [SERVER ONLY]","fork":true,"url":"https://api.github.com/repos/satyavh/Meteor-Mailer","forks_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/forks","keys_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/teams","hooks_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/hooks","issue_events_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/issues/events{/number}","events_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/events","assignees_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/assignees{/user}","branches_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/branches{/branch}","tags_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/tags","blobs_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/git/refs{/sha}","trees_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/statuses/{sha}","languages_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/languages","stargazers_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/stargazers","contributors_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/contributors","subscribers_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/subscribers","subscription_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/subscription","commits_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/commits{/sha}","git_commits_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/git/commits{/sha}","comments_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/comments{/number}","issue_comment_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/issues/comments{/number}","contents_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/contents/{+path}","compare_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/merges","archive_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/downloads","issues_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/issues{/number}","pulls_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/pulls{/number}","milestones_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/milestones{/number}","notifications_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/labels{/name}","releases_url":"https://api.github.com/repos/satyavh/Meteor-Mailer/releases{/id}","created_at":"2015-08-16T18:36:09Z","updated_at":"2015-08-16T18:36:10Z","pushed_at":"2015-08-16T18:58:55Z","git_url":"git://github.com/satyavh/Meteor-Mailer.git","ssh_url":"git@github.com:satyavh/Meteor-Mailer.git","clone_url":"https://github.com/satyavh/Meteor-Mailer.git","svn_url":"https://github.com/satyavh/Meteor-Mailer","homepage":"https://atmospherejs.com/ostrio/mailer","size":142,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","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":"VeliovGroup:master","ref":"master","sha":"4dc467e94e11a682368f2e1c58fb028c0c47f0bd","user":{"login":"VeliovGroup","id":1717470,"avatar_url":"https://avatars.githubusercontent.com/u/1717470?v=3","gravatar_id":"","url":"https://api.github.com/users/VeliovGroup","html_url":"https://github.com/VeliovGroup","followers_url":"https://api.github.com/users/VeliovGroup/followers","following_url":"https://api.github.com/users/VeliovGroup/following{/other_user}","gists_url":"https://api.github.com/users/VeliovGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/VeliovGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VeliovGroup/subscriptions","organizations_url":"https://api.github.com/users/VeliovGroup/orgs","repos_url":"https://api.github.com/users/VeliovGroup/repos","events_url":"https://api.github.com/users/VeliovGroup/events{/privacy}","received_events_url":"https://api.github.com/users/VeliovGroup/received_events","type":"Organization","site_admin":false},"repo":{"id":30537903,"name":"Meteor-Mailer","full_name":"VeliovGroup/Meteor-Mailer","owner":{"login":"VeliovGroup","id":1717470,"avatar_url":"https://avatars.githubusercontent.com/u/1717470?v=3","gravatar_id":"","url":"https://api.github.com/users/VeliovGroup","html_url":"https://github.com/VeliovGroup","followers_url":"https://api.github.com/users/VeliovGroup/followers","following_url":"https://api.github.com/users/VeliovGroup/following{/other_user}","gists_url":"https://api.github.com/users/VeliovGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/VeliovGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VeliovGroup/subscriptions","organizations_url":"https://api.github.com/users/VeliovGroup/orgs","repos_url":"https://api.github.com/users/VeliovGroup/repos","events_url":"https://api.github.com/users/VeliovGroup/events{/privacy}","received_events_url":"https://api.github.com/users/VeliovGroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/VeliovGroup/Meteor-Mailer","description":"Send HTML email, email templating, send emails via SMTP [SERVER ONLY]","fork":false,"url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer","forks_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/forks","keys_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/teams","hooks_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/hooks","issue_events_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/issues/events{/number}","events_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/events","assignees_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/assignees{/user}","branches_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/branches{/branch}","tags_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/tags","blobs_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/git/refs{/sha}","trees_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/statuses/{sha}","languages_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/languages","stargazers_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/stargazers","contributors_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/contributors","subscribers_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/subscribers","subscription_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/subscription","commits_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/commits{/sha}","git_commits_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/git/commits{/sha}","comments_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/comments{/number}","issue_comment_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/issues/comments{/number}","contents_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/contents/{+path}","compare_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/merges","archive_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/downloads","issues_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/issues{/number}","pulls_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/pulls{/number}","milestones_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/milestones{/number}","notifications_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/labels{/name}","releases_url":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/releases{/id}","created_at":"2015-02-09T13:50:18Z","updated_at":"2015-08-07T19:13:59Z","pushed_at":"2015-08-20T15:34:44Z","git_url":"git://github.com/VeliovGroup/Meteor-Mailer.git","ssh_url":"git@github.com:VeliovGroup/Meteor-Mailer.git","clone_url":"https://github.com/VeliovGroup/Meteor-Mailer.git","svn_url":"https://github.com/VeliovGroup/Meteor-Mailer","homepage":"https://atmospherejs.com/ostrio/mailer","size":142,"stargazers_count":1,"watchers_count":1,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/pulls/3"},"html":{"href":"https://github.com/VeliovGroup/Meteor-Mailer/pull/3"},"issue":{"href":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/issues/3"},"comments":{"href":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/VeliovGroup/Meteor-Mailer/statuses/d473d493651ee98a432b4061b101561cba60c774"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dr-dimitru","id":1686778,"avatar_url":"https://avatars.githubusercontent.com/u/1686778?v=3","gravatar_id":"","url":"https://api.github.com/users/dr-dimitru","html_url":"https://github.com/dr-dimitru","followers_url":"https://api.github.com/users/dr-dimitru/followers","following_url":"https://api.github.com/users/dr-dimitru/following{/other_user}","gists_url":"https://api.github.com/users/dr-dimitru/gists{/gist_id}","starred_url":"https://api.github.com/users/dr-dimitru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dr-dimitru/subscriptions","organizations_url":"https://api.github.com/users/dr-dimitru/orgs","repos_url":"https://api.github.com/users/dr-dimitru/repos","events_url":"https://api.github.com/users/dr-dimitru/events{/privacy}","received_events_url":"https://api.github.com/users/dr-dimitru/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":2,"additions":16,"deletions":13,"changed_files":1}}