Sha256: 60b84847cf0aa931b76d7345c72da1a1fe64e5b21f83f5f66bac1e72a84a9432
Contents?: true
Size: 418 Bytes
Versions: 6
Compression:
Stored size: 418 Bytes
Contents
require 'observer' module Debug class Inspector def initialize(client) client.add_observer(self) end def update(url, request, response, result) p '--------------------------' p "SENDING REQUEST TO: #{url}" p "WITH PARAMS: #{request}" p "GETTING RESPONSE: #{response}" p "RESULT: #{result}" p '--------------------------' end end end
Version data entries
6 entries across 6 versions & 1 rubygems