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