class Aws::Lex::Conversation::Response::ElicitSlot
Attributes
slot_to_elicit[RW]
Public Class Methods
new(opts = {})
click to toggle source
Calls superclass method
Aws::Lex::Conversation::Response::Base::new
# File lib/aws/lex/conversation/response/elicit_slot.rb, line 10 def initialize(opts = {}) super self.slot_to_elicit = opts.fetch(:slot_to_elicit) session_state.dialog_action = dialog_action end
Public Instance Methods
dialog_action()
click to toggle source
# File lib/aws/lex/conversation/response/elicit_slot.rb, line 16 def dialog_action Aws::Lex::Conversation::Type::DialogAction.shrink_wrap( type: 'ElicitSlot', slotToElicit: slot_to_elicit ) end