Module: Hat::Patterns::Topic::ClassMethods
- Defined in:
- lib/hat/patterns/topic.rb
Instance Method Summary collapse
Instance Method Details
#listen(key = nil) ⇒ Object
7 8 9 |
# File 'lib/hat/patterns/topic.rb', line 7 def listen(key=nil) self.[:routing_key] = key end |