Joined June 2012
·

James Womack

Senior Software Engineer / Architect at Amco
·
San Francisco, CA, USA
·
·
·

Restify actually does have a redirect method. The problem is that it's signature is different than that of Express. Please see https://www.npmjs.com/package/passport-restify for using Passport w/ Restify.

I love it! Introspection FTW.

+1 The documentation begins with "You should never call this method directly."

Way to contribute!

Posted to Singleton Pattern on Coffeescript over 1 year ago

You'd need to add additional code in a constructor for Manager to ensure there is only one instance or that getInstance is always used.

Achievements
400 Karma
13,971 Total ProTip Views