You are here

private function ALProfilesAPI::__construct in Acquia Lift Connector 7

Same name and namespace in other branches
  1. 7.2 acquia_lift_profiles/includes/acquia_lift_profiles.classes.inc \ALProfilesAPI::__construct()

Private constructor as this is a singleton.

Parameters

$account_name: The name of the Acquia Lift Profiles account.

$api_url: The URL to use for API calls.

$access_key: The access key to use for authorization.

$secret_key: The secret key to use for authorization.

File

acquia_lift_profiles/includes/acquia_lift_profiles.classes.inc, line 161
Provides an agent type for Acquia Lift Profiles

Class

ALProfilesAPI
@file Provides an agent type for Acquia Lift Profiles

Code

private function __construct($account_name, $site, $api_url, $access_key, $secret_key) {
  $this->accountName = $account_name;
  $this->customerSite = $site;
  $this->apiUrl = $api_url;
  $this->accessKey = $access_key;
  $this->secretKey = $secret_key;
}