class FourOFour::DefaultApplication
Default Application just in case we didn't set up on the middleware
Public Instance Methods
call(_)
click to toggle source
# File lib/four_o_four.rb, line 26 def call(_) [200, { 'Content-Type' => 'text/html' }, self] end
each(&block)
click to toggle source
# File lib/four_o_four.rb, line 30 def each(&block) block.call( ''' <h1> Default FourOFour Application </h1> Please configure your middleware to pass a delegation class ''') end