Closed kblestarge closed 6 years ago
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.
creditCardType.addCard(visa.type, visa);
creditCardType.addCard(visa);
Would you like to update the docs?
Sure! Give me a couple hours and I'll submit a pull request.
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.