class SidekiqUniqueJobs::Lock::Validator
def validate
-
(LockConfig)
- the lock configuration with errors if any
def validate case lock_config.type when :while_executing validate_server when :until_executing validate_client else validate_client validate_server end lock_config end