You are here

public function RemoteCalls::__construct in Anti Spam by CleanTalk 8.4

Same name and namespace in other branches
  1. 9.1.x src/lib/Cleantalk/Common/RemoteCalls.php \Cleantalk\Common\RemoteCalls::__construct()

File

src/lib/Cleantalk/Common/RemoteCalls.php, line 49

Class

RemoteCalls

Namespace

Cleantalk\Common

Code

public function __construct($api_key) {
  $this->api_key = $api_key;
  $this->available_rc_actions = $this
    ->getAvailableRcActions();
}