コード例 #1
0
ファイル: ApiRequest.php プロジェクト: torann/relateiq
 function __construct($key = null, $secret = null)
 {
     if ($key && $secret) {
         RiqConfig::setKey($key, $secret);
     }
     // Set key & secret
     $this->key = RiqConfig::$key;
     $this->secret = RiqConfig::$secret;
 }
コード例 #2
0
ファイル: Client.php プロジェクト: torann/relateiq
 /**
  * Constructor.
  *
  * @return void
  */
 function __construct($key, $secret, array $listId = array())
 {
     Resource\RiqConfig::setKey($key, $secret);
     $this->listId = $listId;
 }