Class: Aws::Lex::Conversation::Response::ConfirmIntent
- Defined in:
- lib/aws/lex/conversation/response/confirm_intent.rb
Instance Attribute Summary
Attributes inherited from Base
#fulfillment_state, #messages, #request_attributes, #session_state
Instance Method Summary collapse
- #dialog_action ⇒ Object
-
#initialize(opts = {}) ⇒ ConfirmIntent
constructor
A new instance of ConfirmIntent.
Methods inherited from Base
Constructor Details
#initialize(opts = {}) ⇒ ConfirmIntent
Returns a new instance of ConfirmIntent.
8 9 10 11 |
# File 'lib/aws/lex/conversation/response/confirm_intent.rb', line 8 def initialize(opts = {}) super session_state.dialog_action = dialog_action end |
Instance Method Details
#dialog_action ⇒ Object
13 14 15 16 17 |
# File 'lib/aws/lex/conversation/response/confirm_intent.rb', line 13 def dialog_action Aws::Lex::Conversation::Type::DialogAction.shrink_wrap( type: 'ConfirmIntent' ) end |