Method: Puppet::HTTP::ResponseNetHTTP#success?
- Defined in:
- lib/puppet/http/response_net_http.rb
#success? ⇒ Boolean
Check if the request received a response of success (HTTP 2xx).
29 30 31 |
# File 'lib/puppet/http/response_net_http.rb', line 29 def success? @nethttp.is_a?(Net::HTTPSuccess) end |