Module: Workflows::StepService
- Included in:
- Example::Signup::CreateUserService, Example::Signup::NotifyAdminService, Example::Signup::NotifyUserService
- Defined in:
- lib/workflows/step_service.rb
Instance Method Summary collapse
- #args ⇒ Object (also: #get_args)
- #get_output ⇒ Object
- #get_state ⇒ Object
-
#set_args(args) ⇒ Object
Getter, Setter methods.
- #set_output(output) ⇒ Object
- #set_state(state) ⇒ Object
Instance Method Details
#args ⇒ Object Also known as: get_args
17 18 19 |
# File 'lib/workflows/step_service.rb', line 17 def args @wf_args end |
#get_output ⇒ Object
34 35 36 |
# File 'lib/workflows/step_service.rb', line 34 def get_output @wf_output end |
#get_state ⇒ Object
26 27 28 |
# File 'lib/workflows/step_service.rb', line 26 def get_state @wf_state end |
#set_args(args) ⇒ Object
Getter, Setter methods
12 13 14 15 |
# File 'lib/workflows/step_service.rb', line 12 def set_args(args) @wf_args ||= OpenStruct.new(args) end |
#set_output(output) ⇒ Object
30 31 32 |
# File 'lib/workflows/step_service.rb', line 30 def set_output(output) @wf_output = output end |
#set_state(state) ⇒ Object
22 23 24 |
# File 'lib/workflows/step_service.rb', line 22 def set_state(state) @wf_state = OpenStruct.new(state) end |