workos 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +5 -2
- data/Gemfile.lock +6 -2
- data/README.md +179 -8
- data/bin/docs +2 -2
- data/codecov.yml +1 -0
- data/docs/WorkOS.html +22 -26
- data/docs/WorkOS/APIError.html +160 -0
- data/docs/WorkOS/AuditLog.html +235 -0
- data/docs/WorkOS/AuthenticationError.html +160 -0
- data/docs/WorkOS/Base.html +27 -32
- data/docs/WorkOS/Client.html +493 -0
- data/docs/WorkOS/InvalidRequestError.html +160 -0
- data/docs/WorkOS/Profile.html +80 -17
- data/docs/WorkOS/RequestError.html +6 -6
- data/docs/WorkOS/SSO.html +118 -74
- data/docs/WorkOS/Types.html +9 -10
- data/docs/WorkOS/Types/ProfileStruct.html +6 -6
- data/docs/WorkOS/Types/Provider.html +135 -0
- data/docs/WorkOS/WorkOSError.html +447 -0
- data/docs/class_list.html +3 -3
- data/docs/css/style.css +2 -2
- data/docs/file.README.html +173 -13
- data/docs/file_list.html +2 -2
- data/docs/frames.html +2 -2
- data/docs/index.html +77 -16
- data/docs/js/app.js +14 -3
- data/docs/method_list.html +96 -8
- data/docs/top-level-namespace.html +6 -6
- data/lib/workos.rb +7 -2
- data/lib/workos/audit_log.rb +78 -0
- data/lib/workos/base.rb +5 -6
- data/lib/workos/client.rb +86 -0
- data/lib/workos/errors.rb +48 -0
- data/lib/workos/sso.rb +49 -27
- data/lib/workos/types.rb +2 -1
- data/lib/workos/types/provider_enum.rb +14 -0
- data/lib/workos/version.rb +2 -2
- data/sorbet/rbi/hidden-definitions/errors.txt +22108 -4368
- data/sorbet/rbi/hidden-definitions/hidden.rbi +32490 -6059
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +1 -1
- data/sorbet/rbi/todo.rbi +5 -0
- data/spec/lib/workos/audit_log_spec.rb +140 -0
- data/spec/lib/workos/base_spec.rb +30 -0
- data/spec/lib/workos/sso_spec.rb +131 -36
- data/spec/spec_helper.rb +21 -1
- data/spec/support/fixtures/vcr_cassettes/audit_log/create_event.yml +65 -0
- data/spec/support/fixtures/vcr_cassettes/audit_log/create_event_custom_idempotency_key.yml +67 -0
- data/spec/support/fixtures/vcr_cassettes/audit_log/create_event_invalid.yml +68 -0
- data/spec/support/fixtures/vcr_cassettes/audit_log/create_events_duplicate_idempotency_key_and_payload.yml +131 -0
- data/spec/support/fixtures/vcr_cassettes/audit_log/create_events_duplicate_idempotency_key_different_payload.yml +134 -0
- data/spec/support/fixtures/vcr_cassettes/base/execute_request_unauthenticated.yml +66 -0
- data/workos.gemspec +2 -0
- metadata +57 -27
- data/lib/workos/request_error.rb +0 -5
- data/sorbet/rbi/gems/addressable.rbi +0 -198
- data/sorbet/rbi/gems/ast.rbi +0 -47
- data/sorbet/rbi/gems/codecov.rbi +0 -19
- data/sorbet/rbi/gems/crack.rbi +0 -47
- data/sorbet/rbi/gems/docile.rbi +0 -31
- data/sorbet/rbi/gems/hashdiff.rbi +0 -65
- data/sorbet/rbi/gems/jaro_winkler.rbi +0 -14
- data/sorbet/rbi/gems/parallel.rbi +0 -81
- data/sorbet/rbi/gems/parser.rbi +0 -856
- data/sorbet/rbi/gems/public_suffix.rbi +0 -102
- data/sorbet/rbi/gems/rack.rbi +0 -103
- data/sorbet/rbi/gems/rainbow.rbi +0 -117
- data/sorbet/rbi/gems/rake.rbi +0 -632
- data/sorbet/rbi/gems/rspec-core.rbi +0 -1661
- data/sorbet/rbi/gems/rspec-expectations.rbi +0 -388
- data/sorbet/rbi/gems/rspec-mocks.rbi +0 -823
- data/sorbet/rbi/gems/rspec-support.rbi +0 -266
- data/sorbet/rbi/gems/rspec.rbi +0 -14
- data/sorbet/rbi/gems/rubocop.rbi +0 -7083
- data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -304
- data/sorbet/rbi/gems/simplecov-html.rbi +0 -30
- data/sorbet/rbi/gems/simplecov.rbi +0 -225
- data/sorbet/rbi/gems/unicode-display_width.rbi +0 -16
- data/sorbet/rbi/gems/webmock.rbi +0 -526
@@ -1,16 +0,0 @@
|
|
1
|
-
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
-
# srb rbi gems
|
3
|
-
|
4
|
-
# typed: strong
|
5
|
-
#
|
6
|
-
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
-
#
|
8
|
-
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/unicode-display_width/all/unicode-display_width.rbi
|
9
|
-
#
|
10
|
-
# unicode-display_width-1.6.0
|
11
|
-
module Unicode
|
12
|
-
end
|
13
|
-
module Unicode::DisplayWidth
|
14
|
-
def self.emoji_extra_width_of(string, ambiguous = nil, overwrite = nil, _ = nil); end
|
15
|
-
def self.of(string, ambiguous = nil, overwrite = nil, options = nil); end
|
16
|
-
end
|
data/sorbet/rbi/gems/webmock.rbi
DELETED
@@ -1,526 +0,0 @@
|
|
1
|
-
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
-
# srb rbi gems
|
3
|
-
|
4
|
-
# typed: true
|
5
|
-
#
|
6
|
-
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
-
#
|
8
|
-
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/webmock/all/webmock.rbi
|
9
|
-
#
|
10
|
-
# webmock-3.7.6
|
11
|
-
module WebMock
|
12
|
-
def after_request(*args, &block); end
|
13
|
-
def allow_net_connect!(*args, &block); end
|
14
|
-
def disable_net_connect!(*args, &block); end
|
15
|
-
def net_connect_allowed?(*args, &block); end
|
16
|
-
def registered_request?(*args, &block); end
|
17
|
-
def reset_callbacks(*args, &block); end
|
18
|
-
def reset_webmock(*args, &block); end
|
19
|
-
def self.after_request(options = nil, &block); end
|
20
|
-
def self.allow_net_connect!(options = nil); end
|
21
|
-
def self.disable!(options = nil); end
|
22
|
-
def self.disable_net_connect!(options = nil); end
|
23
|
-
def self.disallow_net_connect!(options = nil); end
|
24
|
-
def self.enable!; end
|
25
|
-
def self.enable_net_connect!(options = nil); end
|
26
|
-
def self.globally_stub_request(&block); end
|
27
|
-
def self.hide_body_diff!; end
|
28
|
-
def self.hide_stubbing_instructions!; end
|
29
|
-
def self.included(clazz); end
|
30
|
-
def self.net_connect_allowed?(uri = nil); end
|
31
|
-
def self.net_connect_explicit_allowed?(allowed, uri = nil); end
|
32
|
-
def self.print_executed_requests; end
|
33
|
-
def self.registered_request?(request_signature); end
|
34
|
-
def self.request(method, uri); end
|
35
|
-
def self.reset!; end
|
36
|
-
def self.reset_callbacks; end
|
37
|
-
def self.reset_webmock; end
|
38
|
-
def self.show_body_diff!; end
|
39
|
-
def self.show_body_diff?; end
|
40
|
-
def self.show_stubbing_instructions!; end
|
41
|
-
def self.show_stubbing_instructions?; end
|
42
|
-
def self.version; end
|
43
|
-
extend WebMock::API
|
44
|
-
include WebMock::API
|
45
|
-
end
|
46
|
-
class WebMock::Deprecation
|
47
|
-
def self.warning(message); end
|
48
|
-
end
|
49
|
-
class WebMock::NetConnectNotAllowedError < Exception
|
50
|
-
def initialize(request_signature); end
|
51
|
-
end
|
52
|
-
module WebMock::Util
|
53
|
-
end
|
54
|
-
class WebMock::Util::QueryMapper
|
55
|
-
def self.collect_query_hash(query_array, empty_accumulator, options); end
|
56
|
-
def self.collect_query_parts(query); end
|
57
|
-
def self.dehash(hash); end
|
58
|
-
def self.fill_accumulator_for_dot(accumulator, key, value); end
|
59
|
-
def self.fill_accumulator_for_flat(accumulator, key, value); end
|
60
|
-
def self.fill_accumulator_for_flat_array(accumulator, key, value); end
|
61
|
-
def self.fill_accumulator_for_subscript(accumulator, key, value); end
|
62
|
-
def self.normalize_query_hash(query_hash, empty_accumulator, options); end
|
63
|
-
def self.query_to_values(query, options = nil); end
|
64
|
-
def self.to_query(parent, value, options = nil); end
|
65
|
-
def self.values_to_query(new_query_values, options = nil); end
|
66
|
-
end
|
67
|
-
class WebMock::Util::URI
|
68
|
-
def self.encode_unsafe_chars_in_userinfo(userinfo); end
|
69
|
-
def self.heuristic_parse(uri); end
|
70
|
-
def self.is_uri_localhost?(uri); end
|
71
|
-
def self.normalize_uri(uri); end
|
72
|
-
def self.sort_query_values(query_values); end
|
73
|
-
def self.strip_default_port_from_uri_string(uri_string); end
|
74
|
-
def self.uris_encoded_and_unencoded(uris); end
|
75
|
-
def self.uris_with_inferred_port_and_without(uris); end
|
76
|
-
def self.uris_with_scheme_and_without(uris); end
|
77
|
-
def self.uris_with_trailing_slash_and_without(uris); end
|
78
|
-
def self.variations_of_uri_as_strings(uri_object, only_with_scheme: nil); end
|
79
|
-
end
|
80
|
-
module WebMock::Util::URI::CharacterClasses
|
81
|
-
end
|
82
|
-
class WebMock::Util::Headers
|
83
|
-
def self.basic_auth_header(*credentials); end
|
84
|
-
def self.decode_userinfo_from_header(header); end
|
85
|
-
def self.normalize_headers(headers); end
|
86
|
-
def self.pp_headers_string(headers); end
|
87
|
-
def self.sorted_headers_string(headers); end
|
88
|
-
end
|
89
|
-
class WebMock::Util::HashCounter
|
90
|
-
def each(&block); end
|
91
|
-
def get(key); end
|
92
|
-
def hash; end
|
93
|
-
def hash=(arg0); end
|
94
|
-
def initialize; end
|
95
|
-
def put(key, num = nil); end
|
96
|
-
def select(&block); end
|
97
|
-
end
|
98
|
-
class WebMock::Util::HashKeysStringifier
|
99
|
-
def self.stringify_keys!(arg, options = nil); end
|
100
|
-
end
|
101
|
-
class WebMock::Util::ValuesStringifier
|
102
|
-
def self.stringify_values(value); end
|
103
|
-
end
|
104
|
-
class WebMock::Util::JSON
|
105
|
-
def self.convert_json_to_yaml(json); end
|
106
|
-
def self.parse(json); end
|
107
|
-
def self.unescape(str); end
|
108
|
-
end
|
109
|
-
class WebMock::Util::JSON::ParseError < StandardError
|
110
|
-
end
|
111
|
-
class WebMock::VersionChecker
|
112
|
-
def check_version!; end
|
113
|
-
def colorize(text, color_code); end
|
114
|
-
def compare_version; end
|
115
|
-
def initialize(library_name, library_version, min_patch_level, max_minor_version = nil, unsupported_versions = nil); end
|
116
|
-
def parse_version(version); end
|
117
|
-
def too_high?; end
|
118
|
-
def too_low?; end
|
119
|
-
def unsupported_version?; end
|
120
|
-
def version_requirement; end
|
121
|
-
def warn_about_too_high; end
|
122
|
-
def warn_about_too_low; end
|
123
|
-
def warn_about_unsupported_version; end
|
124
|
-
def warn_in_red(text); end
|
125
|
-
end
|
126
|
-
class WebMock::HashValidator
|
127
|
-
def initialize(hash); end
|
128
|
-
def validate_keys(*valid_keys); end
|
129
|
-
end
|
130
|
-
module WebMock::Matchers
|
131
|
-
def have_been_made; end
|
132
|
-
def have_been_requested; end
|
133
|
-
def have_not_been_made; end
|
134
|
-
def have_not_requested(method, uri); end
|
135
|
-
def have_requested(method, uri); end
|
136
|
-
end
|
137
|
-
class WebMock::Matchers::HashArgumentMatcher
|
138
|
-
def ==(_actual, &block); end
|
139
|
-
def initialize(expected); end
|
140
|
-
def self.from_rspec_matcher(matcher); end
|
141
|
-
end
|
142
|
-
class WebMock::Matchers::HashExcludingMatcher < WebMock::Matchers::HashArgumentMatcher
|
143
|
-
def ==(actual); end
|
144
|
-
def inspect; end
|
145
|
-
end
|
146
|
-
class WebMock::Matchers::HashIncludingMatcher < WebMock::Matchers::HashArgumentMatcher
|
147
|
-
def ==(actual); end
|
148
|
-
def inspect; end
|
149
|
-
end
|
150
|
-
class WebMock::Matchers::AnyArgMatcher
|
151
|
-
def ==(other); end
|
152
|
-
def initialize(ignore); end
|
153
|
-
end
|
154
|
-
module WebMock::RSpecMatcherDetector
|
155
|
-
def rSpecHashExcludingMatcher?(matcher); end
|
156
|
-
def rSpecHashIncludingMatcher?(matcher); end
|
157
|
-
end
|
158
|
-
class WebMock::RequestPattern
|
159
|
-
def assign_options(options); end
|
160
|
-
def body_pattern; end
|
161
|
-
def create_uri_pattern(uri); end
|
162
|
-
def headers_pattern; end
|
163
|
-
def initialize(method, uri, options = nil); end
|
164
|
-
def matches?(request_signature); end
|
165
|
-
def method_pattern; end
|
166
|
-
def set_basic_auth_as_headers!(options); end
|
167
|
-
def to_s; end
|
168
|
-
def uri_pattern; end
|
169
|
-
def validate_basic_auth!(basic_auth); end
|
170
|
-
def with(options = nil, &block); end
|
171
|
-
end
|
172
|
-
class WebMock::MethodPattern
|
173
|
-
def initialize(pattern); end
|
174
|
-
def matches?(method); end
|
175
|
-
def to_s; end
|
176
|
-
end
|
177
|
-
class WebMock::URIPattern
|
178
|
-
def add_query_params(query_params); end
|
179
|
-
def initialize(pattern); end
|
180
|
-
def to_s; end
|
181
|
-
include WebMock::RSpecMatcherDetector
|
182
|
-
end
|
183
|
-
class WebMock::URIRegexpPattern < WebMock::URIPattern
|
184
|
-
def matches?(uri); end
|
185
|
-
def to_s; end
|
186
|
-
end
|
187
|
-
class WebMock::URIAddressablePattern < WebMock::URIPattern
|
188
|
-
def add_query_params(query_params); end
|
189
|
-
def matches?(uri); end
|
190
|
-
def matches_with_variations?(uri); end
|
191
|
-
def to_s; end
|
192
|
-
end
|
193
|
-
class WebMock::URIStringPattern < WebMock::URIPattern
|
194
|
-
def add_query_params(query_params); end
|
195
|
-
def matches?(uri); end
|
196
|
-
def to_s; end
|
197
|
-
end
|
198
|
-
class WebMock::BodyPattern
|
199
|
-
def assert_non_multipart_body(content_type); end
|
200
|
-
def body_as_hash(body, content_type); end
|
201
|
-
def empty_string?(string); end
|
202
|
-
def initialize(pattern); end
|
203
|
-
def matches?(body, content_type = nil); end
|
204
|
-
def matching_body_hashes?(query_parameters, pattern, content_type); end
|
205
|
-
def normalize_hash(hash); end
|
206
|
-
def pattern; end
|
207
|
-
def to_s; end
|
208
|
-
def url_encoded_body?(content_type); end
|
209
|
-
include WebMock::RSpecMatcherDetector
|
210
|
-
end
|
211
|
-
class WebMock::HeadersPattern
|
212
|
-
def empty_headers?(headers); end
|
213
|
-
def initialize(pattern); end
|
214
|
-
def matches?(headers); end
|
215
|
-
def pp_to_s; end
|
216
|
-
def to_s; end
|
217
|
-
end
|
218
|
-
class WebMock::RequestSignature
|
219
|
-
def ==(other); end
|
220
|
-
def assign_options(options); end
|
221
|
-
def body; end
|
222
|
-
def body=(arg0); end
|
223
|
-
def eql?(other); end
|
224
|
-
def hash; end
|
225
|
-
def headers; end
|
226
|
-
def headers=(headers); end
|
227
|
-
def initialize(method, uri, options = nil); end
|
228
|
-
def json_headers?; end
|
229
|
-
def method; end
|
230
|
-
def method=(arg0); end
|
231
|
-
def to_s; end
|
232
|
-
def uri; end
|
233
|
-
def uri=(arg0); end
|
234
|
-
def url_encoded?; end
|
235
|
-
end
|
236
|
-
class WebMock::ResponsesSequence
|
237
|
-
def end?; end
|
238
|
-
def increase_position; end
|
239
|
-
def initialize(responses); end
|
240
|
-
def next_response; end
|
241
|
-
def times_to_repeat; end
|
242
|
-
def times_to_repeat=(arg0); end
|
243
|
-
end
|
244
|
-
class WebMock::RequestStub
|
245
|
-
def and_raise(*exceptions); end
|
246
|
-
def and_return(*response_hashes, &block); end
|
247
|
-
def and_timeout; end
|
248
|
-
def has_responses?; end
|
249
|
-
def initialize(method, uri); end
|
250
|
-
def matches?(request_signature); end
|
251
|
-
def request_pattern; end
|
252
|
-
def request_pattern=(arg0); end
|
253
|
-
def response; end
|
254
|
-
def self.from_request_signature(signature); end
|
255
|
-
def then; end
|
256
|
-
def times(number); end
|
257
|
-
def to_rack(app, options = nil); end
|
258
|
-
def to_raise(*exceptions); end
|
259
|
-
def to_return(*response_hashes, &block); end
|
260
|
-
def to_s; end
|
261
|
-
def to_timeout; end
|
262
|
-
def with(params = nil, &block); end
|
263
|
-
end
|
264
|
-
class WebMock::ResponseFactory
|
265
|
-
def self.response_for(options); end
|
266
|
-
end
|
267
|
-
class WebMock::Response
|
268
|
-
def ==(other); end
|
269
|
-
def assert_valid_body!; end
|
270
|
-
def body; end
|
271
|
-
def body=(body); end
|
272
|
-
def evaluate(request_signature); end
|
273
|
-
def exception; end
|
274
|
-
def exception=(exception); end
|
275
|
-
def headers; end
|
276
|
-
def headers=(headers); end
|
277
|
-
def initialize(options = nil); end
|
278
|
-
def options=(options); end
|
279
|
-
def raise_error_if_any; end
|
280
|
-
def read_raw_response(raw_response); end
|
281
|
-
def should_timeout; end
|
282
|
-
def status; end
|
283
|
-
def status=(status); end
|
284
|
-
def stringify_body!; end
|
285
|
-
end
|
286
|
-
class WebMock::Response::InvalidBody < StandardError
|
287
|
-
end
|
288
|
-
class WebMock::DynamicResponse < WebMock::Response
|
289
|
-
def evaluate(request_signature); end
|
290
|
-
def initialize(responder); end
|
291
|
-
def responder; end
|
292
|
-
def responder=(arg0); end
|
293
|
-
end
|
294
|
-
class WebMock::RackResponse < WebMock::Response
|
295
|
-
def body_from_rack_response(response); end
|
296
|
-
def build_rack_env(request); end
|
297
|
-
def evaluate(request); end
|
298
|
-
def initialize(app); end
|
299
|
-
def session; end
|
300
|
-
def session_options; end
|
301
|
-
end
|
302
|
-
class WebMock::StubRequestSnippet
|
303
|
-
def body_pattern; end
|
304
|
-
def initialize(request_stub); end
|
305
|
-
def to_s(with_response = nil); end
|
306
|
-
end
|
307
|
-
class WebMock::RequestSignatureSnippet
|
308
|
-
def add_body_diff(stub, text); end
|
309
|
-
def initialize(request_signature); end
|
310
|
-
def pretty_print_to_string(string_to_print); end
|
311
|
-
def request_params; end
|
312
|
-
def request_signature; end
|
313
|
-
def request_stub; end
|
314
|
-
def request_stubs; end
|
315
|
-
def signature_stub_body_diff(stub); end
|
316
|
-
def stubbing_instructions; end
|
317
|
-
end
|
318
|
-
class WebMock::RequestBodyDiff
|
319
|
-
def body_diff; end
|
320
|
-
def initialize(request_signature, request_stub); end
|
321
|
-
def parseable_json?(body_pattern); end
|
322
|
-
def request_signature; end
|
323
|
-
def request_signature_body_hash; end
|
324
|
-
def request_signature_diffable?; end
|
325
|
-
def request_signature_parseable_json?; end
|
326
|
-
def request_stub; end
|
327
|
-
def request_stub_body; end
|
328
|
-
def request_stub_body_hash; end
|
329
|
-
def request_stub_diffable?; end
|
330
|
-
def request_stub_parseable_json?; end
|
331
|
-
end
|
332
|
-
class WebMock::AssertionFailure
|
333
|
-
def self.error_class; end
|
334
|
-
def self.error_class=(arg0); end
|
335
|
-
def self.failure(message); end
|
336
|
-
end
|
337
|
-
class WebMock::RequestExecutionVerifier
|
338
|
-
def at_least_times_executed; end
|
339
|
-
def at_least_times_executed=(arg0); end
|
340
|
-
def at_most_times_executed; end
|
341
|
-
def at_most_times_executed=(arg0); end
|
342
|
-
def description; end
|
343
|
-
def does_not_match?; end
|
344
|
-
def expected_times_executed; end
|
345
|
-
def expected_times_executed=(arg0); end
|
346
|
-
def failure_message; end
|
347
|
-
def failure_message_phrase(is_negated = nil); end
|
348
|
-
def failure_message_when_negated; end
|
349
|
-
def initialize(request_pattern = nil, expected_times_executed = nil, at_least_times_executed = nil, at_most_times_executed = nil); end
|
350
|
-
def matches?; end
|
351
|
-
def quantity_phrase(is_negated = nil); end
|
352
|
-
def request_pattern; end
|
353
|
-
def request_pattern=(arg0); end
|
354
|
-
def self.executed_requests_message; end
|
355
|
-
def times(times); end
|
356
|
-
def times_executed; end
|
357
|
-
def times_executed=(arg0); end
|
358
|
-
end
|
359
|
-
class WebMock::Config
|
360
|
-
def allow; end
|
361
|
-
def allow=(arg0); end
|
362
|
-
def allow_localhost; end
|
363
|
-
def allow_localhost=(arg0); end
|
364
|
-
def allow_net_connect; end
|
365
|
-
def allow_net_connect=(arg0); end
|
366
|
-
def initialize; end
|
367
|
-
def net_http_connect_on_start; end
|
368
|
-
def net_http_connect_on_start=(arg0); end
|
369
|
-
def query_values_notation; end
|
370
|
-
def query_values_notation=(arg0); end
|
371
|
-
def self.allocate; end
|
372
|
-
def self.instance; end
|
373
|
-
def self.new(*arg0); end
|
374
|
-
def show_body_diff; end
|
375
|
-
def show_body_diff=(arg0); end
|
376
|
-
def show_stubbing_instructions; end
|
377
|
-
def show_stubbing_instructions=(arg0); end
|
378
|
-
extend Singleton::SingletonClassMethods
|
379
|
-
include Singleton
|
380
|
-
end
|
381
|
-
class WebMock::CallbackRegistry
|
382
|
-
def self.add_callback(options, block); end
|
383
|
-
def self.any_callbacks?; end
|
384
|
-
def self.callbacks; end
|
385
|
-
def self.invoke_callbacks(options, request_signature, response); end
|
386
|
-
def self.reset; end
|
387
|
-
end
|
388
|
-
class WebMock::RequestRegistry
|
389
|
-
def initialize; end
|
390
|
-
def requested_signatures; end
|
391
|
-
def requested_signatures=(arg0); end
|
392
|
-
def reset!; end
|
393
|
-
def self.allocate; end
|
394
|
-
def self.instance; end
|
395
|
-
def self.new(*arg0); end
|
396
|
-
def times_executed(request_pattern); end
|
397
|
-
def to_s; end
|
398
|
-
extend Singleton::SingletonClassMethods
|
399
|
-
include Singleton
|
400
|
-
end
|
401
|
-
class WebMock::StubRegistry
|
402
|
-
def evaluate_response_for_request(response, request_signature); end
|
403
|
-
def global_stubs; end
|
404
|
-
def initialize; end
|
405
|
-
def register_global_stub(&block); end
|
406
|
-
def register_request_stub(stub); end
|
407
|
-
def registered_request?(request_signature); end
|
408
|
-
def remove_request_stub(stub); end
|
409
|
-
def request_stub_for(request_signature); end
|
410
|
-
def request_stubs; end
|
411
|
-
def request_stubs=(arg0); end
|
412
|
-
def reset!; end
|
413
|
-
def response_for_request(request_signature); end
|
414
|
-
def self.allocate; end
|
415
|
-
def self.instance; end
|
416
|
-
def self.new(*arg0); end
|
417
|
-
extend Singleton::SingletonClassMethods
|
418
|
-
include Singleton
|
419
|
-
end
|
420
|
-
module WebMock::API
|
421
|
-
def a_request(method, uri); end
|
422
|
-
def anythingize_lonely_keys(*args); end
|
423
|
-
def assert_not_requested(*args, &block); end
|
424
|
-
def assert_request_not_requested(request, options = nil); end
|
425
|
-
def assert_request_requested(request, options = nil); end
|
426
|
-
def assert_requested(*args, &block); end
|
427
|
-
def convert_uri_method_and_options_to_request_and_options(method, uri, options, &block); end
|
428
|
-
def hash_excluding(*args); end
|
429
|
-
def hash_including(*args); end
|
430
|
-
def refute_requested(*args, &block); end
|
431
|
-
def remove_request_stub(stub); end
|
432
|
-
def reset_executed_requests!; end
|
433
|
-
def self.request(method, uri); end
|
434
|
-
def stub_http_request(method, uri); end
|
435
|
-
def stub_request(method, uri); end
|
436
|
-
extend WebMock::API
|
437
|
-
end
|
438
|
-
class WebMock::HttpLibAdapterRegistry
|
439
|
-
def each_adapter(&block); end
|
440
|
-
def http_lib_adapters; end
|
441
|
-
def http_lib_adapters=(arg0); end
|
442
|
-
def initialize; end
|
443
|
-
def register(lib, adapter); end
|
444
|
-
def self.allocate; end
|
445
|
-
def self.instance; end
|
446
|
-
def self.new(*arg0); end
|
447
|
-
extend Singleton::SingletonClassMethods
|
448
|
-
include Singleton
|
449
|
-
end
|
450
|
-
class WebMock::HttpLibAdapter
|
451
|
-
def self.adapter_for(lib); end
|
452
|
-
end
|
453
|
-
module Net
|
454
|
-
end
|
455
|
-
module Net::WebMockHTTPResponse
|
456
|
-
def read_body(dest = nil, &block); end
|
457
|
-
end
|
458
|
-
module WebMock::HttpLibAdapters
|
459
|
-
end
|
460
|
-
class WebMock::HttpLibAdapters::NetHttpAdapter < WebMock::HttpLibAdapter
|
461
|
-
def self.disable!; end
|
462
|
-
def self.enable!; end
|
463
|
-
end
|
464
|
-
class PatchedStringIO < StringIO
|
465
|
-
def orig_read_nonblock(*arg0); end
|
466
|
-
def read_nonblock(size, *args); end
|
467
|
-
end
|
468
|
-
class StubSocket
|
469
|
-
def close; end
|
470
|
-
def closed?; end
|
471
|
-
def continue_timeout; end
|
472
|
-
def continue_timeout=(arg0); end
|
473
|
-
def initialize(*args); end
|
474
|
-
def read_timeout; end
|
475
|
-
def read_timeout=(arg0); end
|
476
|
-
def readuntil(*args); end
|
477
|
-
def write_timeout; end
|
478
|
-
def write_timeout=(arg0); end
|
479
|
-
end
|
480
|
-
class Net::WebMockNetBufferedIO < Net::BufferedIO
|
481
|
-
def initialize(io, *args); end
|
482
|
-
end
|
483
|
-
module WebMock::NetHTTPUtility
|
484
|
-
def self.check_right_http_connection; end
|
485
|
-
def self.puts_warning_for_right_http_if_needed; end
|
486
|
-
def self.request_signature_from_request(net_http, request, body = nil); end
|
487
|
-
def self.validate_headers(headers); end
|
488
|
-
end
|
489
|
-
class WebMock::RequestPatternMatcher
|
490
|
-
def at_least_once; end
|
491
|
-
def at_least_times(times); end
|
492
|
-
def at_least_twice; end
|
493
|
-
def at_most_once; end
|
494
|
-
def at_most_times(times); end
|
495
|
-
def at_most_twice; end
|
496
|
-
def description; end
|
497
|
-
def does_not_match?(request_pattern); end
|
498
|
-
def failure_message; end
|
499
|
-
def failure_message_when_negated; end
|
500
|
-
def initialize; end
|
501
|
-
def matches?(request_pattern); end
|
502
|
-
def negative_failure_message; end
|
503
|
-
def once; end
|
504
|
-
def times(times); end
|
505
|
-
def twice; end
|
506
|
-
end
|
507
|
-
class WebMock::WebMockMatcher
|
508
|
-
def at_least_once; end
|
509
|
-
def at_least_times(times); end
|
510
|
-
def at_least_twice; end
|
511
|
-
def description; end
|
512
|
-
def does_not_match?(webmock); end
|
513
|
-
def failure_message; end
|
514
|
-
def failure_message_when_negated; end
|
515
|
-
def initialize(method, uri); end
|
516
|
-
def matches?(webmock); end
|
517
|
-
def negative_failure_message; end
|
518
|
-
def once; end
|
519
|
-
def times(times); end
|
520
|
-
def twice; end
|
521
|
-
def with(options = nil, &block); end
|
522
|
-
end
|
523
|
-
class RSpec::ExampleGroups::WorkOSSSO < RSpec::Core::ExampleGroup
|
524
|
-
include WebMock::API
|
525
|
-
include WebMock::Matchers
|
526
|
-
end
|