def respond(resp)
      body = if calling_class.respond_to?(:response_shim)
               calling_class.response_shim(resp.body, resp.status)
             else
               resp.body
             end

      Wavefront::Response.new(body, resp.status, @opts)
    end
def respond(resp)
      body = if calling_class.respond_to?(:response_shim)
               calling_class.response_shim(resp.body, resp.status)
             else
               resp.body
             end

      Wavefront::Response.new(body, resp.status, @opts)
    end
If we need to massage a raw response to fit what the
 Wavefront::Response class expects (I'm looking at you,
 'User'), a class can provide a {#response_shim} method.