diff --git a/README.md b/README.md index bd317fe..b4af643 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ ## ChangeDispenserController Class +Provides a simple API for the veding machine change dispenser. ### Methods #### calculateChange(unitsTendered, price) @@ -7,7 +8,7 @@ **price:** Number. The units tendered match the currency for price, which is why price is just a number. -**Returns** true if change can succesfully be dispensed, otherwise returns false to issue a refund and cancel the product. +**Returns** true if change will successfully be dispensed, otherwise returns false to issue a refund and cancel the product. ## ChangeDispenser Class An instance of ChangeDispenser is programmed to physically know what change it has to dispense and physically how to dispense it. ChangeDispenser is a thin JavaScript layer over native code. -- libgit2 0.21.2