Sha256: f8491b0c9905fb291f5e2d8904553bd7cf7b02e0f5e90a9810d8c12402f0061d

Contents?: true

Size: 278 Bytes

Versions: 2

Compression:

Stored size: 278 Bytes

Contents

# frozen_string_literal: true

require("rack/handler")

module Rack
  module Handler
    # Rack handler for the Zapp web server
    class Zapp
      def self.run(app)
        Zapp::Server.new(app: app).run
      end

      register(:zapp, Rack::Handler::Zapp)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zapp-0.1.1 lib/rack/handler/zap.rb
zapp-0.1.0 lib/rack/handler/zap.rb