class OnsOnRails::Publishers::Test

Public Class Methods

new(_options) click to toggle source
# File lib/ons_on_rails/publishers/test.rb, line 4
def initialize(_options)
end

Public Instance Methods

publish(topic, tag, body, key) click to toggle source
# File lib/ons_on_rails/publishers/test.rb, line 7
def publish(topic, tag, body, key)
  Publisher.deliveries << { topic: topic, tag: tag, body: body, key: key }
end