Skip to content

Commit

Permalink
Reseller login added
Browse files Browse the repository at this point in the history
  • Loading branch information
hakanersu committed Feb 18, 2019
1 parent 80a372b commit f21bf17
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Api/Reseller.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,12 @@ public function get($id)
{
return $this->request('resellers/details.json', ['reseller-id' => $id], 'GET', false);
}

public function loginToken($id, $ip)
{
return $this->request('resellers/generate-login-token.json', [
'reseller-id' => $id,
'ip' => $ip,
], 'GET', false);
}
}

0 comments on commit f21bf17

Please sign in to comment.