parking_ticket 1.0.46 → 1.0.49

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +4 -0
  3. data/.vscode/settings.json +3 -0
  4. data/Gemfile +0 -15
  5. data/Gemfile.lock +72 -4
  6. data/Rakefile +2 -2
  7. data/bin/console +3 -3
  8. data/bin/tapioca +29 -0
  9. data/lib/clients/models/payment_method.rb +15 -0
  10. data/lib/clients/models/quote.rb +16 -0
  11. data/lib/clients/models/rate_option.rb +19 -0
  12. data/lib/clients/models/structuraly_comparable.rb +14 -0
  13. data/lib/clients/models/ticket.rb +19 -0
  14. data/lib/clients/models/vehicle.rb +17 -0
  15. data/lib/clients/pay_by_phone/adapter.rb +107 -53
  16. data/lib/clients/pay_by_phone/client.rb +101 -38
  17. data/lib/parking_ticket/configuration.rb +3 -0
  18. data/lib/parking_ticket/version.rb +2 -1
  19. data/lib/parking_ticket.rb +79 -54
  20. data/sorbet/config +4 -0
  21. data/sorbet/rbi/annotations/faraday.rbi +17 -0
  22. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  23. data/sorbet/rbi/annotations/webmock.rbi +9 -0
  24. data/sorbet/rbi/gems/addressable@2.8.1.rbi +2000 -0
  25. data/sorbet/rbi/gems/amazing_print@1.4.0.rbi +872 -0
  26. data/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
  27. data/sorbet/rbi/gems/crack@0.4.5.rbi +144 -0
  28. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1079 -0
  29. data/sorbet/rbi/gems/faraday-net_http@3.0.2.rbi +146 -0
  30. data/sorbet/rbi/gems/faraday@2.7.2.rbi +2518 -0
  31. data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +350 -0
  32. data/sorbet/rbi/gems/json@2.6.3.rbi +1541 -0
  33. data/sorbet/rbi/gems/json_matchers@0.11.1.rbi +133 -0
  34. data/sorbet/rbi/gems/json_schema@0.21.0.rbi +1165 -0
  35. data/sorbet/rbi/gems/netrc@0.11.0.rbi +161 -0
  36. data/sorbet/rbi/gems/parallel@1.22.1.rbi +277 -0
  37. data/sorbet/rbi/gems/parser@3.2.2.0.rbi +7207 -0
  38. data/sorbet/rbi/gems/public_suffix@5.0.1.rbi +940 -0
  39. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +402 -0
  40. data/sorbet/rbi/gems/rake@13.0.6.rbi +2881 -0
  41. data/sorbet/rbi/gems/rbi@0.0.16.rbi +3008 -0
  42. data/sorbet/rbi/gems/regexp_parser@2.7.0.rbi +3600 -0
  43. data/sorbet/rbi/gems/rexml@3.2.5.rbi +4823 -0
  44. data/sorbet/rbi/gems/rspec-core@3.12.0.rbi +10826 -0
  45. data/sorbet/rbi/gems/rspec-expectations@3.12.1.rbi +8118 -0
  46. data/sorbet/rbi/gems/rspec-mocks@3.12.1.rbi +5300 -0
  47. data/sorbet/rbi/gems/rspec-support@3.12.0.rbi +1615 -0
  48. data/sorbet/rbi/gems/rspec@3.12.0.rbi +82 -0
  49. data/sorbet/rbi/gems/rubocop-ast@1.28.0.rbi +6985 -0
  50. data/sorbet/rbi/gems/rubocop-sorbet@0.7.0.rbi +1043 -0
  51. data/sorbet/rbi/gems/rubocop@1.48.1.rbi +54934 -0
  52. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1317 -0
  53. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +8 -0
  54. data/sorbet/rbi/gems/spoom@1.2.1.rbi +2503 -0
  55. data/sorbet/rbi/gems/tapioca@0.11.4.rbi +3212 -0
  56. data/sorbet/rbi/gems/thor@1.2.1.rbi +3956 -0
  57. data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +65 -0
  58. data/sorbet/rbi/gems/unparser@0.6.7.rbi +4515 -0
  59. data/sorbet/rbi/gems/vcr@6.1.0.rbi +3023 -0
  60. data/sorbet/rbi/gems/webmock@3.18.1.rbi +1728 -0
  61. data/sorbet/rbi/gems/webrick@1.7.0.rbi +2584 -0
  62. data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +441 -0
  63. data/sorbet/rbi/gems/yard@0.9.28.rbi +17802 -0
  64. data/sorbet/tapioca/config.yml +13 -0
  65. data/sorbet/tapioca/require.rb +4 -0
  66. metadata +241 -4
  67. data/lib/clients/adapter.rb +0 -75
