Module: Xtend::ApiAiHandler
- Defined in:
- lib/xtend/api_ai_handler.rb
Instance Method Summary collapse
Instance Method Details
#should_reply?(message) ⇒ Boolean
3 4 5 6 7 |
# File 'lib/xtend/api_ai_handler.rb', line 3 def should_reply?() # don't reply if user don't be authenticated (solve duplicated answers problem) return unless &.source&.user&.['cpf'] true end |