Module: Hg::Messenger::Bot
- Defined in:
- lib/hg/messenger/bot.rb
Defined Under Namespace
Modules: ClassMethods, Controllers
Constant Summary collapse
- ONBOARDING_PARAM =
'onboarding'.freeze
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/hg/messenger/bot.rb', line 25 def self.included(base) base.extend ClassMethods base.chunks = [] base.call_to_actions = [] base.nested_call_to_actions = [] base. =[] # TODO: Need to figure this out. # Since the class itself represents the bot, it must be immutable for thread-safety. # base.freeze end |