Class: Repp::Handler::Slack::SlackReceive
- Inherits:
-
Event::Receive
- Object
- Event::Base
- Event::Receive
- Repp::Handler::Slack::SlackReceive
- Defined in:
- lib/repp/handler/slack.rb
Constant Summary
Constants included from Event::Attributes
Event::Attributes::EVENT_TYPE, Event::Attributes::RECERVED_WORDS
Instance Method Summary collapse
Methods inherited from Event::Base
Methods included from Event::Attributes
Constructor Details
This class inherits a constructor from Repp::Event::Base
Instance Method Details
#bot=(switch) ⇒ Object
12 |
# File 'lib/repp/handler/slack.rb', line 12 def bot=(switch); @is_bot = switch; end |
#bot? ⇒ Boolean
11 |
# File 'lib/repp/handler/slack.rb', line 11 def bot?; !!@is_bot; end |