Sha256: 0d1eb24f4b536890ea9c5c94589de0ac96a4a9444fec2ba764ec5031dfda90a8

Contents?: true

Size: 230 Bytes

Versions: 95

Compression:

Stored size: 230 Bytes

Contents

# frozen_string_literal: true

class TestConsumer < ApplicationConsumer
  def index
    data = {fuubar: 'abc'}

    publish data, to: 'local.test.another_action'
  end

  def another_action
    puts payload.inspect.to_s
  end
end

Version data entries

95 entries across 95 versions & 1 rubygems

Version Path
msgr-1.4.0 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-1.3.2 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-1.3.1 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-1.3.0 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-1.2.0 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-1.1.0.1.b306 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-1.1.0.1.b305 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-1.1.0.1.b302 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-1.1.0.1.b301 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-1.1.0.1.b300 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-1.1.0.1.b297 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-1.1.0.1.b296 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-1.1.0.1.b295 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-1.1.0.1.b292 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-1.1.0.1.b291 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-1.1.0.1.b288 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-1.1.0.1.b285 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-1.1.0.1.b263 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-1.1.0.1.b249 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-1.1.0.1.b248 spec/integration/dummy/app/consumers/test_consumer.rb