seegno / uphold-sdk-php

Uphold PHP SDK
http://seegno.com
28 stars 24 forks source link

Update card.getAddresses method to retrieve from API #140

Closed nunorafaelrocha closed 8 years ago

nunorafaelrocha commented 8 years ago

This PR updates the card.getAddresses method by removing the $addresses property from the model which no longer is provided on the /me/cards/:cardId.

Now, when the user calls the card.getAddresses method a request is made to the Uphold's API which retrieves the card's list of addresses.