Sha256: 964977303110b4bb1bfb053f74981caf1f908fa6dcab1facdfb26b33ccc9d5e9
Contents?: true
Size: 255 Bytes
Versions: 26
Compression:
Stored size: 255 Bytes
Contents
# frozen_string_literal: true require 'hanami/api' class ExampleApi < Hanami::API get '/hello' do 'Hello world!' end get '/' do redirect '/hello' end get '/404' do 404 end get '/500' do 500 end end run ExampleApi.new
Version data entries
26 entries across 26 versions & 1 rubygems