You are here

public function NullPartner::getWriteUri in Lockr 7.2

Gets the partner base URI for writing data.

Overrides PartnerInterface::getWriteUri

File

vendor/lockr/lockr-client/src/NullPartner.php, line 44

Class

NullPartner

Namespace

Lockr

Code

public function getWriteUri() {
  if ($this->region != 'us') {
    return "https://{$this->region}.custom.api.lockr.io";
  }
  return "https://custom.api.lockr.io";
}