Sha256: 86fc0141f84dd80e674c68c3bae539db7d27bf57c536254385e1988ef5c13a4a

Contents?: true

Size: 237 Bytes

Versions: 1

Compression:

Stored size: 237 Bytes

Contents

require "elasticsearch-paramedic-rack"

class RackApp
  def call(env)
    status = if env["PATH_INFO"] =~ /^\/elasticsearch-paramedic/
      500
    else
      200
    end
    [status, {"Content-Type" => "text/plain"}, ["ok"]]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
elasticsearch-paramedic-rack-0.1.0 test/test_helper.rb