Kernel::System::DataValidation::Validator::WebService::Name

NAME

Kernel::System::DataValidation::Validator::WebService::Name – Validator that verifies a given web service name.

PUBLIC INTERFACE

Provides a Check method, that will be called by the Kernel::System::DataValidation backend.

Example()

Returns an example of a possible value to be verified.

Check()

Lookups the given web service name in the database. For more information about the web service backend, please refer to Kernel::System::GenericInterface::Webservice.

    my $True = $Validator->Check(
        Value => 'SomeName',
    );

    my $False = $Validator->Check(
        Value => 'WrongName',
    );
Scroll to Top