Class: Net::HTTP::FollowTail::Result
- Inherits:
-
Reindeer
- Object
- Reindeer
- Net::HTTP::FollowTail::Result
- Defined in:
- lib/net/http/follow_tail.rb
Instance Method Summary collapse
Instance Method Details
#content ⇒ Object
24 25 26 |
# File 'lib/net/http/follow_tail.rb', line 24 def content response.body end |
#has_response? ⇒ Boolean
13 14 15 |
# File 'lib/net/http/follow_tail.rb', line 13 def has_response? not @response.nil? end |
#is_error? ⇒ Boolean
20 21 22 |
# File 'lib/net/http/follow_tail.rb', line 20 def is_error? @state == :error end |
#is_success? ⇒ Boolean
17 18 19 |
# File 'lib/net/http/follow_tail.rb', line 17 def is_success? @state == :success end |