Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- heroku = Meteor.require("heroku");
- Future = Meteor.require("future");
- Meteor.methods({
- 'getHeroku': function getHeroku(app){
- var fut = new Future();
- client = new heroku.Heroku({key: "xxxxx"});
- client.get_app(app, function (error, result) {
- fut.ret(result);
- });
- return fut.wait();
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement