Sha256: c960bb143c11f96ef01cb20e9992a886705c365a4e224e7807cebe03c5ae0f06
Contents?: true
Size: 845 Bytes
Versions: 2
Compression:
Stored size: 845 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 #environment.each do |name, value| # RubyApp::Log.debug("#{RubyApp::Log.prefix(self, __method__)} environment[#{name.inspect}]=#{value.inspect}") #end #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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
RubyApp-0.2.4 | lib/ruby_app/rack/request.rb |
RubyApp-0.2.3 | lib/ruby_app/rack/request.rb |