class HasOffersV3::HTTPError

Any HTTP error that has occurred during the call to the API endpoint (gateway timeout, internal server error etc.)

Public Class Methods

from_response(response) click to toggle source
# File lib/hasoffersv3/error.rb, line 24
def self.from_response(response)
  new("HTTP error: #{response.http_message}", response)
end