Sha256: 3c372956a60954d109759b539ba711ec9de8b563d2a073d9f98077e144e5a6cb

Contents?: true

Size: 202 Bytes

Versions: 32

Compression:

Stored size: 202 Bytes

Contents

class TestConsumer < ApplicationConsumer

  def index
    data = { fuubar: 'abc' }

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

  def another_action
    puts "#{payload.inspect}"
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
msgr-0.14.1.1.b125 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.14.1.1.b124 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.14.1.1.b112 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.14.1.1.b111 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.14.1.1.b110 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.14.1 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.14.0 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.13.0 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.12.3 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.12.2 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.12.1 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.12.0 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.11.1 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.11.0 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.11.0.rc3 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.11.0.rc2 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.11.0.rc1 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.10.2 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.10.1 spec/integration/dummy/app/consumers/test_consumer.rb
msgr-0.10.0 spec/integration/dummy/app/consumers/test_consumer.rb