lib/lhc/response.rb in lhc-6.3.1 vs lib/lhc/response.rb in lhc-6.4.0
- old
+ new
@@ -7,9 +7,10 @@
attr_accessor :request, :body_replacement
attr_reader :from_cache
delegate :effective_url, :code, :headers, :options, :mock, :success?, to: :raw
+ delegate :error_ignored?, to: :request
alias from_cache? from_cache
# A response is initalized with the underlying raw response (typhoeus in our case)
# and the associated request.
def initialize(raw, request, from_cache: false)