Class: Lita::Handler::ChatRouter::Route

Inherits:
Struct
  • Object
show all
Defined in:
lib/lita/handler/chat_router.rb

Overview

A Struct representing a chat route defined by a handler.

Since:

  • 4.0.0

Instance Attribute Summary collapse

Instance Attribute Details

#callbackObject

Returns the value of attribute callback


12
13
14
# File 'lib/lita/handler/chat_router.rb', line 12

def callback
  @callback
end

#commandObject 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

#extensionsObject

Returns the value of attribute extensions


12
13
14
# File 'lib/lita/handler/chat_router.rb', line 12

def extensions
  @extensions
end

#helpObject

Returns the value of attribute help


12
13
14
# File 'lib/lita/handler/chat_router.rb', line 12

def help
  @help
end

#patternObject

Returns the value of attribute pattern


12
13
14
# File 'lib/lita/handler/chat_router.rb', line 12

def pattern
  @pattern
end

#required_groupsObject

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