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
153 154 155 |
# File 'lib/fastly/client.rb', line 153 def status return self.code.to_i end |
#success? ⇒ Boolean
149 150 151 |
# File 'lib/fastly/client.rb', line 149 def success? return Net::HTTPSuccess === self end |