Sha256: e2769674cf7b0a4bd76c47a4bf0c8be48457c0b6d1dbd19e71d1b5d82437e8da

Contents?: true

Size: 231 Bytes

Versions: 8

Compression:

Stored size: 231 Bytes

Contents

class App
  def initialize(resp = nil)
    if resp
      @resp = resp.is_a?(Array) ? resp : [resp]
    else
      @resp = ["embedded app"]
    end
  end

  def call(env)
    [200, {"Content-Type" => "text/plain"}, @resp]
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
jubilee-3.0.0.beta2-java test/apps/app.rb
jubilee-2.1.0.rc1-java test/apps/app.rb
jubilee-2.1.0.beta-java test/apps/app.rb
jubilee-2.1.0.Alpha1-java test/config/app.rb
jubilee-2.0.0-java test/config/app.rb
jubilee-2.0.0.beta-java test/config/app.rb
jubilee-2.0.0.alpha1-java test/config/app.rb
jubilee-1.1.3-java test/config/app.rb