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
140 141 142 |
# File 'lib/fastly/client.rb', line 140 def status return self.code.to_i end |
#success? ⇒ Boolean
136 137 138 |
# File 'lib/fastly/client.rb', line 136 def success? return Net::HTTPSuccess === self end |