Sha256: 25e41a6b90a985fb51b9529b5fa79a80d745d7b8211877fb39e081f1de819a0a

Contents?: true

Size: 341 Bytes

Versions: 36

Compression:

Stored size: 341 Bytes

Contents

module BBK
  module AMQP
    module Domains
      class Exchange


        attr_reader :name, :exchange

        def initialize(name, exchange)
          @name = name
          @exchange = exchange
        end

        def call(route)
          BBK::AMQP::RouteInfo.new(exchange, route.routing_key)
        end

      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
bbk-amqp-1.1.1.273631 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.1.1.273342 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.1.0.204853 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.1.0.204852 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.1.0.204568 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.1.0.200187 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.1.0.200034 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.1.0.200017 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.1.0.199806 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.1.0.199673 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.1.0.199449 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.1.0.199382 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.1.0.199380 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.152789 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.109994 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.105775 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.105731 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.105723 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.105722 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.105683 lib/bbk/amqp/domains/exchange.rb