You are here

public function RemoteCalls::__construct in Anti Spam by CleanTalk 9.1.x

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

File

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

Class

RemoteCalls

Namespace

Cleantalk\Common

Code

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