Class: Typhoeus::Response
- Inherits:
-
Object
- Object
- Typhoeus::Response
- Includes:
- Cacheable, Informations, Status
- Defined in:
- sig/lib/typhoeus/typhoeus.rbs
Instance Attribute Summary collapse
-
#handled_response ⇒ Object
writeonly
Sets the attribute handled_response.
-
#mock ⇒ Object
writeonly
Sets the attribute mock.
-
#options ⇒ Object
Returns the value of attribute options.
-
#request ⇒ Object
Returns the value of attribute request.
Instance Method Summary collapse
- #handled_response ⇒ Object writeonly
- #initialize ⇒ Object constructor
- #mock ⇒ Object writeonly
Constructor Details
#initialize ⇒ Object
359 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 359
def initialize: (?::Hash[untyped, untyped] options) -> untyped
|
Instance Attribute Details
#handled_response=(value) ⇒ Object (writeonly)
Sets the attribute handled_response
355 356 357 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 355 def handled_response=(value) @handled_response = value end |
#mock=(value) ⇒ Object (writeonly)
Sets the attribute mock
357 358 359 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 357 def mock=(value) @mock = value end |
#options ⇒ Object
Returns the value of attribute options.
353 354 355 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 353 def @options end |
#request ⇒ Object
Returns the value of attribute request.
351 352 353 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 351 def request @request end |
Instance Method Details
#handled_response ⇒ Object (writeonly)
363 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 363
def handled_response: () -> untyped
|
#mock ⇒ Object (writeonly)
361 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 361
def mock: () -> untyped
|