Module: Typhoeus::Request::Responseable
- Included in:
- Typhoeus::Request
- Defined in:
- lib/typhoeus/request/responseable.rb
Overview
This module contains logic for having a reponse getter and setter.
Instance Method Summary collapse
-
#response ⇒ Response
Return the response.
-
#response=(value) ⇒ Object
Set the response.
Instance Method Details
#response ⇒ Response
Return the response.
24 25 26 |
# File 'lib/typhoeus/request/responseable.rb', line 24 def response @response ||= nil end |
#response=(value) ⇒ Object
Set the response.
14 15 16 |
# File 'lib/typhoeus/request/responseable.rb', line 14 def response=(value) @response = value end |