getPublicKey() 공개 메소드

Return public key
public getPublicKey ( ) : string
리턴 string
예제 #1
0
파일: ApiTest.php 프로젝트: kostya1017/our
 /**
  * Is public key valid?
  */
 public function testPublicKeyValid()
 {
     $api = new Api(UC_PUBLIC_KEY, UC_SECRET_KEY);
     $this->assertTrue($api->getPublicKey() == 'demopublickey', 'This is true');
 }
예제 #2
0
 /**
  * Is public key valid?
  */
 public function testPublicKeyValid()
 {
     $this->assertTrue($this->api->getPublicKey() == 'demopublickey', 'This is true');
 }