public function Partner::getWriteUri in Lockr 7.2
Same name and namespace in other branches
- 7 src/Lockr/Partner.php \Lockr\Partner::getWriteUri()
Gets the partner base URI for writing data.
Overrides PartnerInterface::getWriteUri
File
- vendor/
lockr/ lockr-client/ src/ Partner.php, line 58
Class
Namespace
LockrCode
public function getWriteUri() {
if ($this->region != 'us') {
return "https://{$this->region}.{$this->partner}.api.lockr.io";
}
return "https://{$this->partner}.api.lockr.io";
}