Sha256: d75625bf8ab3fffdce88ebd5dc97016b1a62679ade95c340a7c4fb2905f28c6b

Contents?: true

Size: 243 Bytes

Versions: 1

Compression:

Stored size: 243 Bytes

Contents

Bunny::Channel.class_eval do
  def exchange_declare(name, type, opts = {})
    true
  end

  def basic_publish(payload, exchange, routing_key, opts = {})
    SarcasticBunny.publish_message(self, payload, exchange, routing_key, opts)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sarcastic_bunny-0.0.1 lib/sarcastic_bunny/bunny_ext/channel.rb