Class: Karafka::Pro::RecurringTasks::Contracts::Task

Inherits:
Contracts::Base
  • Object
show all
Defined in:
lib/karafka/pro/recurring_tasks/contracts/task.rb

Overview

Ensures that task details are as expected

Constant Summary collapse

ID_REGEXP =

Regexp to ensure all tasks ids are URL safe

/\A[a-zA-Z0-9_-]{1,}\z/

Method Summary

Methods inherited from Contracts::Base

#validate!