Class: RubyApp::Rack::Route

Inherits:
Object
  • Object
show all
Extended by:
Mixins::RouteMixin
Defined in:
lib/ruby_app/rack/route.rb

Constant Summary

Constants included from Mixins::RouteMixin

Mixins::RouteMixin::GET, Mixins::RouteMixin::POST

Instance Method Summary collapse

Methods included from Mixins::RouteMixin

do_route, route, routes

Instance Method Details

#call(environment) ⇒ Object



16
17
18
# File 'lib/ruby_app/rack/route.rb', line 16

def call(environment)
  RubyApp::Rack::Route.do_route(RubyApp::Request.request_method, RubyApp::Request.path)
end