Skip to content

Commit

Permalink
added get/setPurse, made account parameter mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Mar 27, 2017
1 parent f970bb3 commit 359b4bf
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ public function setAccount($value)
return $this->setParameter('account', $value);
}

public function getPurse()
{
return $this->getAccount();
}

public function setPurse($value)
{
return $this->setAccount($value);
}

public function getAccountName()
{
return $this->getParameter('account_name');
Expand All @@ -47,7 +57,6 @@ public function setSecret($value)
public function getDefaultParameters()
{
return array(
'account' => '',
'account_name' => '',
'secret' => '',
);
Expand Down

0 comments on commit 359b4bf

Please sign in to comment.