Sha256: 7a53a1925ca52a527e8205f085bfe73ffdc82f8eae1cbe662858104a81ea96b4

Contents?: true

Size: 354 Bytes

Versions: 5

Compression:

Stored size: 354 Bytes

Contents

class Bunnicula::Exchange

attr_reader :name, :type, :durable, :ack, :routing_key

  def initialize(exchange_name=nil,options={})
    @name = exchange_name
    @type = options.delete(:type) || options.delete(:exchange_type)
    @durable = options.delete(:durable)
    @ack = options.delete(:ack)
    @routing_key = options.delete(:routing_key)
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bunnicula-0.2.2 lib/bunnicula/exchange.rb
bunnicula-0.2.1 lib/bunnicula/exchange.rb
bunnicula-0.2.0 lib/bunnicula/exchange.rb
bunnicula-0.1.1 lib/bunnicula/exchange.rb
bunnicula-0.1.0 lib/bunnicula/exchange.rb