class Aws::Lex::Conversation::Response::Close
Public Class Methods
new(opts = {})
click to toggle source
Calls superclass method
Aws::Lex::Conversation::Response::Base::new
# File lib/aws/lex/conversation/response/close.rb, line 8 def initialize(opts = {}) super session_state.dialog_action = dialog_action session_state.intent.state = opts.fetch(:fulfillment_state) end
Public Instance Methods
dialog_action()
click to toggle source
# File lib/aws/lex/conversation/response/close.rb, line 14 def dialog_action Aws::Lex::Conversation::Type::DialogAction.shrink_wrap( type: 'Close' ) end