Class: DNSApp::AuthCheckParser
- Inherits:
-
HTTParty::Parser
- Object
- HTTParty::Parser
- DNSApp::AuthCheckParser
- Defined in:
- lib/dnsapp/auth_check_parser.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#parse ⇒ Object
9 10 11 12 |
# File 'lib/dnsapp/auth_check_parser.rb', line 9 def parse raise DNSApp::Unauthorized, "Access Denied. Maybe you supplied wrong credentials?" if body =~ /HTTP Basic: Access denied./i super end |