class Monosasi::DSL::Context::Rule::Target::BatchParameters

Attributes

result[R]

Public Class Methods

new(context, &block) click to toggle source
# File lib/monosasi/dsl/context/rule/target/batch_parameters.rb, line 4
def initialize(context, &block)
  @context = context
  @result = {}
  instance_eval(&block)
end

Private Instance Methods

job_definition(value) click to toggle source
# File lib/monosasi/dsl/context/rule/target/batch_parameters.rb, line 14
def job_definition(value)
  @result[:job_definition] = value.to_s
end
job_name(value) click to toggle source
# File lib/monosasi/dsl/context/rule/target/batch_parameters.rb, line 18
def job_name(value)
  @result[:job_name] = value.to_s
end