Skip to content

Commit

Permalink
Update customization object on successful set
Browse files Browse the repository at this point in the history
  • Loading branch information
ebcayabyab committed Jul 12, 2016
1 parent f62fb75 commit 062a241
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/PayMaya/API/Customization.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ public function set()
{
$customizationInformation = json_decode(json_encode($this), true);
$response = $this->apiManager->setCustomization($customizationInformation);
$responseArr = json_decode($response, true);

$this->logoUrl = $responseArr["logoUrl"];
$this->iconUrl = $responseArr["iconUrl"];
$this->appleTouchIconUrl = $responseArr["appleTouchIconUrl"];
$this->customTitle = $responseArr["customTitle"];
$this->colorScheme = $responseArr["colorScheme"];

return $response;
}

Expand Down

0 comments on commit 062a241

Please sign in to comment.