class VCR::Middleware::Excon::NonStreamingResponseBodyReader

Reads the body when no streaming is done.

@private

Public Class Methods

read_body_from(response_params) click to toggle source

Provides a duck-typed interface that matches that of `StreamingResponseBodyReader`. The request handler will use this to get the response body.

@private

# File lib/vcr/middleware/excon.rb, line 214
def self.read_body_from(response_params)
  response_params.fetch(:body)
end