Sha256: 6c86072dd1b900c57e5335efc7cc3843fac99dedcd81af79c0f86bdbbbd4f263
Contents?: true
Size: 267 Bytes
Versions: 13
Compression:
Stored size: 267 Bytes
Contents
require 'impression' app = Impression.app do mount '/' => text_response('Hello, world!') end # class App < Impression::Resource # def route(req) # @response ||= text_response('Hello, world!') # end # end # run { |req| req.respond_text('Hello, world!') }
Version data entries
13 entries across 13 versions & 1 rubygems