Class: Tochtli::BaseController::MessageRoute
- Inherits:
-
Struct
- Object
- Struct
- Tochtli::BaseController::MessageRoute
- Defined in:
- lib/tochtli/base_controller.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#message_class ⇒ Object
Returns the value of attribute message_class.
-
#pattern ⇒ Object
Returns the value of attribute pattern.
-
#routing_key ⇒ Object
Returns the value of attribute routing_key.
Instance Method Summary collapse
-
#initialize(message_class, action, routing_key) ⇒ MessageRoute
constructor
A new instance of MessageRoute.
Constructor Details
#initialize(message_class, action, routing_key) ⇒ MessageRoute
Returns a new instance of MessageRoute.
188 189 190 |
# File 'lib/tochtli/base_controller.rb', line 188 def initialize(, action, routing_key) super , action, routing_key, KeyPattern.new(routing_key) end |
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action
187 188 189 |
# File 'lib/tochtli/base_controller.rb', line 187 def action @action end |
#message_class ⇒ Object
Returns the value of attribute message_class
187 188 189 |
# File 'lib/tochtli/base_controller.rb', line 187 def @message_class end |
#pattern ⇒ Object
Returns the value of attribute pattern
187 188 189 |
# File 'lib/tochtli/base_controller.rb', line 187 def pattern @pattern end |
#routing_key ⇒ Object
Returns the value of attribute routing_key
187 188 189 |
# File 'lib/tochtli/base_controller.rb', line 187 def routing_key @routing_key end |