Sha256: 337d403d8b1978c88b30cbcbd7ad414bd80b73fa1d3ecae8c9f0807937946e98

Contents?: true

Size: 167 Bytes

Versions: 31

Compression:

Stored size: 167 Bytes

Contents

module RestCore; end

# the simplest middleware
class RestCore::Bypass
  def initialize app
    @app = app
  end

  def call env, &k
    @app.call(env, &k)
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
rest-core-3.1.1 lib/rest-core/middleware/bypass.rb
rest-core-3.1.0 lib/rest-core/middleware/bypass.rb
rest-core-3.0.0 lib/rest-core/middleware/bypass.rb
rest-core-2.1.2 lib/rest-core/middleware/bypass.rb
rest-core-2.1.1 lib/rest-core/middleware/bypass.rb
rest-core-2.1.0 lib/rest-core/middleware/bypass.rb
rest-core-2.0.4 lib/rest-core/middleware/bypass.rb
rest-core-2.0.3 lib/rest-core/middleware/bypass.rb
rest-core-2.0.2 lib/rest-core/middleware/bypass.rb
rest-core-2.0.1 lib/rest-core/middleware/bypass.rb
rest-core-2.0.0 lib/rest-core/middleware/bypass.rb