Class: Monosasi::DSL::Context::Rule::Target::BatchParameters::BatchRetryStrategy

Inherits:
Object
  • Object
show all
Includes:
TemplateHelper
Defined in:
lib/monosasi/dsl/context/rule/target/batch_parameters.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from TemplateHelper

#context, #include_template

Constructor Details

#initialize(context, &block) ⇒ BatchRetryStrategy

Returns a new instance of BatchRetryStrategy.



25
26
27
28
29
# File 'lib/monosasi/dsl/context/rule/target/batch_parameters.rb', line 25

def initialize(context, &block)
  @context = context
  @result = {}
  instance_eval(&block)
end

Instance Attribute Details

#resultObject (readonly)

Returns the value of attribute result.



31
32
33
# File 'lib/monosasi/dsl/context/rule/target/batch_parameters.rb', line 31

def result
  @result
end