module VCR::Deprecations::Middleware::Faraday

@private

Public Class Methods

new(*args) click to toggle source
# File lib/vcr/deprecations.rb, line 37
def initialize(*args)
  if block_given?
    Kernel.warn "WARNING: Passing a block to `VCR::Middleware::Faraday` is deprecated. \n" +
                "As of VCR 2.0, you need to wrap faraday requests in VCR.use_cassette, just like with any other library hook."
  end
end