Sha256: b7b541fe7c0acd259f6acf4b450ff7700633a38489e120bfc31b717c47c185a5

Contents?: true

Size: 340 Bytes

Versions: 16

Compression:

Stored size: 340 Bytes

Contents

object @recurring_logic

attributes :id, :cron_line, :end_time, :iteration, :task_group_id, :state,
           :max_iteration, :purpose

node(:task_count) { |rl| rl.tasks.count }
node(:action) { |rl| rl.tasks.first.try(:action) }
node(:last_occurence) { |rl| rl.last_task&.started_at }
node(:next_occurence) { |rl| rl.next_task&.start_at }

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
foreman-tasks-8.3.3 app/views/foreman_tasks/api/recurring_logics/base.json.rabl
foreman-tasks-9.0.0 app/views/foreman_tasks/api/recurring_logics/base.json.rabl
foreman-tasks-8.2.1 app/views/foreman_tasks/api/recurring_logics/base.json.rabl
foreman-tasks-8.1.4 app/views/foreman_tasks/api/recurring_logics/base.json.rabl
foreman-tasks-8.3.2 app/views/foreman_tasks/api/recurring_logics/base.json.rabl
foreman-tasks-8.3.1 app/views/foreman_tasks/api/recurring_logics/base.json.rabl
foreman-tasks-8.1.3 app/views/foreman_tasks/api/recurring_logics/base.json.rabl
foreman-tasks-8.3.0 app/views/foreman_tasks/api/recurring_logics/base.json.rabl
foreman-tasks-8.2.0 app/views/foreman_tasks/api/recurring_logics/base.json.rabl
foreman-tasks-8.1.2 app/views/foreman_tasks/api/recurring_logics/base.json.rabl
foreman-tasks-8.1.1 app/views/foreman_tasks/api/recurring_logics/base.json.rabl
foreman-tasks-8.1.0 app/views/foreman_tasks/api/recurring_logics/base.json.rabl
foreman-tasks-8.0.2 app/views/foreman_tasks/api/recurring_logics/base.json.rabl
foreman-tasks-8.0.1 app/views/foreman_tasks/api/recurring_logics/base.json.rabl
foreman-tasks-8.0.0 app/views/foreman_tasks/api/recurring_logics/base.json.rabl
foreman-tasks-7.2.1 app/views/foreman_tasks/api/recurring_logics/base.json.rabl