Class: Siren::Compose::RestartPolicy

Inherits:
Struct
  • Object
show all
Includes:
HashInitialize
Defined in:
lib/siren/compose/types.rb

Instance Attribute Summary collapse

Method Summary

Methods included from HashInitialize

#initialize

Instance Attribute Details

#conditionObject

Returns the value of attribute condition



42
43
44
# File 'lib/siren/compose/types.rb', line 42

def condition
  @condition
end

#delayObject

Returns the value of attribute delay



42
43
44
# File 'lib/siren/compose/types.rb', line 42

def delay
  @delay
end

#max_attemptsObject

Returns the value of attribute max_attempts



42
43
44
# File 'lib/siren/compose/types.rb', line 42

def max_attempts
  @max_attempts
end

#windowObject

Returns the value of attribute window



42
43
44
# File 'lib/siren/compose/types.rb', line 42

def window
  @window
end