Class: ConvenientService::Examples::Standard::ComprehensiveSuite::Services::ServiceWithAllTypesOfSteps

Inherits:
Object
  • Object
show all
Includes:
Service::Configs::Standard
Defined in:
lib/convenient_service/examples/standard/comprehensive_suite/services/service_with_all_types_of_steps.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(out: $stdout) ⇒ ServiceWithAllTypesOfSteps

Returns a new instance of ServiceWithAllTypesOfSteps.



46
47
48
# File 'lib/convenient_service/examples/standard/comprehensive_suite/services/service_with_all_types_of_steps.rb', line 46

def initialize(out: $stdout)
  @out = out
end

Instance Attribute Details

#outObject (readonly)

Returns the value of attribute out.



11
12
13
# File 'lib/convenient_service/examples/standard/comprehensive_suite/services/service_with_all_types_of_steps.rb', line 11

def out
  @out
end

Instance Method Details

#SuccessServiceObject

TODO: Add support of the single hash with multiple inputs.



16
17
# File 'lib/convenient_service/examples/standard/comprehensive_suite/services/service_with_all_types_of_steps.rb', line 16

step SuccessService,
in: {index: -> { 0 }}