stripe 10.9.0.pre.beta.1 → 10.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (216) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +51 -275
  3. data/Gemfile +3 -0
  4. data/Makefile +7 -0
  5. data/OPENAPI_VERSION +1 -1
  6. data/README.md +0 -11
  7. data/VERSION +1 -1
  8. data/bin/tapioca +27 -0
  9. data/lib/stripe/api_operations/request.rb +1 -2
  10. data/lib/stripe/api_resource.rb +10 -1
  11. data/lib/stripe/api_resource_test_helpers.rb +6 -2
  12. data/lib/stripe/api_version.rb +0 -1
  13. data/lib/stripe/list_object.rb +3 -0
  14. data/lib/stripe/object_types.rb +120 -141
  15. data/lib/stripe/resources/account.rb +6 -4
  16. data/lib/stripe/resources/account_link.rb +3 -0
  17. data/lib/stripe/resources/account_session.rb +3 -0
  18. data/lib/stripe/resources/apple_pay_domain.rb +3 -0
  19. data/lib/stripe/resources/application_fee.rb +3 -0
  20. data/lib/stripe/resources/application_fee_refund.rb +3 -0
  21. data/lib/stripe/resources/apps/secret.rb +3 -0
  22. data/lib/stripe/resources/balance.rb +3 -0
  23. data/lib/stripe/resources/balance_transaction.rb +3 -0
  24. data/lib/stripe/resources/bank_account.rb +3 -0
  25. data/lib/stripe/resources/billing_portal/configuration.rb +3 -0
  26. data/lib/stripe/resources/billing_portal/session.rb +3 -0
  27. data/lib/stripe/resources/capability.rb +3 -0
  28. data/lib/stripe/resources/card.rb +3 -0
  29. data/lib/stripe/resources/cash_balance.rb +3 -0
  30. data/lib/stripe/resources/charge.rb +3 -0
  31. data/lib/stripe/resources/checkout/session.rb +3 -0
  32. data/lib/stripe/resources/climate/order.rb +3 -0
  33. data/lib/stripe/resources/climate/product.rb +3 -0
  34. data/lib/stripe/resources/climate/supplier.rb +3 -0
  35. data/lib/stripe/resources/country_spec.rb +3 -0
  36. data/lib/stripe/resources/coupon.rb +3 -0
  37. data/lib/stripe/resources/credit_note.rb +3 -0
  38. data/lib/stripe/resources/credit_note_line_item.rb +3 -0
  39. data/lib/stripe/resources/customer.rb +7 -13
  40. data/lib/stripe/resources/customer_balance_transaction.rb +3 -0
  41. data/lib/stripe/resources/customer_cash_balance_transaction.rb +3 -0
  42. data/lib/stripe/resources/customer_session.rb +3 -0
  43. data/lib/stripe/resources/discount.rb +3 -0
  44. data/lib/stripe/resources/dispute.rb +3 -0
  45. data/lib/stripe/resources/ephemeral_key.rb +3 -0
  46. data/lib/stripe/resources/event.rb +3 -0
  47. data/lib/stripe/resources/exchange_rate.rb +3 -0
  48. data/lib/stripe/resources/file.rb +6 -0
  49. data/lib/stripe/resources/file_link.rb +3 -0
  50. data/lib/stripe/resources/financial_connections/account.rb +3 -3
  51. data/lib/stripe/resources/financial_connections/account_owner.rb +3 -0
  52. data/lib/stripe/resources/financial_connections/account_ownership.rb +3 -0
  53. data/lib/stripe/resources/financial_connections/session.rb +3 -0
  54. data/lib/stripe/resources/financial_connections/transaction.rb +3 -0
  55. data/lib/stripe/resources/funding_instructions.rb +3 -0
  56. data/lib/stripe/resources/identity/verification_report.rb +3 -0
  57. data/lib/stripe/resources/identity/verification_session.rb +3 -0
  58. data/lib/stripe/resources/invoice.rb +2 -52
  59. data/lib/stripe/resources/invoice_item.rb +3 -0
  60. data/lib/stripe/resources/invoice_line_item.rb +3 -0
  61. data/lib/stripe/resources/issuing/authorization.rb +6 -0
  62. data/lib/stripe/resources/issuing/card.rb +6 -0
  63. data/lib/stripe/resources/issuing/cardholder.rb +3 -0
  64. data/lib/stripe/resources/issuing/dispute.rb +3 -0
  65. data/lib/stripe/resources/issuing/token.rb +3 -0
  66. data/lib/stripe/resources/issuing/transaction.rb +6 -0
  67. data/lib/stripe/resources/line_item.rb +3 -0
  68. data/lib/stripe/resources/login_link.rb +3 -0
  69. data/lib/stripe/resources/mandate.rb +3 -0
  70. data/lib/stripe/resources/payment_intent.rb +5 -4
  71. data/lib/stripe/resources/payment_link.rb +3 -0
  72. data/lib/stripe/resources/payment_method.rb +3 -0
  73. data/lib/stripe/resources/payment_method_configuration.rb +3 -0
  74. data/lib/stripe/resources/payment_method_domain.rb +3 -0
  75. data/lib/stripe/resources/payout.rb +3 -0
  76. data/lib/stripe/resources/person.rb +3 -0
  77. data/lib/stripe/resources/plan.rb +3 -0
  78. data/lib/stripe/resources/price.rb +3 -0
  79. data/lib/stripe/resources/product.rb +3 -0
  80. data/lib/stripe/resources/promotion_code.rb +3 -0
  81. data/lib/stripe/resources/quote.rb +3 -104
  82. data/lib/stripe/resources/radar/early_fraud_warning.rb +3 -0
  83. data/lib/stripe/resources/radar/value_list.rb +3 -0
  84. data/lib/stripe/resources/radar/value_list_item.rb +3 -0
  85. data/lib/stripe/resources/refund.rb +6 -0
  86. data/lib/stripe/resources/reporting/report_run.rb +3 -0
  87. data/lib/stripe/resources/reporting/report_type.rb +3 -0
  88. data/lib/stripe/resources/reversal.rb +3 -0
  89. data/lib/stripe/resources/review.rb +3 -0
  90. data/lib/stripe/resources/setup_attempt.rb +3 -0
  91. data/lib/stripe/resources/setup_intent.rb +3 -0
  92. data/lib/stripe/resources/shipping_rate.rb +3 -0
  93. data/lib/stripe/resources/sigma/scheduled_query_run.rb +3 -0
  94. data/lib/stripe/resources/source.rb +3 -0
  95. data/lib/stripe/resources/source_transaction.rb +3 -0
  96. data/lib/stripe/resources/subscription.rb +3 -0
  97. data/lib/stripe/resources/subscription_item.rb +3 -0
  98. data/lib/stripe/resources/subscription_schedule.rb +2 -19
  99. data/lib/stripe/resources/tax/calculation.rb +3 -0
  100. data/lib/stripe/resources/tax/calculation_line_item.rb +3 -0
  101. data/lib/stripe/resources/tax/registration.rb +3 -0
  102. data/lib/stripe/resources/tax/settings.rb +3 -0
  103. data/lib/stripe/resources/tax/transaction.rb +3 -0
  104. data/lib/stripe/resources/tax/transaction_line_item.rb +3 -0
  105. data/lib/stripe/resources/tax_code.rb +3 -0
  106. data/lib/stripe/resources/tax_id.rb +5 -4
  107. data/lib/stripe/resources/tax_rate.rb +3 -0
  108. data/lib/stripe/resources/terminal/configuration.rb +3 -0
  109. data/lib/stripe/resources/terminal/connection_token.rb +3 -0
  110. data/lib/stripe/resources/terminal/location.rb +3 -0
  111. data/lib/stripe/resources/terminal/reader.rb +6 -60
  112. data/lib/stripe/resources/test_helpers/test_clock.rb +3 -0
  113. data/lib/stripe/resources/token.rb +3 -0
  114. data/lib/stripe/resources/topup.rb +3 -0
  115. data/lib/stripe/resources/transfer.rb +3 -0
  116. data/lib/stripe/resources/treasury/credit_reversal.rb +3 -0
  117. data/lib/stripe/resources/treasury/debit_reversal.rb +3 -0
  118. data/lib/stripe/resources/treasury/financial_account.rb +3 -0
  119. data/lib/stripe/resources/treasury/financial_account_features.rb +3 -0
  120. data/lib/stripe/resources/treasury/inbound_transfer.rb +6 -0
  121. data/lib/stripe/resources/treasury/outbound_payment.rb +6 -0
  122. data/lib/stripe/resources/treasury/outbound_transfer.rb +6 -0
  123. data/lib/stripe/resources/treasury/received_credit.rb +6 -0
  124. data/lib/stripe/resources/treasury/received_debit.rb +6 -0
  125. data/lib/stripe/resources/treasury/transaction.rb +3 -0
  126. data/lib/stripe/resources/treasury/transaction_entry.rb +3 -0
  127. data/lib/stripe/resources/usage_record.rb +3 -0
  128. data/lib/stripe/resources/usage_record_summary.rb +3 -0
  129. data/lib/stripe/resources/webhook_endpoint.rb +3 -0
  130. data/lib/stripe/resources.rb +0 -22
  131. data/lib/stripe/search_result_object.rb +3 -0
  132. data/lib/stripe/singleton_api_resource.rb +1 -1
  133. data/lib/stripe/stripe_client.rb +28 -62
  134. data/lib/stripe/stripe_configuration.rb +1 -2
  135. data/lib/stripe/util.rb +1 -8
  136. data/lib/stripe/version.rb +1 -1
  137. data/lib/stripe.rb +0 -46
  138. data/sorbet/config +4 -0
  139. data/sorbet/rbi/annotations/.gitattributes +1 -0
  140. data/sorbet/rbi/annotations/coveralls_reborn.rbi +3 -0
  141. data/sorbet/rbi/gems/.gitattributes +1 -0
  142. data/sorbet/rbi/gems/addressable@2.8.6.rbi +1993 -0
  143. data/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
  144. data/sorbet/rbi/gems/byebug@11.1.3.rbi +3606 -0
  145. data/sorbet/rbi/gems/coderay@1.1.3.rbi +3437 -0
  146. data/sorbet/rbi/gems/coveralls_reborn@0.25.0.rbi +8 -0
  147. data/sorbet/rbi/gems/crack@0.4.5.rbi +144 -0
  148. data/sorbet/rbi/gems/docile@1.4.0.rbi +8 -0
  149. data/sorbet/rbi/gems/erubi@1.12.0.rbi +146 -0
  150. data/sorbet/rbi/gems/hashdiff@1.1.0.rbi +352 -0
  151. data/sorbet/rbi/gems/jaro_winkler@1.5.4.rbi +19 -0
  152. data/sorbet/rbi/gems/json@2.7.1.rbi +1561 -0
  153. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
  154. data/sorbet/rbi/gems/method_source@1.0.0.rbi +272 -0
  155. data/sorbet/rbi/gems/mocha@1.16.1.rbi +11 -0
  156. data/sorbet/rbi/gems/netrc@0.11.0.rbi +161 -0
  157. data/sorbet/rbi/gems/parallel@1.24.0.rbi +280 -0
  158. data/sorbet/rbi/gems/parser@3.2.2.4.rbi +9454 -0
  159. data/sorbet/rbi/gems/power_assert@2.0.3.rbi +414 -0
  160. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +951 -0
  161. data/sorbet/rbi/gems/prism@0.19.0.rbi +29883 -0
  162. data/sorbet/rbi/gems/pry-byebug@3.10.1.rbi +1150 -0
  163. data/sorbet/rbi/gems/pry@0.14.2.rbi +10085 -0
  164. data/sorbet/rbi/gems/public_suffix@5.0.4.rbi +931 -0
  165. data/sorbet/rbi/gems/racc@1.7.3.rbi +161 -0
  166. data/sorbet/rbi/gems/rack@3.0.8.rbi +5193 -0
  167. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +402 -0
  168. data/sorbet/rbi/gems/rake@13.1.0.rbi +2884 -0
  169. data/sorbet/rbi/gems/rbi@0.1.6.rbi +2922 -0
  170. data/sorbet/rbi/gems/regexp_parser@2.8.3.rbi +3766 -0
  171. data/sorbet/rbi/gems/rexml@3.2.6.rbi +4887 -0
  172. data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +7004 -0
  173. data/sorbet/rbi/gems/rubocop@1.57.2.rbi +56919 -0
  174. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1317 -0
  175. data/sorbet/rbi/gems/shoulda-context@2.0.0.rbi +555 -0
  176. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +8 -0
  177. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +8 -0
  178. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +8 -0
  179. data/sorbet/rbi/gems/spoom@1.2.4.rbi +3777 -0
  180. data/sorbet/rbi/gems/sync@0.5.0.rbi +8 -0
  181. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +23136 -0
  182. data/sorbet/rbi/gems/tapioca@0.11.17.rbi +3503 -0
  183. data/sorbet/rbi/gems/term-ansicolor@1.7.1.rbi +8 -0
  184. data/sorbet/rbi/gems/test-unit@3.6.1.rbi +4403 -0
  185. data/sorbet/rbi/gems/thor@1.3.0.rbi +4345 -0
  186. data/sorbet/rbi/gems/tins@1.32.1.rbi +8 -0
  187. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +65 -0
  188. data/sorbet/rbi/gems/webmock@3.19.1.rbi +1740 -0
  189. data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +428 -0
  190. data/sorbet/rbi/gems/yard@0.9.34.rbi +18219 -0
  191. data/sorbet/tapioca/config.yml +13 -0
  192. data/sorbet/tapioca/require.rb +4 -0
  193. metadata +61 -27
  194. data/lib/stripe/request_signing_authenticator.rb +0 -79
  195. data/lib/stripe/resources/account_notice.rb +0 -29
  196. data/lib/stripe/resources/capital/financing_offer.rb +0 -46
  197. data/lib/stripe/resources/capital/financing_summary.rb +0 -12
  198. data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
  199. data/lib/stripe/resources/confirmation_token.rb +0 -13
  200. data/lib/stripe/resources/customer_entitlement.rb +0 -9
  201. data/lib/stripe/resources/customer_entitlement_summary.rb +0 -9
  202. data/lib/stripe/resources/entitlements/event.rb +0 -23
  203. data/lib/stripe/resources/entitlements/feature.rb +0 -35
  204. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -11
  205. data/lib/stripe/resources/gift_cards/card.rb +0 -56
  206. data/lib/stripe/resources/gift_cards/transaction.rb +0 -90
  207. data/lib/stripe/resources/invoice_payment.rb +0 -9
  208. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -85
  209. data/lib/stripe/resources/issuing/personalization_design.rb +0 -113
  210. data/lib/stripe/resources/issuing/physical_bundle.rb +0 -23
  211. data/lib/stripe/resources/margin.rb +0 -34
  212. data/lib/stripe/resources/order.rb +0 -117
  213. data/lib/stripe/resources/quote_phase.rb +0 -36
  214. data/lib/stripe/resources/quote_preview_invoice.rb +0 -40
  215. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -8
  216. data/lib/stripe/resources/tax/form.rb +0 -46
