Sha256: abc5eb74c41c6c1fa961c8bc67330b926eba8159498dcc7831c39e799d78094b

Contents?: true

Size: 261 Bytes

Versions: 15

Compression:

Stored size: 261 Bytes

Contents

# frozen_string_literals: true

module Lumberjack
  module Rack
    class UnitOfWork
      def initialize(app)
        @app = app
      end

      def call(env)
        Lumberjack.unit_of_work do
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 4 rubygems

Version Path
honeybadger-5.3.0 vendor/bundle/ruby/3.2.0/gems/lumberjack-1.2.9/lib/lumberjack/rack/unit_of_work.rb
lumberjack-1.2.9 lib/lumberjack/rack/unit_of_work.rb
op_connect-0.1.2 vendor/bundle/ruby/3.1.0/gems/lumberjack-1.2.8/lib/lumberjack/rack/unit_of_work.rb
qiita_org-0.1.35 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/rack/unit_of_work.rb
qiita_org-0.1.34 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/rack/unit_of_work.rb
qiita_org-0.1.33 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/rack/unit_of_work.rb
qiita_org-0.1.32 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/rack/unit_of_work.rb
qiita_org-0.1.31 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/rack/unit_of_work.rb
qiita_org-0.1.30 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/rack/unit_of_work.rb
qiita_org-0.1.29 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/rack/unit_of_work.rb
qiita_org-0.1.28 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/rack/unit_of_work.rb
qiita_org-0.1.27 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/rack/unit_of_work.rb
qiita_org-0.1.26 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/rack/unit_of_work.rb
qiita_org-0.1.25 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/rack/unit_of_work.rb
lumberjack-1.2.8 lib/lumberjack/rack/unit_of_work.rb