Sha256: 547b687bdb1f856d9255191da450ee04698adcf360d29f2c707220f3fdd56d89
Contents?: true
Size: 378 Bytes
Versions: 18
Compression:
Stored size: 378 Bytes
Contents
module ProconBypassMan::ProconDisplay class ServerApp def initialize(env) @env = env end def call case @env["PATH"] when "/input" response = ProconBypassMan::ProconDisplay::Status.instance.current HttpResponse.new(response, status: 200).to_s else HttpResponse.new(nil, status: 404).to_s end end end end
Version data entries
18 entries across 18 versions & 1 rubygems