@@ -0,0 +1,1740 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `webmock` gem.
5
+ # Please instead update this file by running `bin/tapioca gem webmock`.
6
+
7
+ # source://webmock//lib/webmock/http_lib_adapters/net_http_response.rb#18
8
+ module Net::WebMockHTTPResponse
9
+ # source://webmock//lib/webmock/http_lib_adapters/net_http_response.rb#19
10
+ def read_body(dest = T.unsafe(nil), &block); end
11
+ end
12
+
13
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#208
14
+ class StubSocket
15
+ # @return [StubSocket] a new instance of StubSocket
16
+ #
17
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#212
18
+ def initialize(*args); end
19
+
20
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#220
21
+ def close; end
22
+
23
+ # @return [Boolean]
24
+ #
25
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#216
26
+ def closed?; end
27
+
28
+ # Returns the value of attribute continue_timeout.
29
+ #
30
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#210
31
+ def continue_timeout; end
32
+
33
+ # Sets the attribute continue_timeout
34
+ #
35
+ # @param value the value to set the attribute continue_timeout to.
36
+ #
37
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#210
38
+ def continue_timeout=(_arg0); end
39
+
40
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#228
41
+ def io; end
42
+
43
+ # Returns the value of attribute read_timeout.
44
+ #
45
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#210
46
+ def read_timeout; end
47
+
48
+ # Sets the attribute read_timeout
49
+ #
50
+ # @param value the value to set the attribute read_timeout to.
51
+ #
52
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#210
53
+ def read_timeout=(_arg0); end
54
+
55
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#225
56
+ def readuntil(*args); end
57
+
58
+ # Returns the value of attribute write_timeout.
59
+ #
60
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#210
61
+ def write_timeout; end
62
+
63
+ # Sets the attribute write_timeout
64
+ #
65
+ # @param value the value to set the attribute write_timeout to.
66
+ #
67
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#210
68
+ def write_timeout=(_arg0); end
69
+ end
70
+
71
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#232
72
+ class StubSocket::StubIO
73
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#237
74
+ def cipher; end
75
+
76
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#234
77
+ def peer_cert; end
78
+
79
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#235
80
+ def peeraddr; end
81
+
82
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#233
83
+ def setsockopt(*args); end
84
+
85
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#236
86
+ def ssl_version; end
87
+ end
88
+
89
+ # source://webmock//lib/webmock/deprecation.rb#3
90
+ module WebMock
91
+ include ::WebMock::API
92
+ extend ::WebMock::API
93
+
94
+ def after_request(*args, &block); end
95
+ def allow_net_connect!(*args, &block); end
96
+ def disable_net_connect!(*args, &block); end
97
+ def net_connect_allowed?(*args, &block); end
98
+ def registered_request?(*args, &block); end
99
+ def reset_callbacks(*args, &block); end
100
+ def reset_webmock(*args, &block); end
101
+
102
+ class << self
103
+ # source://webmock//lib/webmock/webmock.rb#143
104
+ def after_request(options = T.unsafe(nil), &block); end
105
+
106
+ # source://webmock//lib/webmock/webmock.rb#46
107
+ def allow_net_connect!(options = T.unsafe(nil)); end
108
+
109
+ # source://webmock//lib/webmock/webmock.rb#30
110
+ def disable!(options = T.unsafe(nil)); end
111
+
112
+ # source://webmock//lib/webmock/webmock.rb#51
113
+ def disable_net_connect!(options = T.unsafe(nil)); end
114
+
115
+ # source://webmock//lib/webmock/webmock.rb#51
116
+ def disallow_net_connect!(options = T.unsafe(nil)); end
117
+
118
+ # source://webmock//lib/webmock/webmock.rb#38
119
+ def enable!(options = T.unsafe(nil)); end
120
+
121
+ # source://webmock//lib/webmock/webmock.rb#46
122
+ def enable_net_connect!(options = T.unsafe(nil)); end
123
+
124
+ # source://webmock//lib/webmock/webmock.rb#155
125
+ def globally_stub_request(order = T.unsafe(nil), &block); end
126
+
127
+ # source://webmock//lib/webmock/webmock.rb#109
128
+ def hide_body_diff!; end
129
+
130
+ # source://webmock//lib/webmock/webmock.rb#117
131
+ def hide_stubbing_instructions!; end
132
+
133
+ # @private
134
+ #
135
+ # source://webmock//lib/webmock/webmock.rb#5
136
+ def included(clazz); end
137
+
138
+ # @return [Boolean]
139
+ #
140
+ # source://webmock//lib/webmock/webmock.rb#63
141
+ def net_connect_allowed?(uri = T.unsafe(nil)); end
142
+
143
+ # @return [Boolean]
144
+ #
145
+ # source://webmock//lib/webmock/webmock.rb#85
146
+ def net_connect_explicit_allowed?(allowed, uri = T.unsafe(nil)); end
147
+
148
+ # @return [Boolean]
149
+ #
150
+ # source://webmock//lib/webmock/webmock.rb#75
151
+ def net_http_connect_on_start?(uri); end
152
+
153
+ # source://webmock//lib/webmock/webmock.rb#151
154
+ def print_executed_requests; end
155
+
156
+ # @return [Boolean]
157
+ #
158
+ # source://webmock//lib/webmock/webmock.rb#147
159
+ def registered_request?(request_signature); end
160
+
161
+ # source://webmock//lib/webmock/api.rb#14
162
+ def request(method, uri); end
163
+
164
+ # source://webmock//lib/webmock/webmock.rb#129
165
+ def reset!; end
166
+
167
+ # source://webmock//lib/webmock/webmock.rb#139
168
+ def reset_callbacks; end
169
+
170
+ # source://webmock//lib/webmock/webmock.rb#134
171
+ def reset_webmock; end
172
+
173
+ # source://webmock//lib/webmock/webmock.rb#105
174
+ def show_body_diff!; end
175
+
176
+ # @return [Boolean]
177
+ #
178
+ # source://webmock//lib/webmock/webmock.rb#113
179
+ def show_body_diff?; end
180
+
181
+ # source://webmock//lib/webmock/webmock.rb#121
182
+ def show_stubbing_instructions!; end
183
+
184
+ # @return [Boolean]
185
+ #
186
+ # source://webmock//lib/webmock/webmock.rb#125
187
+ def show_stubbing_instructions?; end
188
+
189
+ # source://webmock//lib/webmock/webmock.rb#26
190
+ def version; end
191
+ end
192
+ end
193
+
194
+ # source://webmock//lib/webmock/api.rb#4
195
+ module WebMock::API
196
+ extend ::WebMock::API
197
+
198
+ # source://webmock//lib/webmock/api.rb#14
199
+ def a_request(method, uri); end
200
+
201
+ # source://webmock//lib/webmock/api.rb#31
202
+ def assert_not_requested(*args, &block); end
203
+
204
+ # source://webmock//lib/webmock/api.rb#22
205
+ def assert_requested(*args, &block); end
206
+
207
+ # source://webmock//lib/webmock/api.rb#59
208
+ def hash_excluding(*args); end
209
+
210
+ # Similar to RSpec::Mocks::ArgumentMatchers#hash_including()
211
+ #
212
+ # Matches a hash that includes the specified key(s) or key/value pairs.
213
+ # Ignores any additional keys.
214
+ #
215
+ # @example
216
+ #
217
+ # object.should_receive(:message).with(hash_including(:key => val))
218
+ # object.should_receive(:message).with(hash_including(:key))
219
+ # object.should_receive(:message).with(hash_including(:key, :key2 => val2))
220
+ #
221
+ # source://webmock//lib/webmock/api.rb#51
222
+ def hash_including(*args); end
223
+
224
+ # source://webmock//lib/webmock/api.rb#31
225
+ def refute_requested(*args, &block); end
226
+
227
+ # source://webmock//lib/webmock/api.rb#67
228
+ def remove_request_stub(stub); end
229
+
230
+ # source://webmock//lib/webmock/api.rb#71
231
+ def reset_executed_requests!; end
232
+
233
+ # source://webmock//lib/webmock/api.rb#7
234
+ def stub_http_request(method, uri); end
235
+
236
+ # source://webmock//lib/webmock/api.rb#7
237
+ def stub_request(method, uri); end
238
+
239
+ private
240
+
241
+ # this is a based on RSpec::Mocks::ArgumentMatchers#anythingize_lonely_keys
242
+ #
243
+ # source://webmock//lib/webmock/api.rb#104
244
+ def anythingize_lonely_keys(*args); end
245
+
246
+ # source://webmock//lib/webmock/api.rb#95
247
+ def assert_request_not_requested(request, options = T.unsafe(nil)); end
248
+
249
+ # source://webmock//lib/webmock/api.rb#86
250
+ def assert_request_requested(request, options = T.unsafe(nil)); end
251
+
252
+ # source://webmock//lib/webmock/api.rb#77
253
+ def convert_uri_method_and_options_to_request_and_options(method, uri, options, &block); end
254
+
255
+ class << self
256
+ # source://webmock//lib/webmock/api.rb#14
257
+ def request(method, uri); end
258
+ end
259
+ end
260
+
261
+ # source://webmock//lib/webmock/assertion_failure.rb#4
262
+ class WebMock::AssertionFailure
263
+ class << self
264
+ # Returns the value of attribute error_class.
265
+ #
266
+ # source://webmock//lib/webmock/assertion_failure.rb#7
267
+ def error_class; end
268
+
269
+ # Sets the attribute error_class
270
+ #
271
+ # @param value the value to set the attribute error_class to.
272
+ #
273
+ # source://webmock//lib/webmock/assertion_failure.rb#7
274
+ def error_class=(_arg0); end
275
+
276
+ # @raise [@error_class]
277
+ #
278
+ # source://webmock//lib/webmock/assertion_failure.rb#8
279
+ def failure(message); end
280
+ end
281
+ end
282
+
283
+ # source://webmock//lib/webmock/request_pattern.rb#252
284
+ class WebMock::BodyPattern
285
+ include ::WebMock::RSpecMatcherDetector
286
+
287
+ # @return [BodyPattern] a new instance of BodyPattern
288
+ #
289
+ # source://webmock//lib/webmock/request_pattern.rb#270
290
+ def initialize(pattern); end
291
+
292
+ # @return [Boolean]
293
+ #
294
+ # source://webmock//lib/webmock/request_pattern.rb#280
295
+ def matches?(body, content_type = T.unsafe(nil)); end
296
+
297
+ # Returns the value of attribute pattern.
298
+ #
299
+ # source://webmock//lib/webmock/request_pattern.rb#268
300
+ def pattern; end
301
+
302
+ # source://webmock//lib/webmock/request_pattern.rb#297
303
+ def to_s; end
304
+
305
+ private
306
+
307
+ # source://webmock//lib/webmock/request_pattern.rb#319
308
+ def assert_non_multipart_body(content_type); end
309
+
310
+ # source://webmock//lib/webmock/request_pattern.rb#303
311
+ def body_as_hash(body, content_type); end
312
+
313
+ # source://webmock//lib/webmock/request_pattern.rb#314
314
+ def body_format(content_type); end
315
+
316
+ # @return [Boolean]
317
+ #
318
+ # source://webmock//lib/webmock/request_pattern.rb#378
319
+ def empty_string?(string); end
320
+
321
+ # @return [Boolean]
322
+ #
323
+ # source://webmock//lib/webmock/request_pattern.rb#358
324
+ def matching_body_array?(query_parameters, pattern, content_type); end
325
+
326
+ # Compare two hashes for equality
327
+ #
328
+ # For two hashes to match they must have the same length and all
329
+ # values must match when compared using `#===`.
330
+ #
331
+ # The following hashes are examples of matches:
332
+ #
333
+ # {a: /\d+/} and {a: '123'}
334
+ #
335
+ # {a: '123'} and {a: '123'}
336
+ #
337
+ # {a: {b: /\d+/}} and {a: {b: '123'}}
338
+ #
339
+ # {a: {b: 'wow'}} and {a: {b: 'wow'}}
340
+ #
341
+ # @param query_parameters [Hash] typically the result of parsing
342
+ # JSON, XML or URL encoded parameters.
343
+ # @param pattern [Hash] which contains keys with a string, hash or
344
+ # regular expression value to use for comparison.
345
+ # @return [Boolean] true if the paramaters match the comparison
346
+ # hash, false if not.
347
+ #
348
+ # source://webmock//lib/webmock/request_pattern.rb#348
349
+ def matching_body_hashes?(query_parameters, pattern, content_type); end
350
+
351
+ # source://webmock//lib/webmock/request_pattern.rb#370
352
+ def matching_values(actual, expected, content_type); end
353
+
354
+ # source://webmock//lib/webmock/request_pattern.rb#382
355
+ def normalize_hash(hash); end
356
+
357
+ # @return [Boolean]
358
+ #
359
+ # source://webmock//lib/webmock/request_pattern.rb#386
360
+ def url_encoded_body?(content_type); end
361
+ end
362
+
363
+ # source://webmock//lib/webmock/request_pattern.rb#255
364
+ WebMock::BodyPattern::BODY_FORMATS = T.let(T.unsafe(nil), Hash)
365
+
366
+ # source://webmock//lib/webmock/callback_registry.rb#4
367
+ class WebMock::CallbackRegistry
368
+ class << self
369
+ # source://webmock//lib/webmock/callback_registry.rb#7
370
+ def add_callback(options, block); end
371
+
372
+ # @return [Boolean]
373
+ #
374
+ # source://webmock//lib/webmock/callback_registry.rb#32
375
+ def any_callbacks?; end
376
+
377
+ # source://webmock//lib/webmock/callback_registry.rb#11
378
+ def callbacks; end
379
+
380
+ # source://webmock//lib/webmock/callback_registry.rb#15
381
+ def invoke_callbacks(options, request_signature, response); end
382
+
383
+ # source://webmock//lib/webmock/callback_registry.rb#28
384
+ def reset; end
385
+ end
386
+ end
387
+
388
+ # source://webmock//lib/webmock/config.rb#4
389
+ class WebMock::Config
390
+ include ::Singleton
391
+ extend ::Singleton::SingletonClassMethods
392
+
393
+ # @return [Config] a new instance of Config
394
+ #
395
+ # source://webmock//lib/webmock/config.rb#7
396
+ def initialize; end
397
+
398
+ # Returns the value of attribute allow.
399
+ #
400
+ # source://webmock//lib/webmock/config.rb#14
401
+ def allow; end
402
+
403
+ # Sets the attribute allow
404
+ #
405
+ # @param value the value to set the attribute allow to.
406
+ #
407
+ # source://webmock//lib/webmock/config.rb#14
408
+ def allow=(_arg0); end
409
+
410
+ # Returns the value of attribute allow_localhost.
411
+ #
412
+ # source://webmock//lib/webmock/config.rb#13
413
+ def allow_localhost; end
414
+
415
+ # Sets the attribute allow_localhost
416
+ #
417
+ # @param value the value to set the attribute allow_localhost to.
418
+ #
419
+ # source://webmock//lib/webmock/config.rb#13
420
+ def allow_localhost=(_arg0); end
421
+
422
+ # Returns the value of attribute allow_net_connect.
423
+ #
424
+ # source://webmock//lib/webmock/config.rb#12
425
+ def allow_net_connect; end
426
+
427
+ # Sets the attribute allow_net_connect
428
+ #
429
+ # @param value the value to set the attribute allow_net_connect to.
430
+ #
431
+ # source://webmock//lib/webmock/config.rb#12
432
+ def allow_net_connect=(_arg0); end
433
+
434
+ # Returns the value of attribute net_http_connect_on_start.
435
+ #
436
+ # source://webmock//lib/webmock/config.rb#15
437
+ def net_http_connect_on_start; end
438
+
439
+ # Sets the attribute net_http_connect_on_start
440
+ #
441
+ # @param value the value to set the attribute net_http_connect_on_start to.
442
+ #
443
+ # source://webmock//lib/webmock/config.rb#15
444
+ def net_http_connect_on_start=(_arg0); end
445
+
446
+ # Returns the value of attribute query_values_notation.
447
+ #
448
+ # source://webmock//lib/webmock/config.rb#17
449
+ def query_values_notation; end
450
+
451
+ # Sets the attribute query_values_notation
452
+ #
453
+ # @param value the value to set the attribute query_values_notation to.
454
+ #
455
+ # source://webmock//lib/webmock/config.rb#17
456
+ def query_values_notation=(_arg0); end
457
+
458
+ # Returns the value of attribute show_body_diff.
459
+ #
460
+ # source://webmock//lib/webmock/config.rb#18
461
+ def show_body_diff; end
462
+
463
+ # Sets the attribute show_body_diff
464
+ #
465
+ # @param value the value to set the attribute show_body_diff to.
466
+ #
467
+ # source://webmock//lib/webmock/config.rb#18
468
+ def show_body_diff=(_arg0); end
469
+
470
+ # Returns the value of attribute show_stubbing_instructions.
471
+ #
472
+ # source://webmock//lib/webmock/config.rb#16
473
+ def show_stubbing_instructions; end
474
+
475
+ # Sets the attribute show_stubbing_instructions
476
+ #
477
+ # @param value the value to set the attribute show_stubbing_instructions to.
478
+ #
479
+ # source://webmock//lib/webmock/config.rb#16
480
+ def show_stubbing_instructions=(_arg0); end
481
+ end
482
+
483
+ # source://webmock//lib/webmock/deprecation.rb#4
484
+ class WebMock::Deprecation
485
+ class << self
486
+ # source://webmock//lib/webmock/deprecation.rb#6
487
+ def warning(message); end
488
+ end
489
+ end
490
+
491
+ # source://webmock//lib/webmock/response.rb#149
492
+ class WebMock::DynamicResponse < ::WebMock::Response
493
+ # @return [DynamicResponse] a new instance of DynamicResponse
494
+ #
495
+ # source://webmock//lib/webmock/response.rb#152
496
+ def initialize(responder); end
497
+
498
+ # source://webmock//lib/webmock/response.rb#156
499
+ def evaluate(request_signature); end
500
+
501
+ # Returns the value of attribute responder.
502
+ #
503
+ # source://webmock//lib/webmock/response.rb#150
504
+ def responder; end
505
+
506
+ # Sets the attribute responder
507
+ #
508
+ # @param value the value to set the attribute responder to.
509
+ #
510
+ # source://webmock//lib/webmock/response.rb#150
511
+ def responder=(_arg0); end
512
+ end
513
+
514
+ # source://webmock//lib/webmock/util/hash_validator.rb#4
515
+ class WebMock::HashValidator
516
+ # @return [HashValidator] a new instance of HashValidator
517
+ #
518
+ # source://webmock//lib/webmock/util/hash_validator.rb#5
519
+ def initialize(hash); end
520
+
521
+ # This code is based on https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/hash/keys.rb
522
+ #
523
+ # source://webmock//lib/webmock/util/hash_validator.rb#10
524
+ def validate_keys(*valid_keys); end
525
+ end
526
+
527
+ # source://webmock//lib/webmock/request_pattern.rb#391
528
+ class WebMock::HeadersPattern
529
+ # @return [HeadersPattern] a new instance of HeadersPattern
530
+ #
531
+ # source://webmock//lib/webmock/request_pattern.rb#392
532
+ def initialize(pattern); end
533
+
534
+ # @return [Boolean]
535
+ #
536
+ # source://webmock//lib/webmock/request_pattern.rb#396
537
+ def matches?(headers); end
538
+
539
+ # source://webmock//lib/webmock/request_pattern.rb#412
540
+ def pp_to_s; end
541
+
542
+ # source://webmock//lib/webmock/request_pattern.rb#408
543
+ def to_s; end
544
+
545
+ private
546
+
547
+ # @return [Boolean]
548
+ #
549
+ # source://webmock//lib/webmock/request_pattern.rb#418
550
+ def empty_headers?(headers); end
551
+ end
552
+
553
+ # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter.rb#4
554
+ class WebMock::HttpLibAdapter
555
+ class << self
556
+ # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter.rb#5
557
+ def adapter_for(lib); end
558
+ end
559
+ end
560
+
561
+ # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#4
562
+ class WebMock::HttpLibAdapterRegistry
563
+ include ::Singleton
564
+ extend ::Singleton::SingletonClassMethods
565
+
566
+ # @return [HttpLibAdapterRegistry] a new instance of HttpLibAdapterRegistry
567
+ #
568
+ # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#9
569
+ def initialize; end
570
+
571
+ # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#17
572
+ def each_adapter(&block); end
573
+
574
+ # Returns the value of attribute http_lib_adapters.
575
+ #
576
+ # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#7
577
+ def http_lib_adapters; end
578
+
579
+ # Sets the attribute http_lib_adapters
580
+ #
581
+ # @param value the value to set the attribute http_lib_adapters to.
582
+ #
583
+ # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#7
584
+ def http_lib_adapters=(_arg0); end
585
+
586
+ # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#13
587
+ def register(lib, adapter); end
588
+ end
589
+
590
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#10
591
+ module WebMock::HttpLibAdapters; end
592
+
593
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#11
594
+ class WebMock::HttpLibAdapters::NetHttpAdapter < ::WebMock::HttpLibAdapter
595
+ class << self
596
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#23
597
+ def disable!; end
598
+
599
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#16
600
+ def enable!; end
601
+ end
602
+ end
603
+
604
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#14
605
+ WebMock::HttpLibAdapters::NetHttpAdapter::OriginalNetHTTP = Net::HTTP
606
+
607
+ # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#4
608
+ module WebMock::Matchers; end
609
+
610
+ # this is a based on RSpec::Mocks::ArgumentMatchers::AnyArgMatcher
611
+ #
612
+ # source://webmock//lib/webmock/matchers/any_arg_matcher.rb#6
613
+ class WebMock::Matchers::AnyArgMatcher
614
+ # @return [AnyArgMatcher] a new instance of AnyArgMatcher
615
+ #
616
+ # source://webmock//lib/webmock/matchers/any_arg_matcher.rb#7
617
+ def initialize(ignore); end
618
+
619
+ # source://webmock//lib/webmock/matchers/any_arg_matcher.rb#10
620
+ def ==(other); end
621
+ end
622
+
623
+ # Base class for Hash matchers
624
+ # https://github.com/rspec/rspec-mocks/blob/master/lib/rspec/mocks/argument_matchers.rb
625
+ #
626
+ # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#7
627
+ class WebMock::Matchers::HashArgumentMatcher
628
+ # @return [HashArgumentMatcher] a new instance of HashArgumentMatcher
629
+ #
630
+ # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#8
631
+ def initialize(expected); end
632
+
633
+ # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#12
634
+ def ==(_actual, &block); end
635
+
636
+ class << self
637
+ # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#18
638
+ def from_rspec_matcher(matcher); end
639
+ end
640
+ end
641
+
642
+ # this is a based on RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher
643
+ # https://github.com/rspec/rspec-mocks/blob/master/lib/rspec/mocks/argument_matchers.rb
644
+ #
645
+ # source://webmock//lib/webmock/matchers/hash_excluding_matcher.rb#7
646
+ class WebMock::Matchers::HashExcludingMatcher < ::WebMock::Matchers::HashArgumentMatcher
647
+ # source://webmock//lib/webmock/matchers/hash_excluding_matcher.rb#8
648
+ def ==(actual); end
649
+
650
+ # source://webmock//lib/webmock/matchers/hash_excluding_matcher.rb#12
651
+ def inspect; end
652
+ end
653
+
654
+ # this is a based on RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher
655
+ # https://github.com/rspec/rspec-mocks/blob/master/lib/rspec/mocks/argument_matchers.rb
656
+ #
657
+ # source://webmock//lib/webmock/matchers/hash_including_matcher.rb#7
658
+ class WebMock::Matchers::HashIncludingMatcher < ::WebMock::Matchers::HashArgumentMatcher
659
+ # source://webmock//lib/webmock/matchers/hash_including_matcher.rb#8
660
+ def ==(actual); end
661
+
662
+ # source://webmock//lib/webmock/matchers/hash_including_matcher.rb#14
663
+ def inspect; end
664
+ end
665
+
666
+ # source://webmock//lib/webmock/request_pattern.rb#95
667
+ class WebMock::MethodPattern
668
+ # @return [MethodPattern] a new instance of MethodPattern
669
+ #
670
+ # source://webmock//lib/webmock/request_pattern.rb#96
671
+ def initialize(pattern); end
672
+
673
+ # @return [Boolean]
674
+ #
675
+ # source://webmock//lib/webmock/request_pattern.rb#100
676
+ def matches?(method); end
677
+
678
+ # source://webmock//lib/webmock/request_pattern.rb#104
679
+ def to_s; end
680
+ end
681
+
682
+ # source://webmock//lib/webmock/errors.rb#5
683
+ class WebMock::NetConnectNotAllowedError < ::Exception
684
+ # @return [NetConnectNotAllowedError] a new instance of NetConnectNotAllowedError
685
+ #
686
+ # source://webmock//lib/webmock/errors.rb#6
687
+ def initialize(request_signature); end
688
+ end
689
+
690
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#242
691
+ module WebMock::NetHTTPUtility
692
+ class << self
693
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#281
694
+ def check_right_http_connection; end
695
+
696
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#272
697
+ def get_uri(net_http, path = T.unsafe(nil)); end
698
+
699
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#285
700
+ def puts_warning_for_right_http_if_needed; end
701
+
702
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#244
703
+ def request_signature_from_request(net_http, request, body = T.unsafe(nil)); end
704
+ end
705
+ end
706
+
707
+ # source://webmock//lib/webmock/request_pattern.rb#5
708
+ module WebMock::RSpecMatcherDetector
709
+ # @return [Boolean]
710
+ #
711
+ # source://webmock//lib/webmock/request_pattern.rb#10
712
+ def rSpecHashExcludingMatcher?(matcher); end
713
+
714
+ # @return [Boolean]
715
+ #
716
+ # source://webmock//lib/webmock/request_pattern.rb#6
717
+ def rSpecHashIncludingMatcher?(matcher); end
718
+ end
719
+
720
+ # source://webmock//lib/webmock/rack_response.rb#4
721
+ class WebMock::RackResponse < ::WebMock::Response
722
+ # @return [RackResponse] a new instance of RackResponse
723
+ #
724
+ # source://webmock//lib/webmock/rack_response.rb#5
725
+ def initialize(app); end
726
+
727
+ # source://webmock//lib/webmock/rack_response.rb#21
728
+ def body_from_rack_response(response); end
729
+
730
+ # source://webmock//lib/webmock/rack_response.rb#28
731
+ def build_rack_env(request); end
732
+
733
+ # source://webmock//lib/webmock/rack_response.rb#9
734
+ def evaluate(request); end
735
+
736
+ # source://webmock//lib/webmock/rack_response.rb#63
737
+ def session; end
738
+
739
+ # source://webmock//lib/webmock/rack_response.rb#67
740
+ def session_options; end
741
+ end
742
+
743
+ # source://webmock//lib/webmock/request_body_diff.rb#7
744
+ class WebMock::RequestBodyDiff
745
+ # @return [RequestBodyDiff] a new instance of RequestBodyDiff
746
+ #
747
+ # source://webmock//lib/webmock/request_body_diff.rb#9
748
+ def initialize(request_signature, request_stub); end
749
+
750
+ # source://webmock//lib/webmock/request_body_diff.rb#14
751
+ def body_diff; end
752
+
753
+ private
754
+
755
+ # @return [Boolean]
756
+ #
757
+ # source://webmock//lib/webmock/request_body_diff.rb#57
758
+ def parseable_json?(body_pattern); end
759
+
760
+ # Returns the value of attribute request_signature.
761
+ #
762
+ # source://webmock//lib/webmock/request_body_diff.rb#20
763
+ def request_signature; end
764
+
765
+ # source://webmock//lib/webmock/request_body_diff.rb#33
766
+ def request_signature_body_hash; end
767
+
768
+ # @return [Boolean]
769
+ #
770
+ # source://webmock//lib/webmock/request_body_diff.rb#25
771
+ def request_signature_diffable?; end
772
+
773
+ # @return [Boolean]
774
+ #
775
+ # source://webmock//lib/webmock/request_body_diff.rb#49
776
+ def request_signature_parseable_json?; end
777
+
778
+ # Returns the value of attribute request_stub.
779
+ #
780
+ # source://webmock//lib/webmock/request_body_diff.rb#20
781
+ def request_stub; end
782
+
783
+ # source://webmock//lib/webmock/request_body_diff.rb#43
784
+ def request_stub_body; end
785
+
786
+ # source://webmock//lib/webmock/request_body_diff.rb#37
787
+ def request_stub_body_hash; end
788
+
789
+ # @return [Boolean]
790
+ #
791
+ # source://webmock//lib/webmock/request_body_diff.rb#29
792
+ def request_stub_diffable?; end
793
+
794
+ # @return [Boolean]
795
+ #
796
+ # source://webmock//lib/webmock/request_body_diff.rb#53
797
+ def request_stub_parseable_json?; end
798
+ end
799
+
800
+ # source://webmock//lib/webmock/request_execution_verifier.rb#4
801
+ class WebMock::RequestExecutionVerifier
802
+ # @return [RequestExecutionVerifier] a new instance of RequestExecutionVerifier
803
+ #
804
+ # source://webmock//lib/webmock/request_execution_verifier.rb#8
805
+ def initialize(request_pattern = T.unsafe(nil), expected_times_executed = T.unsafe(nil), at_least_times_executed = T.unsafe(nil), at_most_times_executed = T.unsafe(nil)); end
806
+
807
+ # Returns the value of attribute at_least_times_executed.
808
+ #
809
+ # source://webmock//lib/webmock/request_execution_verifier.rb#6
810
+ def at_least_times_executed; end
811
+
812
+ # Sets the attribute at_least_times_executed
813
+ #
814
+ # @param value the value to set the attribute at_least_times_executed to.
815
+ #
816
+ # source://webmock//lib/webmock/request_execution_verifier.rb#6
817
+ def at_least_times_executed=(_arg0); end
818
+
819
+ # Returns the value of attribute at_most_times_executed.
820
+ #
821
+ # source://webmock//lib/webmock/request_execution_verifier.rb#6
822
+ def at_most_times_executed; end
823
+
824
+ # Sets the attribute at_most_times_executed
825
+ #
826
+ # @param value the value to set the attribute at_most_times_executed to.
827
+ #
828
+ # source://webmock//lib/webmock/request_execution_verifier.rb#6
829
+ def at_most_times_executed=(_arg0); end
830
+
831
+ # source://webmock//lib/webmock/request_execution_verifier.rb#38
832
+ def description; end
833
+
834
+ # @return [Boolean]
835
+ #
836
+ # source://webmock//lib/webmock/request_execution_verifier.rb#28
837
+ def does_not_match?; end
838
+
839
+ # Returns the value of attribute expected_times_executed.
840
+ #
841
+ # source://webmock//lib/webmock/request_execution_verifier.rb#6
842
+ def expected_times_executed; end
843
+
844
+ # Sets the attribute expected_times_executed
845
+ #
846
+ # @param value the value to set the attribute expected_times_executed to.
847
+ #
848
+ # source://webmock//lib/webmock/request_execution_verifier.rb#6
849
+ def expected_times_executed=(_arg0); end
850
+
851
+ # source://webmock//lib/webmock/request_execution_verifier.rb#42
852
+ def failure_message; end
853
+
854
+ # source://webmock//lib/webmock/request_execution_verifier.rb#46
855
+ def failure_message_when_negated; end
856
+
857
+ # @return [Boolean]
858
+ #
859
+ # source://webmock//lib/webmock/request_execution_verifier.rb#15
860
+ def matches?; end
861
+
862
+ # Returns the value of attribute request_pattern.
863
+ #
864
+ # source://webmock//lib/webmock/request_execution_verifier.rb#6
865
+ def request_pattern; end
866
+
867
+ # Sets the attribute request_pattern
868
+ #
869
+ # @param value the value to set the attribute request_pattern to.
870
+ #
871
+ # source://webmock//lib/webmock/request_execution_verifier.rb#6
872
+ def request_pattern=(_arg0); end
873
+
874
+ # Returns the value of attribute times_executed.
875
+ #
876
+ # source://webmock//lib/webmock/request_execution_verifier.rb#6
877
+ def times_executed; end
878
+
879
+ # Sets the attribute times_executed
880
+ #
881
+ # @param value the value to set the attribute times_executed to.
882
+ #
883
+ # source://webmock//lib/webmock/request_execution_verifier.rb#6
884
+ def times_executed=(_arg0); end
885
+
886
+ private
887
+
888
+ # source://webmock//lib/webmock/request_execution_verifier.rb#56
889
+ def failure_message_phrase(is_negated = T.unsafe(nil)); end
890
+
891
+ # source://webmock//lib/webmock/request_execution_verifier.rb#62
892
+ def quantity_phrase(is_negated = T.unsafe(nil)); end
893
+
894
+ # source://webmock//lib/webmock/request_execution_verifier.rb#74
895
+ def times(times); end
896
+
897
+ class << self
898
+ # source://webmock//lib/webmock/request_execution_verifier.rb#50
899
+ def executed_requests_message; end
900
+ end
901
+ end
902
+
903
+ # source://webmock//lib/webmock/request_pattern.rb#15
904
+ class WebMock::RequestPattern
905
+ # @return [RequestPattern] a new instance of RequestPattern
906
+ #
907
+ # source://webmock//lib/webmock/request_pattern.rb#19
908
+ def initialize(method, uri, options = T.unsafe(nil)); end
909
+
910
+ # Returns the value of attribute body_pattern.
911
+ #
912
+ # source://webmock//lib/webmock/request_pattern.rb#17
913
+ def body_pattern; end
914
+
915
+ # Returns the value of attribute headers_pattern.
916
+ #
917
+ # source://webmock//lib/webmock/request_pattern.rb#17
918
+ def headers_pattern; end
919
+
920
+ # @return [Boolean]
921
+ #
922
+ # source://webmock//lib/webmock/request_pattern.rb#35
923
+ def matches?(request_signature); end
924
+
925
+ # Returns the value of attribute method_pattern.
926
+ #
927
+ # source://webmock//lib/webmock/request_pattern.rb#17
928
+ def method_pattern; end
929
+
930
+ # source://webmock//lib/webmock/request_pattern.rb#45
931
+ def to_s; end
932
+
933
+ # Returns the value of attribute uri_pattern.
934
+ #
935
+ # source://webmock//lib/webmock/request_pattern.rb#17
936
+ def uri_pattern; end
937
+
938
+ # @raise [ArgumentError]
939
+ #
940
+ # source://webmock//lib/webmock/request_pattern.rb#28
941
+ def with(options = T.unsafe(nil), &block); end
942
+
943
+ private
944
+
945
+ # source://webmock//lib/webmock/request_pattern.rb#57
946
+ def assign_options(options); end
947
+
948
+ # source://webmock//lib/webmock/request_pattern.rb#80
949
+ def create_uri_pattern(uri); end
950
+
951
+ # source://webmock//lib/webmock/request_pattern.rb#66
952
+ def set_basic_auth_as_headers!(options); end
953
+
954
+ # source://webmock//lib/webmock/request_pattern.rb#74
955
+ def validate_basic_auth!(basic_auth); end
956
+ end
957
+
958
+ # source://webmock//lib/webmock/request_registry.rb#5
959
+ class WebMock::RequestRegistry
960
+ include ::Singleton
961
+ extend ::Singleton::SingletonClassMethods
962
+
963
+ # @return [RequestRegistry] a new instance of RequestRegistry
964
+ #
965
+ # source://webmock//lib/webmock/request_registry.rb#10
966
+ def initialize; end
967
+
968
+ # Returns the value of attribute requested_signatures.
969
+ #
970
+ # source://webmock//lib/webmock/request_registry.rb#8
971
+ def requested_signatures; end
972
+
973
+ # Sets the attribute requested_signatures
974
+ #
975
+ # @param value the value to set the attribute requested_signatures to.
976
+ #
977
+ # source://webmock//lib/webmock/request_registry.rb#8
978
+ def requested_signatures=(_arg0); end
979
+
980
+ # source://webmock//lib/webmock/request_registry.rb#14
981
+ def reset!; end
982
+
983
+ # source://webmock//lib/webmock/request_registry.rb#18
984
+ def times_executed(request_pattern); end
985
+
986
+ # source://webmock//lib/webmock/request_registry.rb#24
987
+ def to_s; end
988
+ end
989
+
990
+ # source://webmock//lib/webmock/request_signature.rb#5
991
+ class WebMock::RequestSignature
992
+ # @return [RequestSignature] a new instance of RequestSignature
993
+ #
994
+ # source://webmock//lib/webmock/request_signature.rb#10
995
+ def initialize(method, uri, options = T.unsafe(nil)); end
996
+
997
+ # @return [Boolean]
998
+ #
999
+ # source://webmock//lib/webmock/request_signature.rb#34
1000
+ def ==(other); end
1001
+
1002
+ # Returns the value of attribute body.
1003
+ #
1004
+ # source://webmock//lib/webmock/request_signature.rb#7
1005
+ def body; end
1006
+
1007
+ # Sets the attribute body
1008
+ #
1009
+ # @param value the value to set the attribute body to.
1010
+ #
1011
+ # source://webmock//lib/webmock/request_signature.rb#7
1012
+ def body=(_arg0); end
1013
+
1014
+ # @return [Boolean]
1015
+ #
1016
+ # source://webmock//lib/webmock/request_signature.rb#34
1017
+ def eql?(other); end
1018
+
1019
+ # source://webmock//lib/webmock/request_signature.rb#30
1020
+ def hash; end
1021
+
1022
+ # Returns the value of attribute headers.
1023
+ #
1024
+ # source://webmock//lib/webmock/request_signature.rb#8
1025
+ def headers; end
1026
+
1027
+ # source://webmock//lib/webmock/request_signature.rb#26
1028
+ def headers=(headers); end
1029
+
1030
+ # @return [Boolean]
1031
+ #
1032
+ # source://webmock//lib/webmock/request_signature.rb#43
1033
+ def json_headers?; end
1034
+
1035
+ # Returns the value of attribute method.
1036
+ #
1037
+ # source://webmock//lib/webmock/request_signature.rb#7
1038
+ def method; end
1039
+
1040
+ # Sets the attribute method
1041
+ #
1042
+ # @param value the value to set the attribute method to.
1043
+ #
1044
+ # source://webmock//lib/webmock/request_signature.rb#7
1045
+ def method=(_arg0); end
1046
+
1047
+ # source://webmock//lib/webmock/request_signature.rb#16
1048
+ def to_s; end
1049
+
1050
+ # Returns the value of attribute uri.
1051
+ #
1052
+ # source://webmock//lib/webmock/request_signature.rb#7
1053
+ def uri; end
1054
+
1055
+ # Sets the attribute uri
1056
+ #
1057
+ # @param value the value to set the attribute uri to.
1058
+ #
1059
+ # source://webmock//lib/webmock/request_signature.rb#7
1060
+ def uri=(_arg0); end
1061
+
1062
+ # @return [Boolean]
1063
+ #
1064
+ # source://webmock//lib/webmock/request_signature.rb#39
1065
+ def url_encoded?; end
1066
+
1067
+ private
1068
+
1069
+ # source://webmock//lib/webmock/request_signature.rb#49
1070
+ def assign_options(options); end
1071
+ end
1072
+
1073
+ # source://webmock//lib/webmock/request_signature_snippet.rb#6
1074
+ class WebMock::RequestSignatureSnippet
1075
+ # @return [RequestSignatureSnippet] a new instance of RequestSignatureSnippet
1076
+ #
1077
+ # source://webmock//lib/webmock/request_signature_snippet.rb#10
1078
+ def initialize(request_signature); end
1079
+
1080
+ # Returns the value of attribute request_signature.
1081
+ #
1082
+ # source://webmock//lib/webmock/request_signature_snippet.rb#8
1083
+ def request_signature; end
1084
+
1085
+ # Returns the value of attribute request_stub.
1086
+ #
1087
+ # source://webmock//lib/webmock/request_signature_snippet.rb#8
1088
+ def request_stub; end
1089
+
1090
+ # source://webmock//lib/webmock/request_signature_snippet.rb#22
1091
+ def request_stubs; end
1092
+
1093
+ # source://webmock//lib/webmock/request_signature_snippet.rb#15
1094
+ def stubbing_instructions; end
1095
+
1096
+ private
1097
+
1098
+ # source://webmock//lib/webmock/request_signature_snippet.rb#35
1099
+ def add_body_diff(stub, text); end
1100
+
1101
+ # source://webmock//lib/webmock/request_signature_snippet.rb#54
1102
+ def pretty_print_to_string(string_to_print); end
1103
+
1104
+ # source://webmock//lib/webmock/request_signature_snippet.rb#45
1105
+ def request_params; end
1106
+
1107
+ # source://webmock//lib/webmock/request_signature_snippet.rb#40
1108
+ def signature_stub_body_diff(stub); end
1109
+ end
1110
+
1111
+ # source://webmock//lib/webmock/request_stub.rb#4
1112
+ class WebMock::RequestStub
1113
+ # @return [RequestStub] a new instance of RequestStub
1114
+ #
1115
+ # source://webmock//lib/webmock/request_stub.rb#8
1116
+ def initialize(method, uri); end
1117
+
1118
+ # source://webmock//lib/webmock/request_stub.rb#65
1119
+ def and_raise(*exceptions); end
1120
+
1121
+ # source://webmock//lib/webmock/request_stub.rb#19
1122
+ def and_return(*response_hashes, &block); end
1123
+
1124
+ # @raise [ArgumentError]
1125
+ #
1126
+ # source://webmock//lib/webmock/request_stub.rb#29
1127
+ def and_return_json(*response_hashes); end
1128
+
1129
+ # source://webmock//lib/webmock/request_stub.rb#73
1130
+ def and_timeout; end
1131
+
1132
+ # @return [Boolean]
1133
+ #
1134
+ # source://webmock//lib/webmock/request_stub.rb#90
1135
+ def has_responses?; end
1136
+
1137
+ # @return [Boolean]
1138
+ #
1139
+ # source://webmock//lib/webmock/request_stub.rb#108
1140
+ def matches?(request_signature); end
1141
+
1142
+ # Returns the value of attribute request_pattern.
1143
+ #
1144
+ # source://webmock//lib/webmock/request_stub.rb#6
1145
+ def request_pattern; end
1146
+
1147
+ # Sets the attribute request_pattern
1148
+ #
1149
+ # @param value the value to set the attribute request_pattern to.
1150
+ #
1151
+ # source://webmock//lib/webmock/request_stub.rb#6
1152
+ def request_pattern=(_arg0); end
1153
+
1154
+ # source://webmock//lib/webmock/request_stub.rb#79
1155
+ def response; end
1156
+
1157
+ # source://webmock//lib/webmock/request_stub.rb#94
1158
+ def then; end
1159
+
1160
+ # source://webmock//lib/webmock/request_stub.rb#98
1161
+ def times(number); end
1162
+
1163
+ # source://webmock//lib/webmock/request_stub.rb#61
1164
+ def to_rack(app, options = T.unsafe(nil)); end
1165
+
1166
+ # source://webmock//lib/webmock/request_stub.rb#65
1167
+ def to_raise(*exceptions); end
1168
+
1169
+ # source://webmock//lib/webmock/request_stub.rb#19
1170
+ def to_return(*response_hashes, &block); end
1171
+
1172
+ # @raise [ArgumentError]
1173
+ #
1174
+ # source://webmock//lib/webmock/request_stub.rb#29
1175
+ def to_return_json(*response_hashes); end
1176
+
1177
+ # source://webmock//lib/webmock/request_stub.rb#112
1178
+ def to_s; end
1179
+
1180
+ # source://webmock//lib/webmock/request_stub.rb#73
1181
+ def to_timeout; end
1182
+
1183
+ # source://webmock//lib/webmock/request_stub.rb#14
1184
+ def with(params = T.unsafe(nil), &block); end
1185
+
1186
+ class << self
1187
+ # source://webmock//lib/webmock/request_stub.rb#116
1188
+ def from_request_signature(signature); end
1189
+ end
1190
+ end
1191
+
1192
+ # source://webmock//lib/webmock/response.rb#17
1193
+ class WebMock::Response
1194
+ # @return [Response] a new instance of Response
1195
+ #
1196
+ # source://webmock//lib/webmock/response.rb#18
1197
+ def initialize(options = T.unsafe(nil)); end
1198
+
1199
+ # source://webmock//lib/webmock/response.rb#97
1200
+ def ==(other); end
1201
+
1202
+ # source://webmock//lib/webmock/response.rb#40
1203
+ def body; end
1204
+
1205
+ # source://webmock//lib/webmock/response.rb#44
1206
+ def body=(body); end
1207
+
1208
+ # source://webmock//lib/webmock/response.rb#88
1209
+ def evaluate(request_signature); end
1210
+
1211
+ # source://webmock//lib/webmock/response.rb#58
1212
+ def exception; end
1213
+
1214
+ # source://webmock//lib/webmock/response.rb#62
1215
+ def exception=(exception); end
1216
+
1217
+ # source://webmock//lib/webmock/response.rb#29
1218
+ def headers; end
1219
+
1220
+ # source://webmock//lib/webmock/response.rb#33
1221
+ def headers=(headers); end
1222
+
1223
+ # source://webmock//lib/webmock/response.rb#78
1224
+ def options=(options); end
1225
+
1226
+ # @raise [@exception]
1227
+ #
1228
+ # source://webmock//lib/webmock/response.rb#70
1229
+ def raise_error_if_any; end
1230
+
1231
+ # source://webmock//lib/webmock/response.rb#74
1232
+ def should_timeout; end
1233
+
1234
+ # source://webmock//lib/webmock/response.rb#50
1235
+ def status; end
1236
+
1237
+ # source://webmock//lib/webmock/response.rb#54
1238
+ def status=(status); end
1239
+
1240
+ private
1241
+
1242
+ # source://webmock//lib/webmock/response.rb#115
1243
+ def assert_valid_body!; end
1244
+
1245
+ # source://webmock//lib/webmock/response.rb#128
1246
+ def read_raw_response(io); end
1247
+
1248
+ # source://webmock//lib/webmock/response.rb#107
1249
+ def stringify_body!; end
1250
+ end
1251
+
1252
+ # source://webmock//lib/webmock/response.rb#145
1253
+ class WebMock::Response::InvalidBody < ::StandardError; end
1254
+
1255
+ # source://webmock//lib/webmock/response.rb#7
1256
+ class WebMock::ResponseFactory
1257
+ class << self
1258
+ # source://webmock//lib/webmock/response.rb#8
1259
+ def response_for(options); end
1260
+ end
1261
+ end
1262
+
1263
+ # source://webmock//lib/webmock/responses_sequence.rb#5
1264
+ class WebMock::ResponsesSequence
1265
+ # @return [ResponsesSequence] a new instance of ResponsesSequence
1266
+ #
1267
+ # source://webmock//lib/webmock/responses_sequence.rb#9
1268
+ def initialize(responses); end
1269
+
1270
+ # @return [Boolean]
1271
+ #
1272
+ # source://webmock//lib/webmock/responses_sequence.rb#15
1273
+ def end?; end
1274
+
1275
+ # source://webmock//lib/webmock/responses_sequence.rb#19
1276
+ def next_response; end
1277
+
1278
+ # Returns the value of attribute times_to_repeat.
1279
+ #
1280
+ # source://webmock//lib/webmock/responses_sequence.rb#7
1281
+ def times_to_repeat; end
1282
+
1283
+ # Sets the attribute times_to_repeat
1284
+ #
1285
+ # @param value the value to set the attribute times_to_repeat to.
1286
+ #
1287
+ # source://webmock//lib/webmock/responses_sequence.rb#7
1288
+ def times_to_repeat=(_arg0); end
1289
+
1290
+ private
1291
+
1292
+ # source://webmock//lib/webmock/responses_sequence.rb#31
1293
+ def increase_position; end
1294
+ end
1295
+
1296
+ # source://webmock//lib/webmock/stub_registry.rb#5
1297
+ class WebMock::StubRegistry
1298
+ include ::Singleton
1299
+ extend ::Singleton::SingletonClassMethods
1300
+
1301
+ # @return [StubRegistry] a new instance of StubRegistry
1302
+ #
1303
+ # source://webmock//lib/webmock/stub_registry.rb#10
1304
+ def initialize; end
1305
+
1306
+ # source://webmock//lib/webmock/stub_registry.rb#14
1307
+ def global_stubs; end
1308
+
1309
+ # source://webmock//lib/webmock/stub_registry.rb#22
1310
+ def register_global_stub(order = T.unsafe(nil), &block); end
1311
+
1312
+ # source://webmock//lib/webmock/stub_registry.rb#50
1313
+ def register_request_stub(stub); end
1314
+
1315
+ # @return [Boolean]
1316
+ #
1317
+ # source://webmock//lib/webmock/stub_registry.rb#61
1318
+ def registered_request?(request_signature); end
1319
+
1320
+ # source://webmock//lib/webmock/stub_registry.rb#55
1321
+ def remove_request_stub(stub); end
1322
+
1323
+ # Returns the value of attribute request_stubs.
1324
+ #
1325
+ # source://webmock//lib/webmock/stub_registry.rb#8
1326
+ def request_stubs; end
1327
+
1328
+ # Sets the attribute request_stubs
1329
+ #
1330
+ # @param value the value to set the attribute request_stubs to.
1331
+ #
1332
+ # source://webmock//lib/webmock/stub_registry.rb#8
1333
+ def request_stubs=(_arg0); end
1334
+
1335
+ # source://webmock//lib/webmock/stub_registry.rb#18
1336
+ def reset!; end
1337
+
1338
+ # source://webmock//lib/webmock/stub_registry.rb#65
1339
+ def response_for_request(request_signature); end
1340
+
1341
+ private
1342
+
1343
+ # source://webmock//lib/webmock/stub_registry.rb#79
1344
+ def evaluate_response_for_request(response, request_signature); end
1345
+
1346
+ # source://webmock//lib/webmock/stub_registry.rb#72
1347
+ def request_stub_for(request_signature); end
1348
+ end
1349
+
1350
+ # source://webmock//lib/webmock/stub_request_snippet.rb#4
1351
+ class WebMock::StubRequestSnippet
1352
+ # @return [StubRequestSnippet] a new instance of StubRequestSnippet
1353
+ #
1354
+ # source://webmock//lib/webmock/stub_request_snippet.rb#5
1355
+ def initialize(request_stub); end
1356
+
1357
+ # source://webmock//lib/webmock/stub_request_snippet.rb#9
1358
+ def body_pattern; end
1359
+
1360
+ # source://webmock//lib/webmock/stub_request_snippet.rb#13
1361
+ def to_s(with_response = T.unsafe(nil)); end
1362
+ end
1363
+
1364
+ # source://webmock//lib/webmock/request_pattern.rb#177
1365
+ class WebMock::URIAddressablePattern < ::WebMock::URIPattern
1366
+ # source://webmock//lib/webmock/request_pattern.rb#178
1367
+ def add_query_params(query_params); end
1368
+
1369
+ private
1370
+
1371
+ # @return [Boolean]
1372
+ #
1373
+ # source://webmock//lib/webmock/request_pattern.rb#203
1374
+ def matches_with_variations?(uri); end
1375
+
1376
+ # source://webmock//lib/webmock/request_pattern.rb#199
1377
+ def pattern_inspect; end
1378
+
1379
+ # @return [Boolean]
1380
+ #
1381
+ # source://webmock//lib/webmock/request_pattern.rb#189
1382
+ def pattern_matches?(uri); end
1383
+
1384
+ # @return [Boolean]
1385
+ #
1386
+ # source://webmock//lib/webmock/request_pattern.rb#215
1387
+ def template_matches_uri?(template, uri); end
1388
+ end
1389
+
1390
+ # source://webmock//lib/webmock/request_pattern.rb#161
1391
+ class WebMock::URICallablePattern < ::WebMock::URIPattern
1392
+ private
1393
+
1394
+ # @return [Boolean]
1395
+ #
1396
+ # source://webmock//lib/webmock/request_pattern.rb#164
1397
+ def pattern_matches?(uri); end
1398
+ end
1399
+
1400
+ # source://webmock//lib/webmock/request_pattern.rb#110
1401
+ class WebMock::URIPattern
1402
+ include ::WebMock::RSpecMatcherDetector
1403
+
1404
+ # @return [URIPattern] a new instance of URIPattern
1405
+ #
1406
+ # source://webmock//lib/webmock/request_pattern.rb#113
1407
+ def initialize(pattern); end
1408
+
1409
+ # source://webmock//lib/webmock/request_pattern.rb#125
1410
+ def add_query_params(query_params); end
1411
+
1412
+ # @return [Boolean]
1413
+ #
1414
+ # source://webmock//lib/webmock/request_pattern.rb#140
1415
+ def matches?(uri); end
1416
+
1417
+ # source://webmock//lib/webmock/request_pattern.rb#144
1418
+ def to_s; end
1419
+
1420
+ private
1421
+
1422
+ # source://webmock//lib/webmock/request_pattern.rb#152
1423
+ def pattern_inspect; end
1424
+
1425
+ # @return [Boolean]
1426
+ #
1427
+ # source://webmock//lib/webmock/request_pattern.rb#156
1428
+ def query_params_matches?(uri); end
1429
+ end
1430
+
1431
+ # source://webmock//lib/webmock/request_pattern.rb#169
1432
+ class WebMock::URIRegexpPattern < ::WebMock::URIPattern
1433
+ private
1434
+
1435
+ # @return [Boolean]
1436
+ #
1437
+ # source://webmock//lib/webmock/request_pattern.rb#172
1438
+ def pattern_matches?(uri); end
1439
+ end
1440
+
1441
+ # source://webmock//lib/webmock/request_pattern.rb#222
1442
+ class WebMock::URIStringPattern < ::WebMock::URIPattern
1443
+ # source://webmock//lib/webmock/request_pattern.rb#223
1444
+ def add_query_params(query_params); end
1445
+
1446
+ private
1447
+
1448
+ # source://webmock//lib/webmock/request_pattern.rb#246
1449
+ def pattern_inspect; end
1450
+
1451
+ # @return [Boolean]
1452
+ #
1453
+ # source://webmock//lib/webmock/request_pattern.rb#234
1454
+ def pattern_matches?(uri); end
1455
+ end
1456
+
1457
+ # source://webmock//lib/webmock/util/query_mapper.rb#3
1458
+ module WebMock::Util; end
1459
+
1460
+ # source://webmock//lib/webmock/util/hash_counter.rb#7
1461
+ class WebMock::Util::HashCounter
1462
+ # @return [HashCounter] a new instance of HashCounter
1463
+ #
1464
+ # source://webmock//lib/webmock/util/hash_counter.rb#10
1465
+ def initialize; end
1466
+
1467
+ # source://webmock//lib/webmock/util/hash_counter.rb#38
1468
+ def each(&block); end
1469
+
1470
+ # source://webmock//lib/webmock/util/hash_counter.rb#24
1471
+ def get(key); end
1472
+
1473
+ # Returns the value of attribute hash.
1474
+ #
1475
+ # source://webmock//lib/webmock/util/hash_counter.rb#8
1476
+ def hash; end
1477
+
1478
+ # Sets the attribute hash
1479
+ #
1480
+ # @param value the value to set the attribute hash to.
1481
+ #
1482
+ # source://webmock//lib/webmock/util/hash_counter.rb#8
1483
+ def hash=(_arg0); end
1484
+
1485
+ # source://webmock//lib/webmock/util/hash_counter.rb#17
1486
+ def put(key, num = T.unsafe(nil)); end
1487
+
1488
+ # source://webmock//lib/webmock/util/hash_counter.rb#30
1489
+ def select(&block); end
1490
+ end
1491
+
1492
+ # source://webmock//lib/webmock/util/hash_keys_stringifier.rb#5
1493
+ class WebMock::Util::HashKeysStringifier
1494
+ class << self
1495
+ # source://webmock//lib/webmock/util/hash_keys_stringifier.rb#7
1496
+ def stringify_keys!(arg, options = T.unsafe(nil)); end
1497
+ end
1498
+ end
1499
+
1500
+ # source://webmock//lib/webmock/util/headers.rb#9
1501
+ class WebMock::Util::Headers
1502
+ class << self
1503
+ # source://webmock//lib/webmock/util/headers.rb#61
1504
+ def basic_auth_header(*credentials); end
1505
+
1506
+ # source://webmock//lib/webmock/util/headers.rb#57
1507
+ def decode_userinfo_from_header(header); end
1508
+
1509
+ # source://webmock//lib/webmock/util/headers.rb#15
1510
+ def normalize_headers(headers); end
1511
+
1512
+ # source://webmock//lib/webmock/util/headers.rb#65
1513
+ def normalize_name(name); end
1514
+
1515
+ # source://webmock//lib/webmock/util/headers.rb#42
1516
+ def pp_headers_string(headers); end
1517
+
1518
+ # source://webmock//lib/webmock/util/headers.rb#28
1519
+ def sorted_headers_string(headers); end
1520
+ end
1521
+ end
1522
+
1523
+ # source://webmock//lib/webmock/util/headers.rb#13
1524
+ WebMock::Util::Headers::JOIN = T.let(T.unsafe(nil), String)
1525
+
1526
+ # source://webmock//lib/webmock/util/headers.rb#12
1527
+ WebMock::Util::Headers::NONSTANDARD_HEADER_DELIMITER = T.let(T.unsafe(nil), String)
1528
+
1529
+ # source://webmock//lib/webmock/util/headers.rb#11
1530
+ WebMock::Util::Headers::STANDARD_HEADER_DELIMITER = T.let(T.unsafe(nil), String)
1531
+
1532
+ # source://webmock//lib/webmock/util/json.rb#12
1533
+ class WebMock::Util::JSON
1534
+ class << self
1535
+ # Ensure that ":" and "," are always followed by a space
1536
+ #
1537
+ # source://webmock//lib/webmock/util/json.rb#28
1538
+ def convert_json_to_yaml(json); end
1539
+
1540
+ # source://webmock//lib/webmock/util/json.rb#15
1541
+ def parse(json); end
1542
+
1543
+ # source://webmock//lib/webmock/util/json.rb#23
1544
+ def unescape(str); end
1545
+ end
1546
+ end
1547
+
1548
+ # source://webmock//lib/webmock/util/json.rb#13
1549
+ class WebMock::Util::JSON::ParseError < ::StandardError; end
1550
+
1551
+ # source://webmock//lib/webmock/util/query_mapper.rb#4
1552
+ class WebMock::Util::QueryMapper
1553
+ class << self
1554
+ # source://webmock//lib/webmock/util/query_mapper.rb#81
1555
+ def collect_query_hash(query_array, empty_accumulator, options); end
1556
+
1557
+ # source://webmock//lib/webmock/util/query_mapper.rb#74
1558
+ def collect_query_parts(query); end
1559
+
1560
+ # source://webmock//lib/webmock/util/query_mapper.rb#221
1561
+ def dehash(hash); end
1562
+
1563
+ # source://webmock//lib/webmock/util/query_mapper.rb#106
1564
+ def fill_accumulator_for_dot(accumulator, key, value); end
1565
+
1566
+ # source://webmock//lib/webmock/util/query_mapper.rb#95
1567
+ def fill_accumulator_for_flat(accumulator, key, value); end
1568
+
1569
+ # source://webmock//lib/webmock/util/query_mapper.rb#102
1570
+ def fill_accumulator_for_flat_array(accumulator, key, value); end
1571
+
1572
+ # source://webmock//lib/webmock/util/query_mapper.rb#125
1573
+ def fill_accumulator_for_subscript(accumulator, key, value); end
1574
+
1575
+ # source://webmock//lib/webmock/util/query_mapper.rb#63
1576
+ def normalize_query_hash(query_hash, empty_accumulator, options); end
1577
+
1578
+ # Converts the query component to a Hash value.
1579
+ #
1580
+ # @example
1581
+ # WebMock::Util::QueryMapper.query_to_values("?one=1&two=2&three=3")
1582
+ # #=> {"one" => "1", "two" => "2", "three" => "3"}
1583
+ # WebMock::Util::QueryMapper("?one[two][three]=four").query_values
1584
+ # #=> {"one" => {"two" => {"three" => "four"}}}
1585
+ # WebMock::Util::QueryMapper.query_to_values("?one.two.three=four",
1586
+ # :notation => :dot
1587
+ # )
1588
+ # #=> {"one" => {"two" => {"three" => "four"}}}
1589
+ # WebMock::Util::QueryMapper.query_to_values("?one[two][three]=four",
1590
+ # :notation => :flat
1591
+ # )
1592
+ # #=> {"one[two][three]" => "four"}
1593
+ # WebMock::Util::QueryMapper.query_to_values("?one.two.three=four",
1594
+ # :notation => :flat
1595
+ # )
1596
+ # #=> {"one.two.three" => "four"}
1597
+ # WebMock::Util::QueryMapper(
1598
+ # "?one[two][three][]=four&one[two][three][]=five"
1599
+ # )
1600
+ # #=> {"one" => {"two" => {"three" => ["four", "five"]}}}
1601
+ # WebMock::Util::QueryMapper.query_to_values(
1602
+ # "?one=two&one=three").query_values(:notation => :flat_array)
1603
+ # #=> [['one', 'two'], ['one', 'three']]
1604
+ # @option [Symbol]
1605
+ # @param [Symbol] [Hash] a customizable set of options
1606
+ # @return [Hash, Array] The query string parsed as a Hash or Array object.
1607
+ #
1608
+ # source://webmock//lib/webmock/util/query_mapper.rb#42
1609
+ def query_to_values(query, options = T.unsafe(nil)); end
1610
+
1611
+ # new_query_values have form [['key1', 'value1'], ['key2', 'value2']]
1612
+ #
1613
+ # source://webmock//lib/webmock/util/query_mapper.rb#247
1614
+ def to_query(parent, value, options = T.unsafe(nil)); end
1615
+
1616
+ # Sets the query component for this URI from a Hash object.
1617
+ # This method produces a query string using the :subscript notation.
1618
+ # An empty Hash will result in a nil query.
1619
+ #
1620
+ # @param new_query_values [Hash, #to_hash, Array] The new query values.
1621
+ #
1622
+ # source://webmock//lib/webmock/util/query_mapper.rb#179
1623
+ def values_to_query(new_query_values, options = T.unsafe(nil)); end
1624
+ end
1625
+ end
1626
+
1627
+ # source://webmock//lib/webmock/util/uri.rb#7
1628
+ class WebMock::Util::URI
1629
+ class << self
1630
+ # source://webmock//lib/webmock/util/uri.rb#67
1631
+ def encode_unsafe_chars_in_userinfo(userinfo); end
1632
+
1633
+ # source://webmock//lib/webmock/util/uri.rb#28
1634
+ def heuristic_parse(uri); end
1635
+
1636
+ # @return [Boolean]
1637
+ #
1638
+ # source://webmock//lib/webmock/util/uri.rb#71
1639
+ def is_uri_localhost?(uri); end
1640
+
1641
+ # source://webmock//lib/webmock/util/uri.rb#32
1642
+ def normalize_uri(uri); end
1643
+
1644
+ # source://webmock//lib/webmock/util/uri.rb#78
1645
+ def sort_query_values(query_values); end
1646
+
1647
+ # source://webmock//lib/webmock/util/uri.rb#59
1648
+ def strip_default_port_from_uri_string(uri_string); end
1649
+
1650
+ # source://webmock//lib/webmock/util/uri.rb#89
1651
+ def uris_encoded_and_unencoded(uris); end
1652
+
1653
+ # source://webmock//lib/webmock/util/uri.rb#83
1654
+ def uris_with_inferred_port_and_without(uris); end
1655
+
1656
+ # source://webmock//lib/webmock/util/uri.rb#98
1657
+ def uris_with_scheme_and_without(uris); end
1658
+
1659
+ # source://webmock//lib/webmock/util/uri.rb#104
1660
+ def uris_with_trailing_slash_and_without(uris); end
1661
+
1662
+ # source://webmock//lib/webmock/util/uri.rb#38
1663
+ def variations_of_uri_as_strings(uri_object, only_with_scheme: T.unsafe(nil)); end
1664
+ end
1665
+ end
1666
+
1667
+ # source://webmock//lib/webmock/util/uri.rb#12
1668
+ WebMock::Util::URI::ADDRESSABLE_URIS = T.let(T.unsafe(nil), Hash)
1669
+
1670
+ # source://webmock//lib/webmock/util/uri.rb#8
1671
+ module WebMock::Util::URI::CharacterClasses; end
1672
+
1673
+ # source://webmock//lib/webmock/util/uri.rb#9
1674
+ WebMock::Util::URI::CharacterClasses::USERINFO = T.let(T.unsafe(nil), String)
1675
+
1676
+ # source://webmock//lib/webmock/util/uri.rb#16
1677
+ WebMock::Util::URI::NORMALIZED_URIS = T.let(T.unsafe(nil), Hash)
1678
+
1679
+ # source://webmock//lib/webmock/util/values_stringifier.rb#3
1680
+ class WebMock::Util::ValuesStringifier
1681
+ class << self
1682
+ # source://webmock//lib/webmock/util/values_stringifier.rb#4
1683
+ def stringify_values(value); end
1684
+ end
1685
+ end
1686
+
1687
+ # source://webmock//lib/webmock/version.rb#4
1688
+ WebMock::VERSION = T.let(T.unsafe(nil), String)
1689
+
1690
+ # source://webmock//lib/webmock/util/version_checker.rb#28
1691
+ class WebMock::VersionChecker
1692
+ # @return [VersionChecker] a new instance of VersionChecker
1693
+ #
1694
+ # source://webmock//lib/webmock/util/version_checker.rb#29
1695
+ def initialize(library_name, library_version, min_patch_level, max_minor_version = T.unsafe(nil), unsupported_versions = T.unsafe(nil)); end
1696
+
1697
+ # source://webmock//lib/webmock/util/version_checker.rb#45
1698
+ def check_version!; end
1699
+
1700
+ private
1701
+
1702
+ # source://webmock//lib/webmock/util/version_checker.rb#109
1703
+ def colorize(text, color_code); end
1704
+
1705
+ # source://webmock//lib/webmock/util/version_checker.rb#86
1706
+ def compare_version; end
1707
+
1708
+ # source://webmock//lib/webmock/util/version_checker.rb#105
1709
+ def parse_version(version); end
1710
+
1711
+ # @return [Boolean]
1712
+ #
1713
+ # source://webmock//lib/webmock/util/version_checker.rb#57
1714
+ def too_high?; end
1715
+
1716
+ # @return [Boolean]
1717
+ #
1718
+ # source://webmock//lib/webmock/util/version_checker.rb#53
1719
+ def too_low?; end
1720
+
1721
+ # @return [Boolean]
1722
+ #
1723
+ # source://webmock//lib/webmock/util/version_checker.rb#61
1724
+ def unsupported_version?; end
1725
+
1726
+ # source://webmock//lib/webmock/util/version_checker.rb#98
1727
+ def version_requirement; end
1728
+
1729
+ # source://webmock//lib/webmock/util/version_checker.rb#70
1730
+ def warn_about_too_high; end
1731
+
1732
+ # source://webmock//lib/webmock/util/version_checker.rb#65
1733
+ def warn_about_too_low; end
1734
+
1735
+ # source://webmock//lib/webmock/util/version_checker.rb#76
1736
+ def warn_about_unsupported_version; end
1737
+
1738
+ # source://webmock//lib/webmock/util/version_checker.rb#82
1739
+ def warn_in_red(text); end
1740
+ end