Class: HttpDebugInspector
- Inherits:
-
Object
- Object
- HttpDebugInspector
- Defined in:
- lib/automate-em/service/http_service.rb
Instance Method Summary collapse
Instance Method Details
#request(client, head, body) ⇒ Object
14 15 16 17 |
# File 'lib/automate-em/service/http_service.rb', line 14 def request(client, head, body) AutomateEm::System.logger.debug "HTTP request #{client.req.method} #{client.req.uri} #{head.inspect}:#{body.inspect}" [head,body] end |
#response(resp) ⇒ Object
19 20 21 |
# File 'lib/automate-em/service/http_service.rb', line 19 def response(resp) AutomateEm::System.logger.debug "HTTP Response #{resp.response.inspect}" end |