You are here

public function Partner::getReadUri in Lockr 7.2

Same name and namespace in other branches
  1. 7 src/Lockr/Partner.php \Lockr\Partner::getReadUri()

Gets the partner base URI for reading data.

Overrides PartnerInterface::getReadUri

File

vendor/lockr/lockr-client/src/Partner.php, line 46

Class

Partner

Namespace

Lockr

Code

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