Sha256: 411559b809ddc0a226e9ba2ea21782396845feb6d454b8ce4b2121135122b97d

Contents?: true

Size: 478 Bytes

Versions: 1

Compression:

Stored size: 478 Bytes

Contents

# frozen_string_literal: true

module Rack
  # @api public
  # @since 0.1.0
  class BlastWave::Middleware
    # @return [Object]
    #
    # @api public
    # @since 0.1.0
    attr_reader :app

    # @param app [Object]
    # @return [void]
    #
    # @api public
    # @since 0.1.0
    def initialize(app)
      @app = app
    end

    # @param env [Hash]
    # @return [void]
    #
    # @api public
    # @since 0.1.0
    def call(env)
      app.call(env)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blast_wave-0.0.0 lib/blast_wave/middleware.rb