Class: JobWorkflow::Monitoring::ExecutionPage

Inherits:
Object
  • Object
show all
Defined in:
lib/job_workflow/monitoring/execution_page.rb,
sig/generated/job_workflow/monitoring/execution_page.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(executions:, next_cursor:) ⇒ ExecutionPage

: (executions: Array, next_cursor: String?) -> void

Parameters:



10
11
12
13
# File 'lib/job_workflow/monitoring/execution_page.rb', line 10

def initialize(executions:, next_cursor:)
  @executions = executions
  @next_cursor = next_cursor
end

Instance Attribute Details

#executionsArray[ExecutionViewModel] (readonly)

Signature:

  • Array[ExecutionViewModel]

Returns:



6
7
8
# File 'lib/job_workflow/monitoring/execution_page.rb', line 6

def executions
  @executions
end

#next_cursorString? (readonly)

Signature:

  • String?

Returns:

  • (String, nil)


7
8
9
# File 'lib/job_workflow/monitoring/execution_page.rb', line 7

def next_cursor
  @next_cursor
end