Apple_Actions\API_Action::fetch_credentials PHP Method

fetch_credentials() private method

Fetch the current API credentials.
private fetch_credentials ( ) : Apple_Push_API\Credentials
return Apple_Push_API\Credentials
    private function fetch_credentials()
    {
        $key = $this->get_setting('api_key');
        $secret = $this->get_setting('api_secret');
        return new Credentials($key, $secret);
    }