public function syncActiveRecord( $serviceName = null, ActiveRecord $model ) {

        $service = $this->getService( $serviceName );

        if ( $service->isConnected() && ! $this->isExistsSyncModelByActiveRecord( $service, $model ) ) {

            $message  = $model->{$this->modelAttribute};
            $function = $this->absolutePostUrl;

            $url = null;
            if ( is_callable( $function ) && ( $function instanceof Closure ) ) {
                $url = $function( $serviceName, $model->getPrimaryKey() );
            }

            $publishData = $service->publishPost( $message, $url );

            return $this->checkPostData( $publishData ) && $this->createSyncModel( $service, $model, $publishData );

        } else {
            return false;
        }
    }