Sha256: 07a7776cc96930916e12ee1da64c3226321a8bac452950aacea78fda6f8c4ef7
Contents?: true
Size: 1.01 KB
Versions: 2
Compression:
Stored size: 1.01 KB
Contents
# frozen_string_literal: true require 'bunny_mock/version' require 'bunny/exceptions' require 'amq/protocol/client' require 'bunny_mock/session' require 'bunny_mock/channel' require 'bunny_mock/exchange' require 'bunny_mock/queue' require 'bunny_mock/exchanges/direct' require 'bunny_mock/exchanges/topic' require 'bunny_mock/exchanges/fanout' require 'bunny_mock/exchanges/headers' ## # A mock RabbitMQ client based on Bunny # # @see https://github.com/ruby-amq/bunny # module BunnyMock # AMQP protocol version PROTOCOL_VERSION = AMQ::Protocol::PROTOCOL_VERSION class << self # # API # ## # Instantiate a new mock Bunny session # # @return [BunnyMock::Session] Session instance # @api public def new(*) # return new mock session BunnyMock::Session.new end # @return [String] Bunny mock version def version VERSION end # @return [String] AMQP protocol version def protocol_version AMQ::Protocol::PROTOCOL_VERSION end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bunny-mock-1.2.2 | lib/bunny-mock.rb |
bunny-mock-1.2.1 | lib/bunny-mock.rb |