solidgoldpig / mondo-bank

Node wrapper for Mondo API
http://mondo.solidgoldpig.com
The Unlicense
19 stars 1 forks source link

Add option to use staging URL/credentials #26

Closed HugoDF closed 8 years ago

HugoDF commented 8 years ago

Mondo have made a staging platform available, currently the easiest ways to use this as opposed to the live API is to:

  1. modify the file in NPM modules
  2. add a rewrite script to npm post-install hook

Have I missed something? What would be the best way to implement this option?

solidgoldpig commented 8 years ago

Hi Hugo

There's a setHost method now which allows you to override the prodiction value

(I'm currently totally rewriting everything, so that's the best for now ;)

solidgoldpig commented 8 years ago

Done in v0.1.11