Sha256: 6d6691c75ff22cd08a77656cf9dd33dca780315d1d78a8c28862a10c8ba7855c

Contents?: true

Size: 362 Bytes

Versions: 42

Compression:

Stored size: 362 Bytes

Contents

class LoggingReceiver

  def self.reset!
    @messages_received = []
    @metadata = []
  end

  def self.messages_received; @messages_received ||= []; end
  def self.metadata; @metadata ||= []; end

  reset!

  def self.handle!(delivery_info,properties,payload)
    messages_received << [ delivery_info,properties,payload ]
    metadata << properties
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
pwwka-1.0.0 spec/integration/support/logging_receiver.rb
pwwka-1.0.0.RC1 spec/integration/support/logging_receiver.rb
pwwka-0.24.0 spec/integration/support/logging_receiver.rb
pwwka-0.23.0 spec/integration/support/logging_receiver.rb
pwwka-0.22.7 spec/integration/support/logging_receiver.rb
pwwka-0.22.7.RC spec/integration/support/logging_receiver.rb
pwwka-0.23.0.RC2 spec/integration/support/logging_receiver.rb
pwwka-0.22.6 spec/integration/support/logging_receiver.rb
pwwka-0.23.RC1 spec/integration/support/logging_receiver.rb
pwwka-0.22.5 spec/integration/support/logging_receiver.rb
pwwka-0.22.4 spec/integration/support/logging_receiver.rb
pwwka-0.22.3 spec/integration/support/logging_receiver.rb
pwwka-0.22.2 spec/integration/support/logging_receiver.rb
pwwka-0.21.3 spec/integration/support/logging_receiver.rb
pwwka-0.22.2.RC4 spec/integration/support/logging_receiver.rb
pwwka-0.22.2.RC3 spec/integration/support/logging_receiver.rb
pwwka-0.22.2.RC2 spec/integration/support/logging_receiver.rb
pwwka-0.22.0.RC2 spec/integration/support/logging_receiver.rb
pwwka-0.22.0.RC spec/integration/support/logging_receiver.rb
pwwka-0.21.2 spec/integration/support/logging_receiver.rb