Exemplo n.º 1
0
 /**
  * This function must be called before any others to initialize the Spreedly account api details
  */
 public static function init($siteName, $apiToken)
 {
     self::$siteName = $siteName;
     self::$apiToken = $apiToken;
     self::$baseUri = "https://spreedly.com/api/v4/{$siteName}";
 }