Sha256: a52bd4a2890a6b201dc486c898a02f8aac925ff94d8a6644c926a6f999b5413e

Contents?: true

Size: 272 Bytes

Versions: 1

Compression:

Stored size: 272 Bytes

Contents

module Noder
  module HTTP
    module Listeners
      class Response < Events::Listeners::Base
        def call(env)
          env[:response] ||= Noder::HTTP::Response.new(env)
          callback.call(env) if callback
          env
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
noder-0.0.2 lib/noder/http/listeners/response.rb