lib/yt/http_request.rb
# Replaces the body of the response with the parsed version of the body,
# according to the format specified in the HTTPRequest.
Replaces the body of the response with the parsed version of the body,
according to the format specified in the HTTPRequest.
Replaces the body of the response with the parsed version of the body according to the format specified in the HTTPRequest .
def parse_response!
      if response.body
        response.body = JSON response.body
      end
    end
def parse_response! if response . body response . body = JSON response . body end end
Replaces the body of the response with the parsed version of the body,
according to the format specified in the HTTPRequest.
Replaces the body of the response with the parsed version of the body according to the format specified in the HTTPRequest .