class AdpClient::BadRequestHandler

Public Instance Methods

error() click to toggle source
# File lib/adp_client.rb, line 250
def error
  BadRequest.new('Looks like a Bad Request', @httparty.parsed_response)
end
fail?() click to toggle source
# File lib/adp_client.rb, line 254
def fail?
  @httparty.parsed_response['error'].nil? && @httparty.code == 400
end