Class: Primer::Bus::Memory

Inherits:
Primer::Bus show all
Defined in:
lib/primer/bus/memory.rb

Instance Method Summary collapse

Methods inherited from Primer::Bus

#distribute, #initialize, #subscribe, #unsubscribe, #unsubscribe_all

Constructor Details

This class inherits a constructor from Primer::Bus

Instance Method Details

#publish(topic, message) ⇒ Object



5
6
7
# File 'lib/primer/bus/memory.rb', line 5

def publish(topic, message)
  distribute(topic, message)
end