class Aws::Lex::Conversation::Response::ElicitIntent

Attributes

message[RW]
response_card[RW]

Public Class Methods

new(opts = {}) click to toggle source
# File lib/aws/lex/conversation/response/elicit_intent.rb, line 10
def initialize(opts = {})
  super
  session_state.dialog_action = dialog_action
  # by default, we set intent as nil unless overridden
  session_state.intent = opts[:intent]
end

Public Instance Methods

dialog_action() click to toggle source
# File lib/aws/lex/conversation/response/elicit_intent.rb, line 17
def dialog_action
  Aws::Lex::Conversation::Type::DialogAction.shrink_wrap(
    type: 'ElicitIntent'
  )
end