class Flame::Dispatcher::Request

Class for requests

Public Instance Methods

http_method() click to toggle source

Override HTTP-method of the request if the param '_method' found

# File lib/flame/dispatcher/request.rb, line 13
def http_method
        @http_method ||= (params['_method'] || request_method).upcase.to_sym
end
path() click to toggle source

Initialize Flame::Path

# File lib/flame/dispatcher/request.rb, line 8
def path
        @path ||= Flame::Path.new path_info
end