@@ -0,0 +1,1728 @@
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#16
8
+ module Net::WebMockHTTPResponse
9
+ # source://webmock//lib/webmock/http_lib_adapters/net_http_response.rb#17
10
+ def read_body(dest = T.unsafe(nil), &block); end
11
+ end
12
+
13
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#206
14
+ class StubSocket
15
+ # @return [StubSocket] a new instance of StubSocket
16
+ #
17
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#210
18
+ def initialize(*args); end
19
+
20
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#218
21
+ def close; end
22
+
23
+ # @return [Boolean]
24
+ #
25
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#214
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#208
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#208
38
+ def continue_timeout=(_arg0); end
39
+
40
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#226
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#208
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#208
53
+ def read_timeout=(_arg0); end
54
+
55
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#223
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#208
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#208
68
+ def write_timeout=(_arg0); end
69
+ end
70
+
71
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#230
72
+ class StubSocket::StubIO
73
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#235
74
+ def cipher; end
75
+
76
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#232
77
+ def peer_cert; end
78
+
79
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#233
80
+ def peeraddr; end
81
+
82
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#231
83
+ def setsockopt(*args); end
84
+
85
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#234
86
+ def ssl_version; end
87
+ end
88
+
89
+ # source://webmock//lib/webmock/deprecation.rb#1
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#141
104
+ def after_request(options = T.unsafe(nil), &block); end
105
+
106
+ # source://webmock//lib/webmock/webmock.rb#44
107
+ def allow_net_connect!(options = T.unsafe(nil)); end
108
+
109
+ # source://webmock//lib/webmock/webmock.rb#28
110
+ def disable!(options = T.unsafe(nil)); end
111
+
112
+ # source://webmock//lib/webmock/webmock.rb#49
113
+ def disable_net_connect!(options = T.unsafe(nil)); end
114
+
115
+ # source://webmock//lib/webmock/webmock.rb#49
116
+ def disallow_net_connect!(options = T.unsafe(nil)); end
117
+
118
+ # source://webmock//lib/webmock/webmock.rb#36
119
+ def enable!(options = T.unsafe(nil)); end
120
+
121
+ # source://webmock//lib/webmock/webmock.rb#44
122
+ def enable_net_connect!(options = T.unsafe(nil)); end
123
+
124
+ # source://webmock//lib/webmock/webmock.rb#153
125
+ def globally_stub_request(order = T.unsafe(nil), &block); end
126
+
127
+ # source://webmock//lib/webmock/webmock.rb#107
128
+ def hide_body_diff!; end
129
+
130
+ # source://webmock//lib/webmock/webmock.rb#115
131
+ def hide_stubbing_instructions!; end
132
+
133
+ # @private
134
+ #
135
+ # source://webmock//lib/webmock/webmock.rb#3
136
+ def included(clazz); end
137
+
138
+ # @return [Boolean]
139
+ #
140
+ # source://webmock//lib/webmock/webmock.rb#61
141
+ def net_connect_allowed?(uri = T.unsafe(nil)); end
142
+
143
+ # @return [Boolean]
144
+ #
145
+ # source://webmock//lib/webmock/webmock.rb#83
146
+ def net_connect_explicit_allowed?(allowed, uri = T.unsafe(nil)); end
147
+
148
+ # @return [Boolean]
149
+ #
150
+ # source://webmock//lib/webmock/webmock.rb#73
151
+ def net_http_connect_on_start?(uri); end
152
+
153
+ # source://webmock//lib/webmock/webmock.rb#149
154
+ def print_executed_requests; end
155
+
156
+ # @return [Boolean]
157
+ #
158
+ # source://webmock//lib/webmock/webmock.rb#145
159
+ def registered_request?(request_signature); end
160
+
161
+ # source://webmock//lib/webmock/api.rb#12
162
+ def request(method, uri); end
163
+
164
+ # source://webmock//lib/webmock/webmock.rb#127
165
+ def reset!; end
166
+
167
+ # source://webmock//lib/webmock/webmock.rb#137
168
+ def reset_callbacks; end
169
+
170
+ # source://webmock//lib/webmock/webmock.rb#132
171
+ def reset_webmock; end
172
+
173
+ # source://webmock//lib/webmock/webmock.rb#103
174
+ def show_body_diff!; end
175
+
176
+ # @return [Boolean]
177
+ #
178
+ # source://webmock//lib/webmock/webmock.rb#111
179
+ def show_body_diff?; end
180
+
181
+ # source://webmock//lib/webmock/webmock.rb#119
182
+ def show_stubbing_instructions!; end
183
+
184
+ # @return [Boolean]
185
+ #
186
+ # source://webmock//lib/webmock/webmock.rb#123
187
+ def show_stubbing_instructions?; end
188
+
189
+ # source://webmock//lib/webmock/webmock.rb#24
190
+ def version; end
191
+ end
192
+ end
193
+
194
+ # source://webmock//lib/webmock/api.rb#2
195
+ module WebMock::API
196
+ extend ::WebMock::API
197
+
198
+ # source://webmock//lib/webmock/api.rb#12
199
+ def a_request(method, uri); end
200
+
201
+ # source://webmock//lib/webmock/api.rb#29
202
+ def assert_not_requested(*args, &block); end
203
+
204
+ # source://webmock//lib/webmock/api.rb#20
205
+ def assert_requested(*args, &block); end
206
+
207
+ # source://webmock//lib/webmock/api.rb#57
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#49
222
+ def hash_including(*args); end
223
+
224
+ # source://webmock//lib/webmock/api.rb#29
225
+ def refute_requested(*args, &block); end
226
+
227
+ # source://webmock//lib/webmock/api.rb#65
228
+ def remove_request_stub(stub); end
229
+
230
+ # source://webmock//lib/webmock/api.rb#69
231
+ def reset_executed_requests!; end
232
+
233
+ # source://webmock//lib/webmock/api.rb#5
234
+ def stub_http_request(method, uri); end
235
+
236
+ # source://webmock//lib/webmock/api.rb#5
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#102
244
+ def anythingize_lonely_keys(*args); end
245
+
246
+ # source://webmock//lib/webmock/api.rb#93
247
+ def assert_request_not_requested(request, options = T.unsafe(nil)); end
248
+
249
+ # source://webmock//lib/webmock/api.rb#84
250
+ def assert_request_requested(request, options = T.unsafe(nil)); end
251
+
252
+ # source://webmock//lib/webmock/api.rb#75
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#12
257
+ def request(method, uri); end
258
+ end
259
+ end
260
+
261
+ # source://webmock//lib/webmock/assertion_failure.rb#2
262
+ class WebMock::AssertionFailure
263
+ class << self
264
+ # Returns the value of attribute error_class.
265
+ #
266
+ # source://webmock//lib/webmock/assertion_failure.rb#5
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#5
274
+ def error_class=(_arg0); end
275
+
276
+ # @raise [@error_class]
277
+ #
278
+ # source://webmock//lib/webmock/assertion_failure.rb#6
279
+ def failure(message); end
280
+ end
281
+ end
282
+
283
+ # source://webmock//lib/webmock/request_pattern.rb#250
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#268
290
+ def initialize(pattern); end
291
+
292
+ # @return [Boolean]
293
+ #
294
+ # source://webmock//lib/webmock/request_pattern.rb#278
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#266
300
+ def pattern; end
301
+
302
+ # source://webmock//lib/webmock/request_pattern.rb#295
303
+ def to_s; end
304
+
305
+ private
306
+
307
+ # source://webmock//lib/webmock/request_pattern.rb#317
308
+ def assert_non_multipart_body(content_type); end
309
+
310
+ # source://webmock//lib/webmock/request_pattern.rb#301
311
+ def body_as_hash(body, content_type); end
312
+
313
+ # source://webmock//lib/webmock/request_pattern.rb#312
314
+ def body_format(content_type); end
315
+
316
+ # @return [Boolean]
317
+ #
318
+ # source://webmock//lib/webmock/request_pattern.rb#376
319
+ def empty_string?(string); end
320
+
321
+ # @return [Boolean]
322
+ #
323
+ # source://webmock//lib/webmock/request_pattern.rb#356
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#346
349
+ def matching_body_hashes?(query_parameters, pattern, content_type); end
350
+
351
+ # source://webmock//lib/webmock/request_pattern.rb#368
352
+ def matching_values(actual, expected, content_type); end
353
+
354
+ # source://webmock//lib/webmock/request_pattern.rb#380
355
+ def normalize_hash(hash); end
356
+
357
+ # @return [Boolean]
358
+ #
359
+ # source://webmock//lib/webmock/request_pattern.rb#384
360
+ def url_encoded_body?(content_type); end
361
+ end
362
+
363
+ # source://webmock//lib/webmock/request_pattern.rb#253
364
+ WebMock::BodyPattern::BODY_FORMATS = T.let(T.unsafe(nil), Hash)
365
+
366
+ # source://webmock//lib/webmock/callback_registry.rb#2
367
+ class WebMock::CallbackRegistry
368
+ class << self
369
+ # source://webmock//lib/webmock/callback_registry.rb#5
370
+ def add_callback(options, block); end
371
+
372
+ # @return [Boolean]
373
+ #
374
+ # source://webmock//lib/webmock/callback_registry.rb#30
375
+ def any_callbacks?; end
376
+
377
+ # source://webmock//lib/webmock/callback_registry.rb#9
378
+ def callbacks; end
379
+
380
+ # source://webmock//lib/webmock/callback_registry.rb#13
381
+ def invoke_callbacks(options, request_signature, response); end
382
+
383
+ # source://webmock//lib/webmock/callback_registry.rb#26
384
+ def reset; end
385
+ end
386
+ end
387
+
388
+ # source://webmock//lib/webmock/config.rb#2
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#5
396
+ def initialize; end
397
+
398
+ # Returns the value of attribute allow.
399
+ #
400
+ # source://webmock//lib/webmock/config.rb#12
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#12
408
+ def allow=(_arg0); end
409
+
410
+ # Returns the value of attribute allow_localhost.
411
+ #
412
+ # source://webmock//lib/webmock/config.rb#11
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#11
420
+ def allow_localhost=(_arg0); end
421
+
422
+ # Returns the value of attribute allow_net_connect.
423
+ #
424
+ # source://webmock//lib/webmock/config.rb#10
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#10
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#13
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#13
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#15
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#15
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#16
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#16
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#14
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#14
480
+ def show_stubbing_instructions=(_arg0); end
481
+ end
482
+
483
+ # source://webmock//lib/webmock/deprecation.rb#2
484
+ class WebMock::Deprecation
485
+ class << self
486
+ # source://webmock//lib/webmock/deprecation.rb#4
487
+ def warning(message); end
488
+ end
489
+ end
490
+
491
+ # source://webmock//lib/webmock/response.rb#147
492
+ class WebMock::DynamicResponse < ::WebMock::Response
493
+ # @return [DynamicResponse] a new instance of DynamicResponse
494
+ #
495
+ # source://webmock//lib/webmock/response.rb#150
496
+ def initialize(responder); end
497
+
498
+ # source://webmock//lib/webmock/response.rb#154
499
+ def evaluate(request_signature); end
500
+
501
+ # Returns the value of attribute responder.
502
+ #
503
+ # source://webmock//lib/webmock/response.rb#148
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#148
511
+ def responder=(_arg0); end
512
+ end
513
+
514
+ # source://webmock//lib/webmock/util/hash_validator.rb#2
515
+ class WebMock::HashValidator
516
+ # @return [HashValidator] a new instance of HashValidator
517
+ #
518
+ # source://webmock//lib/webmock/util/hash_validator.rb#3
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#8
524
+ def validate_keys(*valid_keys); end
525
+ end
526
+
527
+ # source://webmock//lib/webmock/request_pattern.rb#389
528
+ class WebMock::HeadersPattern
529
+ # @return [HeadersPattern] a new instance of HeadersPattern
530
+ #
531
+ # source://webmock//lib/webmock/request_pattern.rb#390
532
+ def initialize(pattern); end
533
+
534
+ # @return [Boolean]
535
+ #
536
+ # source://webmock//lib/webmock/request_pattern.rb#394
537
+ def matches?(headers); end
538
+
539
+ # source://webmock//lib/webmock/request_pattern.rb#410
540
+ def pp_to_s; end
541
+
542
+ # source://webmock//lib/webmock/request_pattern.rb#406
543
+ def to_s; end
544
+
545
+ private
546
+
547
+ # @return [Boolean]
548
+ #
549
+ # source://webmock//lib/webmock/request_pattern.rb#416
550
+ def empty_headers?(headers); end
551
+ end
552
+
553
+ # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter.rb#2
554
+ class WebMock::HttpLibAdapter
555
+ class << self
556
+ # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter.rb#3
557
+ def adapter_for(lib); end
558
+ end
559
+ end
560
+
561
+ # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#2
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#7
569
+ def initialize; end
570
+
571
+ # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#15
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#5
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#5
584
+ def http_lib_adapters=(_arg0); end
585
+
586
+ # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#11
587
+ def register(lib, adapter); end
588
+ end
589
+
590
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#8
591
+ module WebMock::HttpLibAdapters; end
592
+
593
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#9
594
+ class WebMock::HttpLibAdapters::NetHttpAdapter < ::WebMock::HttpLibAdapter
595
+ class << self
596
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#21
597
+ def disable!; end
598
+
599
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#14
600
+ def enable!; end
601
+ end
602
+ end
603
+
604
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#12
605
+ WebMock::HttpLibAdapters::NetHttpAdapter::OriginalNetHTTP = Net::HTTP
606
+
607
+ # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#2
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#4
613
+ class WebMock::Matchers::AnyArgMatcher
614
+ # @return [AnyArgMatcher] a new instance of AnyArgMatcher
615
+ #
616
+ # source://webmock//lib/webmock/matchers/any_arg_matcher.rb#5
617
+ def initialize(ignore); end
618
+
619
+ # source://webmock//lib/webmock/matchers/any_arg_matcher.rb#8
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#5
627
+ class WebMock::Matchers::HashArgumentMatcher
628
+ # @return [HashArgumentMatcher] a new instance of HashArgumentMatcher
629
+ #
630
+ # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#6
631
+ def initialize(expected); end
632
+
633
+ # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#10
634
+ def ==(_actual, &block); end
635
+
636
+ class << self
637
+ # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#16
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#5
646
+ class WebMock::Matchers::HashExcludingMatcher < ::WebMock::Matchers::HashArgumentMatcher
647
+ # source://webmock//lib/webmock/matchers/hash_excluding_matcher.rb#6
648
+ def ==(actual); end
649
+
650
+ # source://webmock//lib/webmock/matchers/hash_excluding_matcher.rb#10
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#5
658
+ class WebMock::Matchers::HashIncludingMatcher < ::WebMock::Matchers::HashArgumentMatcher
659
+ # source://webmock//lib/webmock/matchers/hash_including_matcher.rb#6
660
+ def ==(actual); end
661
+
662
+ # source://webmock//lib/webmock/matchers/hash_including_matcher.rb#12
663
+ def inspect; end
664
+ end
665
+
666
+ # source://webmock//lib/webmock/request_pattern.rb#93
667
+ class WebMock::MethodPattern
668
+ # @return [MethodPattern] a new instance of MethodPattern
669
+ #
670
+ # source://webmock//lib/webmock/request_pattern.rb#94
671
+ def initialize(pattern); end
672
+
673
+ # @return [Boolean]
674
+ #
675
+ # source://webmock//lib/webmock/request_pattern.rb#98
676
+ def matches?(method); end
677
+
678
+ # source://webmock//lib/webmock/request_pattern.rb#102
679
+ def to_s; end
680
+ end
681
+
682
+ # source://webmock//lib/webmock/errors.rb#3
683
+ class WebMock::NetConnectNotAllowedError < ::Exception
684
+ # @return [NetConnectNotAllowedError] a new instance of NetConnectNotAllowedError
685
+ #
686
+ # source://webmock//lib/webmock/errors.rb#4
687
+ def initialize(request_signature); end
688
+ end
689
+
690
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#240
691
+ module WebMock::NetHTTPUtility
692
+ class << self
693
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#279
694
+ def check_right_http_connection; end
695
+
696
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#270
697
+ def get_uri(net_http, path = T.unsafe(nil)); end
698
+
699
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#283
700
+ def puts_warning_for_right_http_if_needed; end
701
+
702
+ # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#242
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#3
708
+ module WebMock::RSpecMatcherDetector
709
+ # @return [Boolean]
710
+ #
711
+ # source://webmock//lib/webmock/request_pattern.rb#8
712
+ def rSpecHashExcludingMatcher?(matcher); end
713
+
714
+ # @return [Boolean]
715
+ #
716
+ # source://webmock//lib/webmock/request_pattern.rb#4
717
+ def rSpecHashIncludingMatcher?(matcher); end
718
+ end
719
+
720
+ # source://webmock//lib/webmock/rack_response.rb#2
721
+ class WebMock::RackResponse < ::WebMock::Response
722
+ # @return [RackResponse] a new instance of RackResponse
723
+ #
724
+ # source://webmock//lib/webmock/rack_response.rb#3
725
+ def initialize(app); end
726
+
727
+ # source://webmock//lib/webmock/rack_response.rb#19
728
+ def body_from_rack_response(response); end
729
+
730
+ # source://webmock//lib/webmock/rack_response.rb#26
731
+ def build_rack_env(request); end
732
+
733
+ # source://webmock//lib/webmock/rack_response.rb#7
734
+ def evaluate(request); end
735
+
736
+ # source://webmock//lib/webmock/rack_response.rb#61
737
+ def session; end
738
+
739
+ # source://webmock//lib/webmock/rack_response.rb#65
740
+ def session_options; end
741
+ end
742
+
743
+ # source://webmock//lib/webmock/request_body_diff.rb#5
744
+ class WebMock::RequestBodyDiff
745
+ # @return [RequestBodyDiff] a new instance of RequestBodyDiff
746
+ #
747
+ # source://webmock//lib/webmock/request_body_diff.rb#7
748
+ def initialize(request_signature, request_stub); end
749
+
750
+ # source://webmock//lib/webmock/request_body_diff.rb#12
751
+ def body_diff; end
752
+
753
+ private
754
+
755
+ # @return [Boolean]
756
+ #
757
+ # source://webmock//lib/webmock/request_body_diff.rb#55
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#18
763
+ def request_signature; end
764
+
765
+ # source://webmock//lib/webmock/request_body_diff.rb#31
766
+ def request_signature_body_hash; end
767
+
768
+ # @return [Boolean]
769
+ #
770
+ # source://webmock//lib/webmock/request_body_diff.rb#23
771
+ def request_signature_diffable?; end
772
+
773
+ # @return [Boolean]
774
+ #
775
+ # source://webmock//lib/webmock/request_body_diff.rb#47
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#18
781
+ def request_stub; end
782
+
783
+ # source://webmock//lib/webmock/request_body_diff.rb#41
784
+ def request_stub_body; end
785
+
786
+ # source://webmock//lib/webmock/request_body_diff.rb#35
787
+ def request_stub_body_hash; end
788
+
789
+ # @return [Boolean]
790
+ #
791
+ # source://webmock//lib/webmock/request_body_diff.rb#27
792
+ def request_stub_diffable?; end
793
+
794
+ # @return [Boolean]
795
+ #
796
+ # source://webmock//lib/webmock/request_body_diff.rb#51
797
+ def request_stub_parseable_json?; end
798
+ end
799
+
800
+ # source://webmock//lib/webmock/request_execution_verifier.rb#2
801
+ class WebMock::RequestExecutionVerifier
802
+ # @return [RequestExecutionVerifier] a new instance of RequestExecutionVerifier
803
+ #
804
+ # source://webmock//lib/webmock/request_execution_verifier.rb#6
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#4
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#4
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#4
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#4
829
+ def at_most_times_executed=(_arg0); end
830
+
831
+ # source://webmock//lib/webmock/request_execution_verifier.rb#36
832
+ def description; end
833
+
834
+ # @return [Boolean]
835
+ #
836
+ # source://webmock//lib/webmock/request_execution_verifier.rb#26
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#4
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#4
849
+ def expected_times_executed=(_arg0); end
850
+
851
+ # source://webmock//lib/webmock/request_execution_verifier.rb#40
852
+ def failure_message; end
853
+
854
+ # source://webmock//lib/webmock/request_execution_verifier.rb#44
855
+ def failure_message_when_negated; end
856
+
857
+ # @return [Boolean]
858
+ #
859
+ # source://webmock//lib/webmock/request_execution_verifier.rb#13
860
+ def matches?; end
861
+
862
+ # Returns the value of attribute request_pattern.
863
+ #
864
+ # source://webmock//lib/webmock/request_execution_verifier.rb#4
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#4
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#4
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#4
884
+ def times_executed=(_arg0); end
885
+
886
+ private
887
+
888
+ # source://webmock//lib/webmock/request_execution_verifier.rb#54
889
+ def failure_message_phrase(is_negated = T.unsafe(nil)); end
890
+
891
+ # source://webmock//lib/webmock/request_execution_verifier.rb#60
892
+ def quantity_phrase(is_negated = T.unsafe(nil)); end
893
+
894
+ # source://webmock//lib/webmock/request_execution_verifier.rb#72
895
+ def times(times); end
896
+
897
+ class << self
898
+ # source://webmock//lib/webmock/request_execution_verifier.rb#48
899
+ def executed_requests_message; end
900
+ end
901
+ end
902
+
903
+ # source://webmock//lib/webmock/request_pattern.rb#13
904
+ class WebMock::RequestPattern
905
+ # @return [RequestPattern] a new instance of RequestPattern
906
+ #
907
+ # source://webmock//lib/webmock/request_pattern.rb#17
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#15
913
+ def body_pattern; end
914
+
915
+ # Returns the value of attribute headers_pattern.
916
+ #
917
+ # source://webmock//lib/webmock/request_pattern.rb#15
918
+ def headers_pattern; end
919
+
920
+ # @return [Boolean]
921
+ #
922
+ # source://webmock//lib/webmock/request_pattern.rb#33
923
+ def matches?(request_signature); end
924
+
925
+ # Returns the value of attribute method_pattern.
926
+ #
927
+ # source://webmock//lib/webmock/request_pattern.rb#15
928
+ def method_pattern; end
929
+
930
+ # source://webmock//lib/webmock/request_pattern.rb#43
931
+ def to_s; end
932
+
933
+ # Returns the value of attribute uri_pattern.
934
+ #
935
+ # source://webmock//lib/webmock/request_pattern.rb#15
936
+ def uri_pattern; end
937
+
938
+ # @raise [ArgumentError]
939
+ #
940
+ # source://webmock//lib/webmock/request_pattern.rb#26
941
+ def with(options = T.unsafe(nil), &block); end
942
+
943
+ private
944
+
945
+ # source://webmock//lib/webmock/request_pattern.rb#55
946
+ def assign_options(options); end
947
+
948
+ # source://webmock//lib/webmock/request_pattern.rb#78
949
+ def create_uri_pattern(uri); end
950
+
951
+ # source://webmock//lib/webmock/request_pattern.rb#64
952
+ def set_basic_auth_as_headers!(options); end
953
+
954
+ # source://webmock//lib/webmock/request_pattern.rb#72
955
+ def validate_basic_auth!(basic_auth); end
956
+ end
957
+
958
+ # source://webmock//lib/webmock/request_registry.rb#3
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#8
966
+ def initialize; end
967
+
968
+ # Returns the value of attribute requested_signatures.
969
+ #
970
+ # source://webmock//lib/webmock/request_registry.rb#6
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#6
978
+ def requested_signatures=(_arg0); end
979
+
980
+ # source://webmock//lib/webmock/request_registry.rb#12
981
+ def reset!; end
982
+
983
+ # source://webmock//lib/webmock/request_registry.rb#16
984
+ def times_executed(request_pattern); end
985
+
986
+ # source://webmock//lib/webmock/request_registry.rb#22
987
+ def to_s; end
988
+ end
989
+
990
+ # source://webmock//lib/webmock/request_signature.rb#3
991
+ class WebMock::RequestSignature
992
+ # @return [RequestSignature] a new instance of RequestSignature
993
+ #
994
+ # source://webmock//lib/webmock/request_signature.rb#8
995
+ def initialize(method, uri, options = T.unsafe(nil)); end
996
+
997
+ # @return [Boolean]
998
+ #
999
+ # source://webmock//lib/webmock/request_signature.rb#32
1000
+ def ==(other); end
1001
+
1002
+ # Returns the value of attribute body.
1003
+ #
1004
+ # source://webmock//lib/webmock/request_signature.rb#5
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#5
1012
+ def body=(_arg0); end
1013
+
1014
+ # @return [Boolean]
1015
+ #
1016
+ # source://webmock//lib/webmock/request_signature.rb#32
1017
+ def eql?(other); end
1018
+
1019
+ # source://webmock//lib/webmock/request_signature.rb#28
1020
+ def hash; end
1021
+
1022
+ # Returns the value of attribute headers.
1023
+ #
1024
+ # source://webmock//lib/webmock/request_signature.rb#6
1025
+ def headers; end
1026
+
1027
+ # source://webmock//lib/webmock/request_signature.rb#24
1028
+ def headers=(headers); end
1029
+
1030
+ # @return [Boolean]
1031
+ #
1032
+ # source://webmock//lib/webmock/request_signature.rb#41
1033
+ def json_headers?; end
1034
+
1035
+ # Returns the value of attribute method.
1036
+ #
1037
+ # source://webmock//lib/webmock/request_signature.rb#5
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#5
1045
+ def method=(_arg0); end
1046
+
1047
+ # source://webmock//lib/webmock/request_signature.rb#14
1048
+ def to_s; end
1049
+
1050
+ # Returns the value of attribute uri.
1051
+ #
1052
+ # source://webmock//lib/webmock/request_signature.rb#5
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#5
1060
+ def uri=(_arg0); end
1061
+
1062
+ # @return [Boolean]
1063
+ #
1064
+ # source://webmock//lib/webmock/request_signature.rb#37
1065
+ def url_encoded?; end
1066
+
1067
+ private
1068
+
1069
+ # source://webmock//lib/webmock/request_signature.rb#47
1070
+ def assign_options(options); end
1071
+ end
1072
+
1073
+ # source://webmock//lib/webmock/request_signature_snippet.rb#4
1074
+ class WebMock::RequestSignatureSnippet
1075
+ # @return [RequestSignatureSnippet] a new instance of RequestSignatureSnippet
1076
+ #
1077
+ # source://webmock//lib/webmock/request_signature_snippet.rb#8
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#6
1083
+ def request_signature; end
1084
+
1085
+ # Returns the value of attribute request_stub.
1086
+ #
1087
+ # source://webmock//lib/webmock/request_signature_snippet.rb#6
1088
+ def request_stub; end
1089
+
1090
+ # source://webmock//lib/webmock/request_signature_snippet.rb#20
1091
+ def request_stubs; end
1092
+
1093
+ # source://webmock//lib/webmock/request_signature_snippet.rb#13
1094
+ def stubbing_instructions; end
1095
+
1096
+ private
1097
+
1098
+ # source://webmock//lib/webmock/request_signature_snippet.rb#33
1099
+ def add_body_diff(stub, text); end
1100
+
1101
+ # source://webmock//lib/webmock/request_signature_snippet.rb#52
1102
+ def pretty_print_to_string(string_to_print); end
1103
+
1104
+ # source://webmock//lib/webmock/request_signature_snippet.rb#43
1105
+ def request_params; end
1106
+
1107
+ # source://webmock//lib/webmock/request_signature_snippet.rb#38
1108
+ def signature_stub_body_diff(stub); end
1109
+ end
1110
+
1111
+ # source://webmock//lib/webmock/request_stub.rb#2
1112
+ class WebMock::RequestStub
1113
+ # @return [RequestStub] a new instance of RequestStub
1114
+ #
1115
+ # source://webmock//lib/webmock/request_stub.rb#6
1116
+ def initialize(method, uri); end
1117
+
1118
+ # source://webmock//lib/webmock/request_stub.rb#46
1119
+ def and_raise(*exceptions); end
1120
+
1121
+ # source://webmock//lib/webmock/request_stub.rb#17
1122
+ def and_return(*response_hashes, &block); end
1123
+
1124
+ # @raise [ArgumentError]
1125
+ #
1126
+ # source://webmock//lib/webmock/request_stub.rb#27
1127
+ def and_return_json(*response_hashes); end
1128
+
1129
+ # source://webmock//lib/webmock/request_stub.rb#54
1130
+ def and_timeout; end
1131
+
1132
+ # @return [Boolean]
1133
+ #
1134
+ # source://webmock//lib/webmock/request_stub.rb#71
1135
+ def has_responses?; end
1136
+
1137
+ # @return [Boolean]
1138
+ #
1139
+ # source://webmock//lib/webmock/request_stub.rb#89
1140
+ def matches?(request_signature); end
1141
+
1142
+ # Returns the value of attribute request_pattern.
1143
+ #
1144
+ # source://webmock//lib/webmock/request_stub.rb#4
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#4
1152
+ def request_pattern=(_arg0); end
1153
+
1154
+ # source://webmock//lib/webmock/request_stub.rb#60
1155
+ def response; end
1156
+
1157
+ # source://webmock//lib/webmock/request_stub.rb#75
1158
+ def then; end
1159
+
1160
+ # source://webmock//lib/webmock/request_stub.rb#79
1161
+ def times(number); end
1162
+
1163
+ # source://webmock//lib/webmock/request_stub.rb#42
1164
+ def to_rack(app, options = T.unsafe(nil)); end
1165
+
1166
+ # source://webmock//lib/webmock/request_stub.rb#46
1167
+ def to_raise(*exceptions); end
1168
+
1169
+ # source://webmock//lib/webmock/request_stub.rb#17
1170
+ def to_return(*response_hashes, &block); end
1171
+
1172
+ # @raise [ArgumentError]
1173
+ #
1174
+ # source://webmock//lib/webmock/request_stub.rb#27
1175
+ def to_return_json(*response_hashes); end
1176
+
1177
+ # source://webmock//lib/webmock/request_stub.rb#93
1178
+ def to_s; end
1179
+
1180
+ # source://webmock//lib/webmock/request_stub.rb#54
1181
+ def to_timeout; end
1182
+
1183
+ # source://webmock//lib/webmock/request_stub.rb#12
1184
+ def with(params = T.unsafe(nil), &block); end
1185
+
1186
+ class << self
1187
+ # source://webmock//lib/webmock/request_stub.rb#97
1188
+ def from_request_signature(signature); end
1189
+ end
1190
+ end
1191
+
1192
+ # source://webmock//lib/webmock/response.rb#15
1193
+ class WebMock::Response
1194
+ # @return [Response] a new instance of Response
1195
+ #
1196
+ # source://webmock//lib/webmock/response.rb#16
1197
+ def initialize(options = T.unsafe(nil)); end
1198
+
1199
+ # source://webmock//lib/webmock/response.rb#95
1200
+ def ==(other); end
1201
+
1202
+ # source://webmock//lib/webmock/response.rb#38
1203
+ def body; end
1204
+
1205
+ # source://webmock//lib/webmock/response.rb#42
1206
+ def body=(body); end
1207
+
1208
+ # source://webmock//lib/webmock/response.rb#86
1209
+ def evaluate(request_signature); end
1210
+
1211
+ # source://webmock//lib/webmock/response.rb#56
1212
+ def exception; end
1213
+
1214
+ # source://webmock//lib/webmock/response.rb#60
1215
+ def exception=(exception); end
1216
+
1217
+ # source://webmock//lib/webmock/response.rb#27
1218
+ def headers; end
1219
+
1220
+ # source://webmock//lib/webmock/response.rb#31
1221
+ def headers=(headers); end
1222
+
1223
+ # source://webmock//lib/webmock/response.rb#76
1224
+ def options=(options); end
1225
+
1226
+ # @raise [@exception]
1227
+ #
1228
+ # source://webmock//lib/webmock/response.rb#68
1229
+ def raise_error_if_any; end
1230
+
1231
+ # source://webmock//lib/webmock/response.rb#72
1232
+ def should_timeout; end
1233
+
1234
+ # source://webmock//lib/webmock/response.rb#48
1235
+ def status; end
1236
+
1237
+ # source://webmock//lib/webmock/response.rb#52
1238
+ def status=(status); end
1239
+
1240
+ private
1241
+
1242
+ # source://webmock//lib/webmock/response.rb#113
1243
+ def assert_valid_body!; end
1244
+
1245
+ # source://webmock//lib/webmock/response.rb#126
1246
+ def read_raw_response(io); end
1247
+
1248
+ # source://webmock//lib/webmock/response.rb#105
1249
+ def stringify_body!; end
1250
+ end
1251
+
1252
+ # source://webmock//lib/webmock/response.rb#143
1253
+ class WebMock::Response::InvalidBody < ::StandardError; end
1254
+
1255
+ # source://webmock//lib/webmock/response.rb#5
1256
+ class WebMock::ResponseFactory
1257
+ class << self
1258
+ # source://webmock//lib/webmock/response.rb#6
1259
+ def response_for(options); end
1260
+ end
1261
+ end
1262
+
1263
+ # source://webmock//lib/webmock/responses_sequence.rb#3
1264
+ class WebMock::ResponsesSequence
1265
+ # @return [ResponsesSequence] a new instance of ResponsesSequence
1266
+ #
1267
+ # source://webmock//lib/webmock/responses_sequence.rb#7
1268
+ def initialize(responses); end
1269
+
1270
+ # @return [Boolean]
1271
+ #
1272
+ # source://webmock//lib/webmock/responses_sequence.rb#13
1273
+ def end?; end
1274
+
1275
+ # source://webmock//lib/webmock/responses_sequence.rb#17
1276
+ def next_response; end
1277
+
1278
+ # Returns the value of attribute times_to_repeat.
1279
+ #
1280
+ # source://webmock//lib/webmock/responses_sequence.rb#5
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#5
1288
+ def times_to_repeat=(_arg0); end
1289
+
1290
+ private
1291
+
1292
+ # source://webmock//lib/webmock/responses_sequence.rb#29
1293
+ def increase_position; end
1294
+ end
1295
+
1296
+ # source://webmock//lib/webmock/stub_registry.rb#3
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#8
1304
+ def initialize; end
1305
+
1306
+ # source://webmock//lib/webmock/stub_registry.rb#12
1307
+ def global_stubs; end
1308
+
1309
+ # source://webmock//lib/webmock/stub_registry.rb#20
1310
+ def register_global_stub(order = T.unsafe(nil), &block); end
1311
+
1312
+ # source://webmock//lib/webmock/stub_registry.rb#48
1313
+ def register_request_stub(stub); end
1314
+
1315
+ # @return [Boolean]
1316
+ #
1317
+ # source://webmock//lib/webmock/stub_registry.rb#59
1318
+ def registered_request?(request_signature); end
1319
+
1320
+ # source://webmock//lib/webmock/stub_registry.rb#53
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#6
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#6
1333
+ def request_stubs=(_arg0); end
1334
+
1335
+ # source://webmock//lib/webmock/stub_registry.rb#16
1336
+ def reset!; end
1337
+
1338
+ # source://webmock//lib/webmock/stub_registry.rb#63
1339
+ def response_for_request(request_signature); end
1340
+
1341
+ private
1342
+
1343
+ # source://webmock//lib/webmock/stub_registry.rb#77
1344
+ def evaluate_response_for_request(response, request_signature); end
1345
+
1346
+ # source://webmock//lib/webmock/stub_registry.rb#70
1347
+ def request_stub_for(request_signature); end
1348
+ end
1349
+
1350
+ # source://webmock//lib/webmock/stub_request_snippet.rb#2
1351
+ class WebMock::StubRequestSnippet
1352
+ # @return [StubRequestSnippet] a new instance of StubRequestSnippet
1353
+ #
1354
+ # source://webmock//lib/webmock/stub_request_snippet.rb#3
1355
+ def initialize(request_stub); end
1356
+
1357
+ # source://webmock//lib/webmock/stub_request_snippet.rb#7
1358
+ def body_pattern; end
1359
+
1360
+ # source://webmock//lib/webmock/stub_request_snippet.rb#11
1361
+ def to_s(with_response = T.unsafe(nil)); end
1362
+ end
1363
+
1364
+ # source://webmock//lib/webmock/request_pattern.rb#175
1365
+ class WebMock::URIAddressablePattern < ::WebMock::URIPattern
1366
+ # source://webmock//lib/webmock/request_pattern.rb#176
1367
+ def add_query_params(query_params); end
1368
+
1369
+ private
1370
+
1371
+ # @return [Boolean]
1372
+ #
1373
+ # source://webmock//lib/webmock/request_pattern.rb#201
1374
+ def matches_with_variations?(uri); end
1375
+
1376
+ # source://webmock//lib/webmock/request_pattern.rb#197
1377
+ def pattern_inspect; end
1378
+
1379
+ # @return [Boolean]
1380
+ #
1381
+ # source://webmock//lib/webmock/request_pattern.rb#187
1382
+ def pattern_matches?(uri); end
1383
+
1384
+ # @return [Boolean]
1385
+ #
1386
+ # source://webmock//lib/webmock/request_pattern.rb#213
1387
+ def template_matches_uri?(template, uri); end
1388
+ end
1389
+
1390
+ # source://webmock//lib/webmock/request_pattern.rb#159
1391
+ class WebMock::URICallablePattern < ::WebMock::URIPattern
1392
+ private
1393
+
1394
+ # @return [Boolean]
1395
+ #
1396
+ # source://webmock//lib/webmock/request_pattern.rb#162
1397
+ def pattern_matches?(uri); end
1398
+ end
1399
+
1400
+ # source://webmock//lib/webmock/request_pattern.rb#108
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#111
1407
+ def initialize(pattern); end
1408
+
1409
+ # source://webmock//lib/webmock/request_pattern.rb#123
1410
+ def add_query_params(query_params); end
1411
+
1412
+ # @return [Boolean]
1413
+ #
1414
+ # source://webmock//lib/webmock/request_pattern.rb#138
1415
+ def matches?(uri); end
1416
+
1417
+ # source://webmock//lib/webmock/request_pattern.rb#142
1418
+ def to_s; end
1419
+
1420
+ private
1421
+
1422
+ # source://webmock//lib/webmock/request_pattern.rb#150
1423
+ def pattern_inspect; end
1424
+
1425
+ # @return [Boolean]
1426
+ #
1427
+ # source://webmock//lib/webmock/request_pattern.rb#154
1428
+ def query_params_matches?(uri); end
1429
+ end
1430
+
1431
+ # source://webmock//lib/webmock/request_pattern.rb#167
1432
+ class WebMock::URIRegexpPattern < ::WebMock::URIPattern
1433
+ private
1434
+
1435
+ # @return [Boolean]
1436
+ #
1437
+ # source://webmock//lib/webmock/request_pattern.rb#170
1438
+ def pattern_matches?(uri); end
1439
+ end
1440
+
1441
+ # source://webmock//lib/webmock/request_pattern.rb#220
1442
+ class WebMock::URIStringPattern < ::WebMock::URIPattern
1443
+ # source://webmock//lib/webmock/request_pattern.rb#221
1444
+ def add_query_params(query_params); end
1445
+
1446
+ private
1447
+
1448
+ # source://webmock//lib/webmock/request_pattern.rb#244
1449
+ def pattern_inspect; end
1450
+
1451
+ # @return [Boolean]
1452
+ #
1453
+ # source://webmock//lib/webmock/request_pattern.rb#232
1454
+ def pattern_matches?(uri); end
1455
+ end
1456
+
1457
+ # source://webmock//lib/webmock/util/query_mapper.rb#1
1458
+ module WebMock::Util; end
1459
+
1460
+ # source://webmock//lib/webmock/util/hash_counter.rb#5
1461
+ class WebMock::Util::HashCounter
1462
+ # @return [HashCounter] a new instance of HashCounter
1463
+ #
1464
+ # source://webmock//lib/webmock/util/hash_counter.rb#7
1465
+ def initialize; end
1466
+
1467
+ # source://webmock//lib/webmock/util/hash_counter.rb#32
1468
+ def each(&block); end
1469
+
1470
+ # source://webmock//lib/webmock/util/hash_counter.rb#19
1471
+ def get(key); end
1472
+
1473
+ # Returns the value of attribute hash.
1474
+ #
1475
+ # source://webmock//lib/webmock/util/hash_counter.rb#6
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#6
1483
+ def hash=(_arg0); end
1484
+
1485
+ # source://webmock//lib/webmock/util/hash_counter.rb#13
1486
+ def put(key, num = T.unsafe(nil)); end
1487
+
1488
+ # source://webmock//lib/webmock/util/hash_counter.rb#25
1489
+ def select(&block); end
1490
+ end
1491
+
1492
+ # source://webmock//lib/webmock/util/hash_keys_stringifier.rb#3
1493
+ class WebMock::Util::HashKeysStringifier
1494
+ class << self
1495
+ # source://webmock//lib/webmock/util/hash_keys_stringifier.rb#5
1496
+ def stringify_keys!(arg, options = T.unsafe(nil)); end
1497
+ end
1498
+ end
1499
+
1500
+ # source://webmock//lib/webmock/util/headers.rb#7
1501
+ class WebMock::Util::Headers
1502
+ class << self
1503
+ # source://webmock//lib/webmock/util/headers.rb#56
1504
+ def basic_auth_header(*credentials); end
1505
+
1506
+ # source://webmock//lib/webmock/util/headers.rb#52
1507
+ def decode_userinfo_from_header(header); end
1508
+
1509
+ # source://webmock//lib/webmock/util/headers.rb#9
1510
+ def normalize_headers(headers); end
1511
+
1512
+ # source://webmock//lib/webmock/util/headers.rb#37
1513
+ def pp_headers_string(headers); end
1514
+
1515
+ # source://webmock//lib/webmock/util/headers.rb#23
1516
+ def sorted_headers_string(headers); end
1517
+ end
1518
+ end
1519
+
1520
+ # source://webmock//lib/webmock/util/json.rb#10
1521
+ class WebMock::Util::JSON
1522
+ class << self
1523
+ # Ensure that ":" and "," are always followed by a space
1524
+ #
1525
+ # source://webmock//lib/webmock/util/json.rb#26
1526
+ def convert_json_to_yaml(json); end
1527
+
1528
+ # source://webmock//lib/webmock/util/json.rb#13
1529
+ def parse(json); end
1530
+
1531
+ # source://webmock//lib/webmock/util/json.rb#21
1532
+ def unescape(str); end
1533
+ end
1534
+ end
1535
+
1536
+ # source://webmock//lib/webmock/util/json.rb#11
1537
+ class WebMock::Util::JSON::ParseError < ::StandardError; end
1538
+
1539
+ # source://webmock//lib/webmock/util/query_mapper.rb#2
1540
+ class WebMock::Util::QueryMapper
1541
+ class << self
1542
+ # source://webmock//lib/webmock/util/query_mapper.rb#79
1543
+ def collect_query_hash(query_array, empty_accumulator, options); end
1544
+
1545
+ # source://webmock//lib/webmock/util/query_mapper.rb#72
1546
+ def collect_query_parts(query); end
1547
+
1548
+ # source://webmock//lib/webmock/util/query_mapper.rb#219
1549
+ def dehash(hash); end
1550
+
1551
+ # source://webmock//lib/webmock/util/query_mapper.rb#104
1552
+ def fill_accumulator_for_dot(accumulator, key, value); end
1553
+
1554
+ # source://webmock//lib/webmock/util/query_mapper.rb#93
1555
+ def fill_accumulator_for_flat(accumulator, key, value); end
1556
+
1557
+ # source://webmock//lib/webmock/util/query_mapper.rb#100
1558
+ def fill_accumulator_for_flat_array(accumulator, key, value); end
1559
+
1560
+ # source://webmock//lib/webmock/util/query_mapper.rb#123
1561
+ def fill_accumulator_for_subscript(accumulator, key, value); end
1562
+
1563
+ # source://webmock//lib/webmock/util/query_mapper.rb#61
1564
+ def normalize_query_hash(query_hash, empty_accumulator, options); end
1565
+
1566
+ # Converts the query component to a Hash value.
1567
+ #
1568
+ # @example
1569
+ # WebMock::Util::QueryMapper.query_to_values("?one=1&two=2&three=3")
1570
+ # #=> {"one" => "1", "two" => "2", "three" => "3"}
1571
+ # WebMock::Util::QueryMapper("?one[two][three]=four").query_values
1572
+ # #=> {"one" => {"two" => {"three" => "four"}}}
1573
+ # WebMock::Util::QueryMapper.query_to_values("?one.two.three=four",
1574
+ # :notation => :dot
1575
+ # )
1576
+ # #=> {"one" => {"two" => {"three" => "four"}}}
1577
+ # WebMock::Util::QueryMapper.query_to_values("?one[two][three]=four",
1578
+ # :notation => :flat
1579
+ # )
1580
+ # #=> {"one[two][three]" => "four"}
1581
+ # WebMock::Util::QueryMapper.query_to_values("?one.two.three=four",
1582
+ # :notation => :flat
1583
+ # )
1584
+ # #=> {"one.two.three" => "four"}
1585
+ # WebMock::Util::QueryMapper(
1586
+ # "?one[two][three][]=four&one[two][three][]=five"
1587
+ # )
1588
+ # #=> {"one" => {"two" => {"three" => ["four", "five"]}}}
1589
+ # WebMock::Util::QueryMapper.query_to_values(
1590
+ # "?one=two&one=three").query_values(:notation => :flat_array)
1591
+ # #=> [['one', 'two'], ['one', 'three']]
1592
+ # @option [Symbol]
1593
+ # @param [Symbol] [Hash] a customizable set of options
1594
+ # @return [Hash, Array] The query string parsed as a Hash or Array object.
1595
+ #
1596
+ # source://webmock//lib/webmock/util/query_mapper.rb#40
1597
+ def query_to_values(query, options = T.unsafe(nil)); end
1598
+
1599
+ # new_query_values have form [['key1', 'value1'], ['key2', 'value2']]
1600
+ #
1601
+ # source://webmock//lib/webmock/util/query_mapper.rb#245
1602
+ def to_query(parent, value, options = T.unsafe(nil)); end
1603
+
1604
+ # Sets the query component for this URI from a Hash object.
1605
+ # This method produces a query string using the :subscript notation.
1606
+ # An empty Hash will result in a nil query.
1607
+ #
1608
+ # @param new_query_values [Hash, #to_hash, Array] The new query values.
1609
+ #
1610
+ # source://webmock//lib/webmock/util/query_mapper.rb#177
1611
+ def values_to_query(new_query_values, options = T.unsafe(nil)); end
1612
+ end
1613
+ end
1614
+
1615
+ # source://webmock//lib/webmock/util/uri.rb#5
1616
+ class WebMock::Util::URI
1617
+ class << self
1618
+ # source://webmock//lib/webmock/util/uri.rb#65
1619
+ def encode_unsafe_chars_in_userinfo(userinfo); end
1620
+
1621
+ # source://webmock//lib/webmock/util/uri.rb#26
1622
+ def heuristic_parse(uri); end
1623
+
1624
+ # @return [Boolean]
1625
+ #
1626
+ # source://webmock//lib/webmock/util/uri.rb#69
1627
+ def is_uri_localhost?(uri); end
1628
+
1629
+ # source://webmock//lib/webmock/util/uri.rb#30
1630
+ def normalize_uri(uri); end
1631
+
1632
+ # source://webmock//lib/webmock/util/uri.rb#76
1633
+ def sort_query_values(query_values); end
1634
+
1635
+ # source://webmock//lib/webmock/util/uri.rb#57
1636
+ def strip_default_port_from_uri_string(uri_string); end
1637
+
1638
+ # source://webmock//lib/webmock/util/uri.rb#87
1639
+ def uris_encoded_and_unencoded(uris); end
1640
+
1641
+ # source://webmock//lib/webmock/util/uri.rb#81
1642
+ def uris_with_inferred_port_and_without(uris); end
1643
+
1644
+ # source://webmock//lib/webmock/util/uri.rb#96
1645
+ def uris_with_scheme_and_without(uris); end
1646
+
1647
+ # source://webmock//lib/webmock/util/uri.rb#102
1648
+ def uris_with_trailing_slash_and_without(uris); end
1649
+
1650
+ # source://webmock//lib/webmock/util/uri.rb#36
1651
+ def variations_of_uri_as_strings(uri_object, only_with_scheme: T.unsafe(nil)); end
1652
+ end
1653
+ end
1654
+
1655
+ # source://webmock//lib/webmock/util/uri.rb#10
1656
+ WebMock::Util::URI::ADDRESSABLE_URIS = T.let(T.unsafe(nil), Hash)
1657
+
1658
+ # source://webmock//lib/webmock/util/uri.rb#6
1659
+ module WebMock::Util::URI::CharacterClasses; end
1660
+
1661
+ # source://webmock//lib/webmock/util/uri.rb#7
1662
+ WebMock::Util::URI::CharacterClasses::USERINFO = T.let(T.unsafe(nil), String)
1663
+
1664
+ # source://webmock//lib/webmock/util/uri.rb#14
1665
+ WebMock::Util::URI::NORMALIZED_URIS = T.let(T.unsafe(nil), Hash)
1666
+
1667
+ # source://webmock//lib/webmock/util/values_stringifier.rb#1
1668
+ class WebMock::Util::ValuesStringifier
1669
+ class << self
1670
+ # source://webmock//lib/webmock/util/values_stringifier.rb#2
1671
+ def stringify_values(value); end
1672
+ end
1673
+ end
1674
+
1675
+ # source://webmock//lib/webmock/version.rb#2
1676
+ WebMock::VERSION = T.let(T.unsafe(nil), String)
1677
+
1678
+ # source://webmock//lib/webmock/util/version_checker.rb#26
1679
+ class WebMock::VersionChecker
1680
+ # @return [VersionChecker] a new instance of VersionChecker
1681
+ #
1682
+ # source://webmock//lib/webmock/util/version_checker.rb#27
1683
+ def initialize(library_name, library_version, min_patch_level, max_minor_version = T.unsafe(nil), unsupported_versions = T.unsafe(nil)); end
1684
+
1685
+ # source://webmock//lib/webmock/util/version_checker.rb#43
1686
+ def check_version!; end
1687
+
1688
+ private
1689
+
1690
+ # source://webmock//lib/webmock/util/version_checker.rb#107
1691
+ def colorize(text, color_code); end
1692
+
1693
+ # source://webmock//lib/webmock/util/version_checker.rb#84
1694
+ def compare_version; end
1695
+
1696
+ # source://webmock//lib/webmock/util/version_checker.rb#103
1697
+ def parse_version(version); end
1698
+
1699
+ # @return [Boolean]
1700
+ #
1701
+ # source://webmock//lib/webmock/util/version_checker.rb#55
1702
+ def too_high?; end
1703
+
1704
+ # @return [Boolean]
1705
+ #
1706
+ # source://webmock//lib/webmock/util/version_checker.rb#51
1707
+ def too_low?; end
1708
+
1709
+ # @return [Boolean]
1710
+ #
1711
+ # source://webmock//lib/webmock/util/version_checker.rb#59
1712
+ def unsupported_version?; end
1713
+
1714
+ # source://webmock//lib/webmock/util/version_checker.rb#96
1715
+ def version_requirement; end
1716
+
1717
+ # source://webmock//lib/webmock/util/version_checker.rb#68
1718
+ def warn_about_too_high; end
1719
+
1720
+ # source://webmock//lib/webmock/util/version_checker.rb#63
1721
+ def warn_about_too_low; end
1722
+
1723
+ # source://webmock//lib/webmock/util/version_checker.rb#74
1724
+ def warn_about_unsupported_version; end
1725
+
1726
+ # source://webmock//lib/webmock/util/version_checker.rb#80
1727
+ def warn_in_red(text); end
1728
+ end