Sha256: 0215bc9e3515fec81a0c2b270d5d4eea07def29695fdcb02f41ce56b5850e800

Contents?: true

Size: 229 Bytes

Versions: 24

Compression:

Stored size: 229 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

24 entries across 24 versions & 1 rubygems

Version Path
msgr-0.15.2.1.b157 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.15.2.1.b156 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.15.2.1.b155 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.15.2.1.b154 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.15.2.1.b152 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.15.1.1.b151 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.15.2 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.15.1.1.b150 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.15.1.1.b146 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.15.1.1.b145 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.15.1.1.b144 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.15.1.1.b143 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.15.1.1.b141 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.15.0.1.b140 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.15.1 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.15.0.1.b139 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.15.0.1.b136 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.15.0.1.b135 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.15.0.1.b134 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.15.0.1.b131 spec/integration/dummy/app/consumers/test_consumer.rb