1
0
Fork 0
mirror of synced 2024-06-29 03:30:34 +12:00

feat: parse currency list

This commit is contained in:
Christy Jacob 2020-12-28 13:51:58 +05:30
parent d5c7445c88
commit 811fbd96bb

View file

@ -58,6 +58,10 @@ class V06 extends Filter {
$parsedResponse = $this->parseContinentList($content);
break;
case Response::MODEL_CURRENCY_LIST:
$parsedResponse = $this->parseCurrencyList($content);
break;
case Response::MODEL_ANY :
$parsedResponse = $content;
break;
@ -74,6 +78,12 @@ class V06 extends Filter {
}
private function parseCurrencyList(array $content)
{
$content['locations'] = [];
return $content;
}
private function parseContinentList(array $content)
{
$continents = $content['continents'];