Correctly sets setup_fee on pricing output object

- Fixes #144

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
Fixes rounding issues around tax and floats

- tax amounts are truncated to 6 decimals before being added to totals
- same for discounts
- fixes #147

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
Version 3.0.6

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
Fixes example usage of deprecated attach alias

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
Fixes relay name

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
Removes examples and refers to example repo in README

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
Adds plan unit price and setup fee to pricing output

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
Consolidates base prices on pricing output

- breaks plan price calculation into its own method
- fits better into Pricing Calculations procedures

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
Adds plan base price support to pricing .attach

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
Fixes addon base price attachment

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
Version 3.0.7

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
Merge pull request #150 from recurly/pricing-plan

Adds plan unit price and setup fee to pricing output
Converts build to duo

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
Adds components for duo

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
Uses then/promise over chrissrogers/promise

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
Splits open and relay into separate modules

To step away from the mixin model

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
Updates tests for duo

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
Merge pull request #154 from recurly/use-duo

Use duo
Updates debug component

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
Untracks duo.json

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>