Sha256: 9e5aa056f04afc289bab95816bcd44a5e09f00c0550c05dc681273bba530c9af
Contents?: true
Size: 270 Bytes
Versions: 6
Compression:
Stored size: 270 Bytes
Contents
require 'yajl' module EventMachine module Middleware class JSONResponse def response(resp) begin body = Yajl::Parser.parse(resp.response) resp.response = body rescue Exception => e end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems