Registry / web-framework / hanami-router

hanami-router

JSON →
library2.3.1rbrubygemsunverified

Rack compatible HTTP router for Ruby, part of the Hanami framework.

gem install hanami-router
INSTALL
IMPORT
SIG · HANAMI-ROUTER
H
hanami-router
web-frameworkrubyv2.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Hanami::Router
require 'hanami/router'

Define a simple route

require 'hanami/router' router = Hanami::Router.new do get '/hello', to: ->(env) { [200, {}, ['Hello']] } end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.3.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
hanami-router — gem install hanami-router · libregistry