Skip to content

Commit

Permalink
Allow other endpoints besides live/OTE
Browse files Browse the repository at this point in the history
  • Loading branch information
ramitinmah-inwx committed Sep 9, 2021
1 parent 438c7e4 commit 0edb3b2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Domrobot.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,20 @@ public function useOte(): self
return $this;
}

/**
* Configures the Domrobot to use a specified URL as endpoint.
*
* @param string $url
*
* @return self
*/
public function useUrl(string $url): self
{
$this->url = $url;

return $this;
}

/**
* @return bool Is the Domrobot configured to use the live endpoint?
*/
Expand Down

0 comments on commit 0edb3b2

Please sign in to comment.