Sha256: 2a47f5694e0a9b9e0cfae31cc4f8420b149a01a7e822ad6bc71e35484ab8df3f

Contents?: true

Size: 526 Bytes

Versions: 1

Compression:

Stored size: 526 Bytes

Contents

module Types
  class RecurringLogic < Types::BaseObject
    description 'A Recurring Logic'
    model_class ::ForemanTasks::RecurringLogic

    global_id_field :id
    field :cron_line, String
    field :end_time, GraphQL::Types::ISO8601DateTime
    field :max_iteration, Integer
    field :iteration, Integer
    field :state, String
    belongs_to :triggering, Types::Triggering

    def self.graphql_definition
      super.tap { |type| type.instance_variable_set(:@name, 'ForemanTasks::RecurringLogic') }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
foreman-tasks-5.0.0 app/graphql/types/recurring_logic.rb