Module: Aws::Lex::Conversation::Support::Mixins::SlotElicitation::ClassMethods

Defined in:
lib/aws/lex/conversation/support/mixins/slot_elicitation.rb

Instance Method Summary collapse

Instance Method Details

#slot(opts = {}) ⇒ Object



36
37
38
39
40
41
# File 'lib/aws/lex/conversation/support/mixins/slot_elicitation.rb', line 36

def slot(opts = {})
  self.slots_to_elicit ||= []
  self.slots_to_elicit.push(
    Aws::Lex::Conversation::Slot::Elicitation.new(opts)
  )
end