Sha256: 537a5a842a625e0188e0f9495654dc9cb7f56fa471820a3c76e89674e9828b21

Contents?: true

Size: 366 Bytes

Versions: 24

Compression:

Stored size: 366 Bytes

Contents

rad.register :router, depends_on: [:conveyors, :http] do
  require 'rad/router/_require'
  
  Rad::Router.new(
    :class, 
    [
      [:alias_router, Rad::Router::AliasRouter.new],
      [:basic_router, Rad::Router::BasicRouter.new],      
      [:restful_router, Rad::Router::RestfulRouter.new],
      [:simple_router, Rad::Router::SimpleRouter.new]
    ]
  )
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
rad_core-0.2.6 lib/components/router.rb
rad_core-0.2.5 lib/components/router.rb
rad_core-0.2.4 lib/components/router.rb
rad_core-0.2.3 lib/components/router.rb
rad_core-0.2.2 lib/components/router.rb
rad_core-0.2.1 lib/components/router.rb
rad_core-0.2.0 lib/components/router.rb
rad_core-0.0.30 lib/components/router.rb
rad_core-0.0.29 lib/components/router.rb
rad_core-0.0.28 lib/components/router.rb
rad_core-0.0.27 lib/components/router.rb
rad_core-0.0.26 lib/components/router.rb
rad_core-0.0.25 lib/components/router.rb
rad_core-0.0.24 lib/components/router.rb
rad_core-0.0.23 lib/components/router.rb
rad_core-0.0.22 lib/components/router.rb
rad_core-0.0.21 lib/components/router.rb
rad_core-0.0.20 lib/components/router.rb
rad_core-0.0.19 lib/components/router.rb
rad_core-0.0.18 lib/components/router.rb