Sha256: 4f09f88b09a8f2434e5f9438db1c26fefc6933ea69149b6bd4b8a042e204c048
Contents?: true
Size: 663 Bytes
Versions: 3
Compression:
Stored size: 663 Bytes
Contents
module RubyApp module Rack class Request require 'ruby_app' def initialize(application) @application = application end def call(environment) RubyApp::Request.create!(environment) begin #RubyApp::Log.debug("#{RubyApp::Log.prefix(self, __method__)} RubyApp::Request.request_method=#{RubyApp::Request.request_method.inspect}") #RubyApp::Log.debug("#{RubyApp::Log.prefix(self, __method__)} RubyApp::Request.path=#{RubyApp::Request.path.inspect}") return @application.call(environment) ensure RubyApp::Request.destroy! end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
RubyApp-0.2.2 | lib/ruby_app/rack/request.rb |
RubyApp-0.2.1 | lib/ruby_app/rack/request.rb |
RubyApp-0.2.0 | lib/ruby_app/rack/request.rb |