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.0.0.105635 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.99701 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.93643 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.92190 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.89320 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.82273 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.82260 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.82255 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.82233 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.81661 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.79546 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.79544 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.76397 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.72921 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.72919 lib/bbk/amqp/domains/exchange.rb
bbk-amqp-1.0.0.72904 lib/bbk/amqp/domains/exchange.rb