Class: Racli::Handlers::DebugHandler

Inherits:
Base
  • Object
show all
Defined in:
lib/racli/handlers/debug_handler.rb

Instance Attribute Summary

Attributes inherited from Base

#cli

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Racli::Handlers::Base

Instance Method Details

#call(status, headers, body, _original_args) ⇒ Object



8
9
10
11
12
13
14
15
# File 'lib/racli/handlers/debug_handler.rb', line 8

def call(status, headers, body, _original_args)
  puts '*** debug ***'
  puts status
  puts headers
  puts body
  puts '******'
  [status, headers, body]
end