Sha256: 51abd3c5e8b377d42e6929e31c9aeaadbaa317cecf1545d2454b9bdabbeb998e

Contents?: true

Size: 254 Bytes

Versions: 6

Compression:

Stored size: 254 Bytes

Contents

# frozen_string_literal: true

module BreezyPDFLite
  # Rack Middleware for BreezyPDFLite
  class Middleware
    def initialize(app, _options = {})
      @app = app
    end

    def call(env)
      Interceptor.new(@app, env).intercept!
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
breezy_pdf_lite-0.0.7 lib/breezy_pdf_lite/middleware.rb
breezy_pdf_lite-0.0.6 lib/breezy_pdf_lite/middleware.rb
breezy_pdf_lite-0.0.4 lib/breezy_pdf_lite/middleware.rb
breezy_pdf_lite-0.0.3 lib/breezy_pdf_lite/middleware.rb
breezy_pdf_lite-0.0.2 lib/breezy_pdf_lite/middleware.rb
breezy_pdf_lite-0.0.1 lib/breezy_pdf_lite/middleware.rb