Class: AWS::Flow::MethodPair
- Inherits:
-
Object
- Object
- AWS::Flow::MethodPair
- Defined in:
- lib/aws/decider/decider.rb
Overview
Groups a method name with an associated data converter.
Instance Attribute Summary collapse
-
#data_converter ⇒ Object
The data converter for the method pair.
-
#method_name ⇒ Object
The method name for the method pair.
Instance Method Summary collapse
-
#initialize(method_name, data_converter) ⇒ MethodPair
constructor
Creates a new MethodPair instance.
Constructor Details
#initialize(method_name, data_converter) ⇒ MethodPair
Creates a new MethodPair instance.
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_converter ⇒ Object
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_name ⇒ Object
The method name for the method pair.
22 23 24 |
# File 'lib/aws/decider/decider.rb', line 22 def method_name @method_name end |