Class: Aws::Lex::Conversation::Response::ConfirmIntent

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

Methods inherited from Base

#to_lex

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_actionObject



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