Bug in addCard method example
kblestarge opened this issue · comments
This example doesn't work:
creditCardType.addCard(visa.type, visa);
The addCard method only seems to work with one object as a param. Like this:
creditCardType.addCard(visa);
*visa is an object returned and altered from the getTypeInfo method.
Would you like to update the docs?
Sure! Give me a couple hours and I'll submit a pull request.