Sha256: 6f9c1d605ab38df37a024a42acd55bfc2abaf437a86ba65fe8c02d0b36c59d16
Contents?: true
Size: 594 Bytes
Versions: 19
Compression:
Stored size: 594 Bytes
Contents
module RubyApp module Rack require 'ruby_app' class Application def initialize(application, options = {}) @application = application RubyApp::Configuration.load!(options[:configuration_paths]) RubyApp::Log.open! RubyApp::Application.create! RubyApp::Session.start_thread! end def call(environment) begin return @application.call(environment) rescue => exception RubyApp::Log.exception(RubyApp::Log::ERROR, exception) raise exception end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems