Sha256: f296c7b7e6225e33435491e20114f771e5bf88e38215c6f47953ee9ddc3f8b03

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 Bytes

Contents

module Rack
  module AMQP
    module Client
      class NullResponse < Response
        def initialize(meta = {}, payload = {}, delivery_info = nil)
          super
          @meta[:headers] ||= {}
          @meta[:headers]['X-AMQP-HTTP-Status'] = 200
        end
      end
    end
  end
end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-amqp-client-0.0.3 lib/rack/amqp/client/null_response.rb