Class: Typhoeus::Expectation
- Inherits:
-
Object
- Object
- Typhoeus::Expectation
- Defined in:
- sig/lib/typhoeus/typhoeus.rbs
Instance Attribute Summary collapse
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#from ⇒ Object
readonly
Returns the value of attribute from.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Class Method Summary collapse
Instance Method Summary collapse
- #and_return { ... } ⇒ Object
- #initialize ⇒ Object constructor
- #matches? ⇒ Object
- #options_match? ⇒ Object
- #response ⇒ Object
- #responses ⇒ Object
- #stubbed_from ⇒ Object
- #url_match? ⇒ Object
Constructor Details
#initialize ⇒ Object
74 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 74
def initialize: (untyped base_url, ?::Hash[untyped, untyped] options) -> untyped
|
Instance Attribute Details
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
60 61 62 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 60 def base_url @base_url end |
#from ⇒ Object (readonly)
Returns the value of attribute from.
64 65 66 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 64 def from @from end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
62 63 64 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 62 def @options end |
Class Method Details
.all ⇒ Object
66 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 66
def self.all: () -> untyped
|
.clear ⇒ Object
68 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 68
def self.clear: () -> untyped
|
.find_by ⇒ Object
72 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 72
def self.find_by: (untyped request) -> untyped
|
.response_for ⇒ Object
70 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 70
def self.response_for: (untyped request) -> untyped
|
Instance Method Details
#and_return { ... } ⇒ Object
78 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 78
def and_return: (?untyped? response) { () -> untyped } -> untyped
|
#matches? ⇒ Object
80 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 80
def matches?: (untyped request) -> untyped
|
#options_match? ⇒ Object
86 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 86
def options_match?: (untyped request) -> untyped
|
#response ⇒ Object
84 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 84
def response: (untyped request) -> untyped
|
#responses ⇒ Object
82 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 82
def responses: () -> untyped
|
#stubbed_from ⇒ Object
76 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 76
def stubbed_from: (untyped value) -> untyped
|
#url_match? ⇒ Object
88 |
# File 'sig/lib/typhoeus/typhoeus.rbs', line 88
def url_match?: (untyped request_url) -> untyped
|