class AdpClient::UnauthorizedHandler
Public Instance Methods
error()
click to toggle source
# File lib/adp_client.rb, line 293 def error Unauthorized.new( format('%<error>s: %<description>s', error: @httparty.parsed_response['error'], description: @httparty.parsed_response['error_description']) ) end
fail?()
click to toggle source
# File lib/adp_client.rb, line 301 def fail? @httparty.code == 401 end