Class: Typhoeus::Response

Inherits:
Object
  • Object
show all
Includes:
Cacheable, Informations, Status
Defined in:
sig/lib/typhoeus/typhoeus.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeObject

Parameters:

  • options (::Hash[untyped, untyped])


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

Parameters:

  • value (Object)

    the value to set the attribute handled_response to.



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

Parameters:

  • value (Object)

    the value to set the attribute mock to.



357
358
359
# File 'sig/lib/typhoeus/typhoeus.rbs', line 357

def mock=(value)
  @mock = value
end

#optionsObject

Returns the value of attribute options.

Returns:

  • (Object)


353
354
355
# File 'sig/lib/typhoeus/typhoeus.rbs', line 353

def options
  @options
end

#requestObject

Returns the value of attribute request.

Returns:

  • (Object)


351
352
353
# File 'sig/lib/typhoeus/typhoeus.rbs', line 351

def request
  @request
end

Instance Method Details

#handled_responseObject (writeonly)

Returns:

  • (Object)


363
# File 'sig/lib/typhoeus/typhoeus.rbs', line 363

def handled_response: () -> untyped

#mockObject (writeonly)

Returns:

  • (Object)


361
# File 'sig/lib/typhoeus/typhoeus.rbs', line 361

def mock: () -> untyped