Sha256: a9bd3aab0838fdf77bf61a458c2e9786dfcb9221391aca9985599a55be5dadf6

Contents?: true

Size: 356 Bytes

Versions: 21

Compression:

Stored size: 356 Bytes

Contents

# frozen_string_literal: true

# Test events response
class EventTest
  def actions
    lambda do |reason, payload|
      ::Log.info "Reason : #{reason}"
      ::Log.info "Payload : #{payload}"
    end
  end
end

# Initialize listener
# actions = EventTest.new.actions
# @event = RubyRabbitmqJanus::Process::Concurrencies::Event.new
# @event.run(&actions)

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-4.0.0.pre.949167646 spec/config/initializer.rb
ruby_rabbitmq_janus-4.0.0.pre.946892338 spec/config/initializer.rb
ruby_rabbitmq_janus-4.0.0.pre.946565704 spec/config/initializer.rb
ruby_rabbitmq_janus-4.0.0.pre.939149205 spec/config/initializer.rb
ruby_rabbitmq_janus-4.0.0.pre.939137013 spec/config/initializer.rb
ruby_rabbitmq_janus-4.0.0.pre.939133437 spec/config/initializer.rb
ruby_rabbitmq_janus-4.0.0.pre.939119110 spec/config/initializer.rb
ruby_rabbitmq_janus-4.0.0.pre.939113634 spec/config/initializer.rb
ruby_rabbitmq_janus-4.0.0.pre.850041590 spec/config/initializer.rb
ruby_rabbitmq_janus-3.0.1 spec/config/initializer.rb
ruby_rabbitmq_janus-3.0.0 spec/config/initializer.rb
ruby_rabbitmq_janus-3.0.0.pre.387 spec/config/initializer.rb
ruby_rabbitmq_janus-3.0.0.pre.385 spec/config/initializer.rb
ruby_rabbitmq_janus-3.0.0.pre.384 spec/config/initializer.rb
ruby_rabbitmq_janus-3.0.0.pre.382 spec/config/initializer.rb
ruby_rabbitmq_janus-3.0.0.pre.366 spec/config/initializer.rb
ruby_rabbitmq_janus-3.0.0.pre.364 spec/config/initializer.rb
ruby_rabbitmq_janus-3.0.0.pre.358 spec/config/initializer.rb
ruby_rabbitmq_janus-3.0.0.pre.354 spec/config/initializer.rb
ruby_rabbitmq_janus-3.0.0.pre.352 spec/config/initializer.rb