Class: Lita::Handler::ChatRouter::Route
- Inherits:
-
Struct
- Object
- Struct
- Lita::Handler::ChatRouter::Route
- Defined in:
- lib/lita/handler/chat_router.rb,
lib/lita/handler/chat_router.rb
Overview
A Struct representing a chat route defined by a handler.
Instance Attribute Summary collapse
-
#callback ⇒ Object
Returns the value of attribute callback.
-
#command ⇒ Object
(also: #command?)
Returns the value of attribute command.
-
#extensions ⇒ Object
Returns the value of attribute extensions.
-
#help ⇒ Object
Returns the value of attribute help.
-
#pattern ⇒ Object
Returns the value of attribute pattern.
-
#required_groups ⇒ Object
Returns the value of attribute required_groups.
Instance Attribute Details
#callback ⇒ Object
Returns the value of attribute callback
12 13 14 |
# File 'lib/lita/handler/chat_router.rb', line 12 def callback @callback end |
#command ⇒ Object Also known as: command?
Returns the value of attribute command
12 13 14 |
# File 'lib/lita/handler/chat_router.rb', line 12 def command @command end |
#extensions ⇒ Object
Returns the value of attribute extensions
12 13 14 |
# File 'lib/lita/handler/chat_router.rb', line 12 def extensions @extensions end |
#help ⇒ Object
Returns the value of attribute help
12 13 14 |
# File 'lib/lita/handler/chat_router.rb', line 12 def help @help end |
#pattern ⇒ Object
Returns the value of attribute pattern
12 13 14 |
# File 'lib/lita/handler/chat_router.rb', line 12 def pattern @pattern end |
#required_groups ⇒ Object
Returns the value of attribute required_groups
12 13 14 |
# File 'lib/lita/handler/chat_router.rb', line 12 def required_groups @required_groups end |