Class: Karafka::Web::Ui::Models::RecurringTasks::Task

Inherits:
Lib::HashProxy
  • Object
show all
Defined in:
lib/karafka/web/ui/models/recurring_tasks/task.rb

Overview

Represents a single recurring task

Instance Method Summary collapse

Methods inherited from Lib::HashProxy

#initialize, #method_missing, #respond_to_missing?, #to_h

Constructor Details

This class inherits a constructor from Karafka::Web::Ui::Lib::HashProxy

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Karafka::Web::Ui::Lib::HashProxy

Instance Method Details

#enabled?Boolean

Returns true if this task is enabled, otherwise false.

Returns:

  • (Boolean)

    true if this task is enabled, otherwise false



11
12
13
# File 'lib/karafka/web/ui/models/recurring_tasks/task.rb', line 11

def enabled?
  enabled
end