Class: SolidFlow::Replay::TimerState

Inherits:
Struct
  • Object
show all
Defined in:
lib/solid_flow/replay.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



44
45
46
# File 'lib/solid_flow/replay.rb', line 44

def id
  @id
end

#metadataObject

Returns the value of attribute metadata

Returns:

  • (Object)

    the current value of metadata



44
45
46
# File 'lib/solid_flow/replay.rb', line 44

def 
  @metadata
end

#run_atObject

Returns the value of attribute run_at

Returns:

  • (Object)

    the current value of run_at



44
45
46
# File 'lib/solid_flow/replay.rb', line 44

def run_at
  @run_at
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



44
45
46
# File 'lib/solid_flow/replay.rb', line 44

def status
  @status
end

#stepObject

Returns the value of attribute step

Returns:

  • (Object)

    the current value of step



44
45
46
# File 'lib/solid_flow/replay.rb', line 44

def step
  @step
end

Instance Method Details

#pending?Boolean

Returns:

  • (Boolean)


52
53
54
# File 'lib/solid_flow/replay.rb', line 52

def pending?
  status == :scheduled
end