SHARE
TWEET

Untitled

a guest Jul 14th, 2014 21 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. heroku = Meteor.require("heroku");
  2. Future = Meteor.require("future");
  3.  
  4. Meteor.methods({
  5.         'getHeroku': function getHeroku(app){
  6.                
  7.                 var fut = new Future();        
  8.                
  9.                 client = new heroku.Heroku({key: "xxxxx"});
  10.                 client.get_app(app, function (error, result) {
  11.                         fut.ret(result);
  12.                 });
  13.  
  14.                 return fut.wait();
  15.         }
  16. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top