Class: AWS::Flow::MethodPair

Inherits:
Object
  • Object
show all
Defined in:
aws-flow-ruby/aws-flow/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

- (MethodPair) initialize(method_name, data_converter)

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 'aws-flow-ruby/aws-flow/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

- (Object) data_converter

The data converter for the method pair.



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

def data_converter
  @data_converter
end

- (Object) method_name

The method name for the method pair.



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

def method_name
  @method_name
end