Skip to content

Commit

Permalink
Update Registration.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanariel committed Apr 26, 2016
1 parent 8251eb0 commit 986e775
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Services/Commands/Domain/Registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -425,4 +425,17 @@ public function getDomainRetailPricing($useQtyEngine = 0, $years = 1)

return $data;
}

/**
* Get TLD list
*
* @return SimpleXMLElement
*/
public function getTldList()
{
$command = 'GetTLDList';
$data = $this->makeRequest($command, $this->payload);

return $data->tldlist;
}
}

0 comments on commit 986e775

Please sign in to comment.