Class: AWS::Flow::DecisionWrapper Private

Inherits:
Object
  • Object
show all
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

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, options = [])
  @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_decisionObject

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

#keysObject

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