Class: Net::HTTPResponse
- Inherits:
-
Object
- Object
- Net::HTTPResponse
- Defined in:
- lib/fastly/client.rb
Overview
:nodoc: all
Instance Method Summary collapse
Instance Method Details
#status ⇒ Object
147 148 149 |
# File 'lib/fastly/client.rb', line 147 def status return self.code.to_i end |
#success? ⇒ Boolean
143 144 145 |
# File 'lib/fastly/client.rb', line 143 def success? return Net::HTTPSuccess === self end |