Class: Ruboty::Handlers::SlackTakeTurns
- Inherits:
-
Base
- Object
- Base
- Ruboty::Handlers::SlackTakeTurns
- Defined in:
- lib/ruboty/handlers/slack_take_turns.rb
Overview
manage a duty that members in a slack channel take turns on
Constant Summary collapse
- NAMESPACE =
"slack_take_turns"
Instance Method Summary collapse
- #assign(message) ⇒ Object
- #current(message) ⇒ Object
- #exclude(message) ⇒ Object
- #force(message) ⇒ Object
- #include(message) ⇒ Object
- #members(message) ⇒ Object
- #next(message) ⇒ Object
Instance Method Details
#assign(message) ⇒ Object
71 72 73 |
# File 'lib/ruboty/handlers/slack_take_turns.rb', line 71 def assign() Ruboty::SlackTakeTurns::Actions::Assign.new().call end |
#current(message) ⇒ Object
55 56 57 |
# File 'lib/ruboty/handlers/slack_take_turns.rb', line 55 def current() Ruboty::SlackTakeTurns::Actions::Current.new().call end |
#exclude(message) ⇒ Object
63 64 65 |
# File 'lib/ruboty/handlers/slack_take_turns.rb', line 63 def exclude() Ruboty::SlackTakeTurns::Actions::Exclude.new().call end |
#force(message) ⇒ Object
51 52 53 |
# File 'lib/ruboty/handlers/slack_take_turns.rb', line 51 def force() Ruboty::SlackTakeTurns::Actions::Force.new().call end |
#include(message) ⇒ Object
67 68 69 |
# File 'lib/ruboty/handlers/slack_take_turns.rb', line 67 def include() Ruboty::SlackTakeTurns::Actions::Include.new().call end |
#members(message) ⇒ Object
47 48 49 |
# File 'lib/ruboty/handlers/slack_take_turns.rb', line 47 def members() Ruboty::SlackTakeTurns::Actions::Members.new().call end |
#next(message) ⇒ Object
59 60 61 |
# File 'lib/ruboty/handlers/slack_take_turns.rb', line 59 def next() Ruboty::SlackTakeTurns::Actions::Next.new().call end |