class AdpClient::UnknownErrorHandler

Public Instance Methods

error() click to toggle source
# File lib/adp_client.rb, line 307
def error
  HTTParty::Error.new("Code #{@httparty.code} - #{@httparty.body}")
end
fail?() click to toggle source
# File lib/adp_client.rb, line 311
def fail?
  !@httparty.response.is_a?(Net::HTTPSuccess)
end