Class: AWS::Flow::MethodPair

Inherits:
Object
  • Object
show all
Defined in:
lib/aws/decider/decider.rb

Overview

Groups a method name with an associated data converter.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(method_name, data_converter) ⇒ MethodPair

Creates a new MethodPair instance.

Parameters:

  • method_name

    The method name for the method pair.

  • data_converter

    The data converter for the method pair.



35
36
37
38
# File 'lib/aws/decider/decider.rb', line 35

def initialize(method_name, data_converter)
  @method_name = method_name
  @data_converter = data_converter
end

Instance Attribute Details

#data_converterObject

The data converter for the method pair.



25
26
27
# File 'lib/aws/decider/decider.rb', line 25

def data_converter
  @data_converter
end

#method_nameObject

The method name for the method pair.



22
23
24
# File 'lib/aws/decider/decider.rb', line 22

def method_name
  @method_name
end