Class: AWS::Flow::DecisionWrapper Private
- Inherits:
-
Object
- Object
- AWS::Flow::DecisionWrapper
- Defined in:
- lib/aws/decider/async_decider.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #consume(symbol) ⇒ Object private
- #get_decision ⇒ Object private
-
#initialize(id, decision, options = []) ⇒ DecisionWrapper
constructor
private
TODO Consider taking out the id, it’s unclear if it is needed.
-
#keys ⇒ Object
private
quack like a decision, too.
Constructor Details
#initialize(id, decision, options = []) ⇒ DecisionWrapper
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
TODO Consider taking out the id, it’s unclear if it is needed
64 65 66 67 |
# File 'lib/aws/decider/async_decider.rb', line 64 def initialize(id, decision, = []) @decision = decision @id = id end |
Instance Method Details
#consume(symbol) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
74 75 76 |
# File 'lib/aws/decider/async_decider.rb', line 74 def consume(symbol) # quack like a state machine end |
#get_decision ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
70 71 72 |
# File 'lib/aws/decider/async_decider.rb', line 70 def get_decision @decision end |
#keys ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
quack like a decision, too
78 79 80 |
# File 'lib/aws/decider/async_decider.rb', line 78 def keys return [] end |