Class: Simplerubysteps::Wait

Inherits:
State
  • Object
show all
Defined in:
lib/simplerubysteps/model.rb

Instance Attribute Summary

Attributes inherited from State

#name, #state_machine

Instance Method Summary collapse

Methods inherited from State

#[]=, #error_catch, #error_retry, #next=, #render, #task_timeout

Constructor Details

#initialize(name) ⇒ Wait

Returns a new instance of Wait.



184
185
186
187
# File 'lib/simplerubysteps/model.rb', line 184

def initialize(name)
  super
  @dict[:Type] = "Wait"
end

Instance Method Details

#seconds=(s) ⇒ Object



189
190
191
# File 'lib/simplerubysteps/model.rb', line 189

def seconds=(s)
  @dict[:Seconds] = s
end