Skip to content

Instantly share code, notes, and snippets.

@hgezim
Last active December 10, 2015 08:48
Show Gist options
  • Save hgezim/4410072 to your computer and use it in GitHub Desktop.
Save hgezim/4410072 to your computer and use it in GitHub Desktop.
Meteor.methods
sendListToEmails: (from_email, to_emails, list_id, uid) ->
Meteor.http.post('blah')
blah_blue: () ->
console.log "Sup."
create_user: () ->
console.log "In createuser Meteor method."
Meteor.methods({
sendListToEmails: function(from_email, to_emails, list_id, uid) {}
});
Meteor.http.post('blah')({
blah_blue: function() {
return console.log("Sup.");
},
create_user: function() {
return console.log("In createuser Meteor method.");
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment