Class: ServiceOperator::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/service_operator/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



7
8
9
10
11
12
13
14
15
16
# File 'lib/service_operator/configuration.rb', line 7

def initialize
  # Operator tries to run this method on step's service defined by `with` argument.
  @call_method_name = :call

  # Operator tries to run this method on step's service for fetching arguments list.
  @call_parameters_method_name = nil

  # Operator tries to run this method on step's service for checking failure status.
  @failure_method_name = nil
end

Instance Attribute Details

#call_method_nameObject

Returns the value of attribute call_method_name.



5
6
7
# File 'lib/service_operator/configuration.rb', line 5

def call_method_name
  @call_method_name
end

#call_parameters_method_nameObject

Returns the value of attribute call_parameters_method_name.



5
6
7
# File 'lib/service_operator/configuration.rb', line 5

def call_parameters_method_name
  @call_parameters_method_name
end

#failure_method_nameObject

Returns the value of attribute failure_method_name.



5
6
7
# File 'lib/service_operator/configuration.rb', line 5

def failure_method_name
  @failure_method_name
end