lamassu-server/lib
Maciej Małecki d6a0f17e80 Get started with Trade class
The reason for isolating the trader class is testability. It's hard to
properly test code with as much global state as files in `lib/api` had.

With a `Trader` class we can easily instantiate multiple objects, with
different configs, without the need for seeding the database with test
configs, effectively enabling us to do unit tests as well as integration
tests.

Besides that, this will allow easier reconfiguration, thanks to
`Trader#configure` method.
2014-04-14 13:06:48 +02:00
..
protocol Get started with Trade class 2014-04-14 13:06:48 +02:00
app.js Do not re-assign 2014-04-12 13:55:03 +02:00
routes.js Move atm-api.js to routes.js 2014-04-11 03:32:37 +02:00
trader.js Get started with Trade class 2014-04-14 13:06:48 +02:00