Sha256: 41f90b9adbaa381840804c73f9ea480c7089d09a7af6a43a7a9d8a9d6ec259b6

Contents?: true

Size: 219 Bytes

Versions: 6

Compression:

Stored size: 219 Bytes

Contents

module Stitch
  class Server
    def initialize(options = {})
      @package = Package.new(options)
    end
    
    def call(env)
      [200, {"Content-Type" => "text/javascript"}, [@package.compile]]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
stitch-rb-0.0.6 lib/stitch/server.rb
stitch-rb-0.0.5 lib/stitch/server.rb
stitch-rb-0.0.4 lib/stitch/server.rb
stitch-rb-0.0.3 lib/stitch/server.rb
stitch-rb-0.0.2 lib/stitch/server.rb
stitch-rb-0.0.1 lib/stitch/server.rb