etwin 0.0.3 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -0
- data/lib/etwin.rb +1 -0
- data/lib/etwin/auth.rb +1 -0
- data/lib/etwin/auth/_auth_context.rb +1 -0
- data/lib/etwin/auth/access_token_auth_context.rb +103 -0
- data/lib/etwin/auth/auth_type.rb +1 -0
- data/lib/etwin/client/auth.rb +1 -1
- data/lib/etwin/client/http_etwin_client.rb +1 -1
- data/lib/etwin/oauth.rb +13 -0
- data/lib/etwin/oauth/oauth_client_display_name.rb +57 -0
- data/lib/etwin/oauth/oauth_client_id.rb +57 -0
- data/lib/etwin/oauth/oauth_client_key.rb +57 -0
- data/lib/etwin/oauth/short_oauth_client.rb +104 -0
- data/lib/etwin/version.rb +1 -1
- data/sorbet/rbi/gems/debase.rbi +2 -2
- data/sorbet/rbi/gems/faraday.rbi +623 -0
- data/sorbet/rbi/gems/irb.rbi +3 -3
- data/sorbet/rbi/gems/multipart-post.rbi +53 -0
- data/sorbet/rbi/gems/rspec-core.rbi +17 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +5 -5
- data/sorbet/rbi/gems/rubocop-sorbet.rbi +157 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +220 -97
- data/sorbet/rbi/hidden-definitions/hidden.rbi +530 -108
- data/sorbet/rbi/sorbet-typed/lib/faraday/all/faraday.rbi +756 -0
- data/sorbet/rbi/todo.rbi +2 -0
- metadata +12 -2
data/lib/etwin/version.rb
CHANGED
data/sorbet/rbi/gems/debase.rbi
CHANGED
@@ -45,10 +45,10 @@ class Debase::Context
|
|
45
45
|
def frame_locals(frame_no = nil); end
|
46
46
|
def handler; end
|
47
47
|
end
|
48
|
-
module
|
48
|
+
module InvalidName___Class_0x00___InstructionSequenceMixin_1
|
49
49
|
def translate(iseq); end
|
50
50
|
end
|
51
|
-
module
|
51
|
+
module InvalidName___Class_0x00___InstructionSequenceMixin2_2
|
52
52
|
def do_set_flags(iseq, path); end
|
53
53
|
def load_iseq(path); end
|
54
54
|
end
|
@@ -0,0 +1,623 @@
|
|
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/faraday/all/faraday.rbi
|
9
|
+
#
|
10
|
+
# faraday-1.1.0
|
11
|
+
|
12
|
+
module Faraday
|
13
|
+
def self.default_adapter; end
|
14
|
+
def self.default_adapter=(adapter); end
|
15
|
+
def self.default_connection; end
|
16
|
+
def self.default_connection=(arg0); end
|
17
|
+
def self.default_connection_options; end
|
18
|
+
def self.default_connection_options=(options); end
|
19
|
+
def self.ignore_env_proxy; end
|
20
|
+
def self.ignore_env_proxy=(arg0); end
|
21
|
+
def self.lib_path; end
|
22
|
+
def self.lib_path=(arg0); end
|
23
|
+
def self.method_missing(name, *args, &block); end
|
24
|
+
def self.new(url = nil, options = nil, &block); end
|
25
|
+
def self.require_lib(*libs); end
|
26
|
+
def self.require_libs(*libs); end
|
27
|
+
def self.respond_to_missing?(symbol, include_private = nil); end
|
28
|
+
def self.root_path; end
|
29
|
+
def self.root_path=(arg0); end
|
30
|
+
end
|
31
|
+
module Faraday::MiddlewareRegistry
|
32
|
+
def fetch_middleware(key); end
|
33
|
+
def load_middleware(key); end
|
34
|
+
def lookup_middleware(key); end
|
35
|
+
def middleware_mutex(&block); end
|
36
|
+
def register_middleware(autoload_path = nil, mapping = nil); end
|
37
|
+
def unregister_middleware(key); end
|
38
|
+
end
|
39
|
+
module Faraday::DependencyLoader
|
40
|
+
def dependency(lib = nil); end
|
41
|
+
def inherited(subclass); end
|
42
|
+
def load_error; end
|
43
|
+
def load_error=(arg0); end
|
44
|
+
def loaded?; end
|
45
|
+
def new(*arg0); end
|
46
|
+
end
|
47
|
+
module Faraday::Utils
|
48
|
+
def URI(url); end
|
49
|
+
def build_nested_query(params); end
|
50
|
+
def build_query(params); end
|
51
|
+
def deep_merge!(target, hash); end
|
52
|
+
def deep_merge(source, hash); end
|
53
|
+
def default_params_encoder; end
|
54
|
+
def default_space_encoding; end
|
55
|
+
def default_uri_parser; end
|
56
|
+
def default_uri_parser=(parser); end
|
57
|
+
def escape(str); end
|
58
|
+
def normalize_path(url); end
|
59
|
+
def parse_nested_query(query); end
|
60
|
+
def parse_query(query); end
|
61
|
+
def self.URI(url); end
|
62
|
+
def self.build_nested_query(params); end
|
63
|
+
def self.build_query(params); end
|
64
|
+
def self.deep_merge!(target, hash); end
|
65
|
+
def self.deep_merge(source, hash); end
|
66
|
+
def self.default_params_encoder; end
|
67
|
+
def self.default_params_encoder=(arg0); end
|
68
|
+
def self.default_space_encoding; end
|
69
|
+
def self.default_space_encoding=(arg0); end
|
70
|
+
def self.default_uri_parser; end
|
71
|
+
def self.default_uri_parser=(parser); end
|
72
|
+
def self.escape(str); end
|
73
|
+
def self.normalize_path(url); end
|
74
|
+
def self.parse_nested_query(query); end
|
75
|
+
def self.parse_query(query); end
|
76
|
+
def self.sort_query_params(query); end
|
77
|
+
def self.unescape(str); end
|
78
|
+
def sort_query_params(query); end
|
79
|
+
def unescape(str); end
|
80
|
+
end
|
81
|
+
class Faraday::Utils::Headers < Hash
|
82
|
+
def [](key); end
|
83
|
+
def []=(key, val); end
|
84
|
+
def add_parsed(key, value); end
|
85
|
+
def delete(key); end
|
86
|
+
def fetch(key, *args, &block); end
|
87
|
+
def has_key?(key); end
|
88
|
+
def include?(key); end
|
89
|
+
def initialize(hash = nil); end
|
90
|
+
def initialize_copy(other); end
|
91
|
+
def initialize_names; end
|
92
|
+
def key?(key); end
|
93
|
+
def member?(key); end
|
94
|
+
def merge!(other); end
|
95
|
+
def merge(other); end
|
96
|
+
def names; end
|
97
|
+
def parse(header_string); end
|
98
|
+
def replace(other); end
|
99
|
+
def self.allocate; end
|
100
|
+
def self.from(value); end
|
101
|
+
def to_hash; end
|
102
|
+
def update(other); end
|
103
|
+
end
|
104
|
+
class Faraday::Utils::ParamsHash < Hash
|
105
|
+
def [](key); end
|
106
|
+
def []=(key, value); end
|
107
|
+
def convert_key(key); end
|
108
|
+
def delete(key); end
|
109
|
+
def has_key?(key); end
|
110
|
+
def include?(key); end
|
111
|
+
def key?(key); end
|
112
|
+
def member?(key); end
|
113
|
+
def merge!(params); end
|
114
|
+
def merge(params); end
|
115
|
+
def merge_query(query, encoder = nil); end
|
116
|
+
def replace(other); end
|
117
|
+
def to_query(encoder = nil); end
|
118
|
+
def update(params); end
|
119
|
+
end
|
120
|
+
class Anonymous_Faraday_Options_3 < Faraday::Options
|
121
|
+
def bind; end
|
122
|
+
def bind=(_); end
|
123
|
+
def boundary; end
|
124
|
+
def boundary=(_); end
|
125
|
+
def context; end
|
126
|
+
def context=(_); end
|
127
|
+
def oauth; end
|
128
|
+
def oauth=(_); end
|
129
|
+
def on_data; end
|
130
|
+
def on_data=(_); end
|
131
|
+
def open_timeout; end
|
132
|
+
def open_timeout=(_); end
|
133
|
+
def params_encoder; end
|
134
|
+
def params_encoder=(_); end
|
135
|
+
def proxy; end
|
136
|
+
def proxy=(_); end
|
137
|
+
def read_timeout; end
|
138
|
+
def read_timeout=(_); end
|
139
|
+
def self.[](*arg0); end
|
140
|
+
def self.inspect; end
|
141
|
+
def self.members; end
|
142
|
+
def self.new(*arg0); end
|
143
|
+
def timeout; end
|
144
|
+
def timeout=(_); end
|
145
|
+
def write_timeout; end
|
146
|
+
def write_timeout=(_); end
|
147
|
+
end
|
148
|
+
class Faraday::RequestOptions < Anonymous_Faraday_Options_3
|
149
|
+
def []=(key, value); end
|
150
|
+
def stream_response?; end
|
151
|
+
end
|
152
|
+
class Anonymous_Faraday_Options_4 < Faraday::Options
|
153
|
+
def ca_file; end
|
154
|
+
def ca_file=(_); end
|
155
|
+
def ca_path; end
|
156
|
+
def ca_path=(_); end
|
157
|
+
def cert_store; end
|
158
|
+
def cert_store=(_); end
|
159
|
+
def certificate; end
|
160
|
+
def certificate=(_); end
|
161
|
+
def client_cert; end
|
162
|
+
def client_cert=(_); end
|
163
|
+
def client_key; end
|
164
|
+
def client_key=(_); end
|
165
|
+
def max_version; end
|
166
|
+
def max_version=(_); end
|
167
|
+
def min_version; end
|
168
|
+
def min_version=(_); end
|
169
|
+
def private_key; end
|
170
|
+
def private_key=(_); end
|
171
|
+
def self.[](*arg0); end
|
172
|
+
def self.inspect; end
|
173
|
+
def self.members; end
|
174
|
+
def self.new(*arg0); end
|
175
|
+
def verify; end
|
176
|
+
def verify=(_); end
|
177
|
+
def verify_depth; end
|
178
|
+
def verify_depth=(_); end
|
179
|
+
def verify_mode; end
|
180
|
+
def verify_mode=(_); end
|
181
|
+
def version; end
|
182
|
+
def version=(_); end
|
183
|
+
end
|
184
|
+
class Faraday::SSLOptions < Anonymous_Faraday_Options_4
|
185
|
+
def disable?; end
|
186
|
+
def verify?; end
|
187
|
+
end
|
188
|
+
class Anonymous_Faraday_Options_5 < Faraday::Options
|
189
|
+
def password; end
|
190
|
+
def password=(_); end
|
191
|
+
def self.[](*arg0); end
|
192
|
+
def self.inspect; end
|
193
|
+
def self.members; end
|
194
|
+
def self.new(*arg0); end
|
195
|
+
def uri; end
|
196
|
+
def uri=(_); end
|
197
|
+
def user; end
|
198
|
+
def user=(_); end
|
199
|
+
end
|
200
|
+
class Faraday::ProxyOptions < Anonymous_Faraday_Options_5
|
201
|
+
def host(*args, &block); end
|
202
|
+
def host=(*args, &block); end
|
203
|
+
def password; end
|
204
|
+
def path(*args, &block); end
|
205
|
+
def path=(*args, &block); end
|
206
|
+
def port(*args, &block); end
|
207
|
+
def port=(*args, &block); end
|
208
|
+
def scheme(*args, &block); end
|
209
|
+
def scheme=(*args, &block); end
|
210
|
+
def self.from(value); end
|
211
|
+
def user; end
|
212
|
+
extend Forwardable
|
213
|
+
end
|
214
|
+
class Anonymous_Faraday_Options_6 < Faraday::Options
|
215
|
+
def builder; end
|
216
|
+
def builder=(_); end
|
217
|
+
def builder_class; end
|
218
|
+
def builder_class=(_); end
|
219
|
+
def headers; end
|
220
|
+
def headers=(_); end
|
221
|
+
def parallel_manager; end
|
222
|
+
def parallel_manager=(_); end
|
223
|
+
def params; end
|
224
|
+
def params=(_); end
|
225
|
+
def proxy; end
|
226
|
+
def proxy=(_); end
|
227
|
+
def request; end
|
228
|
+
def request=(_); end
|
229
|
+
def self.[](*arg0); end
|
230
|
+
def self.inspect; end
|
231
|
+
def self.members; end
|
232
|
+
def self.new(*arg0); end
|
233
|
+
def ssl; end
|
234
|
+
def ssl=(_); end
|
235
|
+
def url; end
|
236
|
+
def url=(_); end
|
237
|
+
end
|
238
|
+
class Faraday::ConnectionOptions < Anonymous_Faraday_Options_6
|
239
|
+
def builder_class; end
|
240
|
+
def new_builder(block); end
|
241
|
+
def request; end
|
242
|
+
def ssl; end
|
243
|
+
end
|
244
|
+
class Anonymous_Faraday_Options_7 < Faraday::Options
|
245
|
+
def method; end
|
246
|
+
def method=(_); end
|
247
|
+
def parallel_manager; end
|
248
|
+
def parallel_manager=(_); end
|
249
|
+
def params; end
|
250
|
+
def params=(_); end
|
251
|
+
def reason_phrase; end
|
252
|
+
def reason_phrase=(_); end
|
253
|
+
def request; end
|
254
|
+
def request=(_); end
|
255
|
+
def request_body; end
|
256
|
+
def request_body=(_); end
|
257
|
+
def request_headers; end
|
258
|
+
def request_headers=(_); end
|
259
|
+
def response; end
|
260
|
+
def response=(_); end
|
261
|
+
def response_body; end
|
262
|
+
def response_body=(_); end
|
263
|
+
def response_headers; end
|
264
|
+
def response_headers=(_); end
|
265
|
+
def self.[](*arg0); end
|
266
|
+
def self.inspect; end
|
267
|
+
def self.members; end
|
268
|
+
def self.new(*arg0); end
|
269
|
+
def ssl; end
|
270
|
+
def ssl=(_); end
|
271
|
+
def status; end
|
272
|
+
def status=(_); end
|
273
|
+
def url; end
|
274
|
+
def url=(_); end
|
275
|
+
end
|
276
|
+
class Faraday::Env < Anonymous_Faraday_Options_7
|
277
|
+
def [](key); end
|
278
|
+
def []=(key, value); end
|
279
|
+
def body; end
|
280
|
+
def body=(value); end
|
281
|
+
def clear_body; end
|
282
|
+
def current_body; end
|
283
|
+
def custom_members; end
|
284
|
+
def in_member_set?(key); end
|
285
|
+
def inspect; end
|
286
|
+
def needs_body?; end
|
287
|
+
def parallel?; end
|
288
|
+
def params_encoder(*args, &block); end
|
289
|
+
def parse_body?; end
|
290
|
+
def self.from(value); end
|
291
|
+
def self.member_set; end
|
292
|
+
def success?; end
|
293
|
+
extend Forwardable
|
294
|
+
end
|
295
|
+
class Faraday::Options < Struct
|
296
|
+
def [](key); end
|
297
|
+
def clear; end
|
298
|
+
def deep_dup; end
|
299
|
+
def delete(key); end
|
300
|
+
def each; end
|
301
|
+
def each_key(&block); end
|
302
|
+
def each_value(&block); end
|
303
|
+
def empty?; end
|
304
|
+
def fetch(key, *args); end
|
305
|
+
def has_key?(key); end
|
306
|
+
def has_value?(value); end
|
307
|
+
def inspect; end
|
308
|
+
def key?(key); end
|
309
|
+
def keys; end
|
310
|
+
def merge!(other); end
|
311
|
+
def merge(other); end
|
312
|
+
def self.attribute_options; end
|
313
|
+
def self.fetch_error_class; end
|
314
|
+
def self.from(value); end
|
315
|
+
def self.inherited(subclass); end
|
316
|
+
def self.memoized(key, &block); end
|
317
|
+
def self.memoized_attributes; end
|
318
|
+
def self.options(mapping); end
|
319
|
+
def self.options_for(key); end
|
320
|
+
def symbolized_key_set; end
|
321
|
+
def to_hash; end
|
322
|
+
def update(obj); end
|
323
|
+
def value?(value); end
|
324
|
+
def values_at(*keys); end
|
325
|
+
end
|
326
|
+
class Faraday::Connection
|
327
|
+
def adapter(*args, &block); end
|
328
|
+
def app(*args, &block); end
|
329
|
+
def authorization(type, token); end
|
330
|
+
def basic_auth(login, pass); end
|
331
|
+
def build(*args, &block); end
|
332
|
+
def build_exclusive_url(url = nil, params = nil, params_encoder = nil); end
|
333
|
+
def build_request(method); end
|
334
|
+
def build_url(url = nil, extra_params = nil); end
|
335
|
+
def builder; end
|
336
|
+
def close; end
|
337
|
+
def default_parallel_manager; end
|
338
|
+
def default_parallel_manager=(arg0); end
|
339
|
+
def delete(url = nil, params = nil, headers = nil); end
|
340
|
+
def dup; end
|
341
|
+
def find_default_proxy; end
|
342
|
+
def get(url = nil, params = nil, headers = nil); end
|
343
|
+
def head(url = nil, params = nil, headers = nil); end
|
344
|
+
def headers; end
|
345
|
+
def headers=(hash); end
|
346
|
+
def host(*args, &block); end
|
347
|
+
def host=(*args, &block); end
|
348
|
+
def in_parallel(manager = nil); end
|
349
|
+
def in_parallel?; end
|
350
|
+
def initialize(url = nil, options = nil); end
|
351
|
+
def initialize_proxy(url, options); end
|
352
|
+
def options(*args); end
|
353
|
+
def parallel_manager; end
|
354
|
+
def params; end
|
355
|
+
def params=(hash); end
|
356
|
+
def patch(url = nil, body = nil, headers = nil, &block); end
|
357
|
+
def path_prefix(*args, &block); end
|
358
|
+
def path_prefix=(value); end
|
359
|
+
def port(*args, &block); end
|
360
|
+
def port=(*args, &block); end
|
361
|
+
def post(url = nil, body = nil, headers = nil, &block); end
|
362
|
+
def proxy; end
|
363
|
+
def proxy=(new_value); end
|
364
|
+
def proxy_for_request(url); end
|
365
|
+
def proxy_from_env(url); end
|
366
|
+
def put(url = nil, body = nil, headers = nil, &block); end
|
367
|
+
def request(*args, &block); end
|
368
|
+
def response(*args, &block); end
|
369
|
+
def run_request(method, url, body, headers); end
|
370
|
+
def scheme(*args, &block); end
|
371
|
+
def scheme=(*args, &block); end
|
372
|
+
def set_authorization_header(header_type, *args); end
|
373
|
+
def ssl; end
|
374
|
+
def support_parallel?(adapter); end
|
375
|
+
def token_auth(token, options = nil); end
|
376
|
+
def trace(url = nil, params = nil, headers = nil); end
|
377
|
+
def url_prefix; end
|
378
|
+
def url_prefix=(url, encoder = nil); end
|
379
|
+
def use(*args, &block); end
|
380
|
+
def with_uri_credentials(uri); end
|
381
|
+
extend Forwardable
|
382
|
+
end
|
383
|
+
class Faraday::AdapterRegistry
|
384
|
+
def get(name); end
|
385
|
+
def initialize; end
|
386
|
+
def set(klass, name = nil); end
|
387
|
+
end
|
388
|
+
class Faraday::RackBuilder
|
389
|
+
def ==(other); end
|
390
|
+
def [](idx); end
|
391
|
+
def adapter(klass = nil, *args, &block); end
|
392
|
+
def adapter_set?; end
|
393
|
+
def app; end
|
394
|
+
def assert_index(index); end
|
395
|
+
def build(options = nil); end
|
396
|
+
def build_env(connection, request); end
|
397
|
+
def build_response(connection, request); end
|
398
|
+
def delete(handler); end
|
399
|
+
def dup; end
|
400
|
+
def handlers; end
|
401
|
+
def handlers=(arg0); end
|
402
|
+
def initialize(handlers = nil, adapter = nil, &block); end
|
403
|
+
def insert(index, *args, &block); end
|
404
|
+
def insert_after(index, *args, &block); end
|
405
|
+
def insert_before(index, *args, &block); end
|
406
|
+
def is_adapter?(klass); end
|
407
|
+
def lock!; end
|
408
|
+
def locked?; end
|
409
|
+
def raise_if_adapter(klass); end
|
410
|
+
def raise_if_locked; end
|
411
|
+
def request(key, *args, &block); end
|
412
|
+
def response(key, *args, &block); end
|
413
|
+
def swap(index, *args, &block); end
|
414
|
+
def to_app; end
|
415
|
+
def use(klass, *args, &block); end
|
416
|
+
def use_symbol(mod, key, *args, &block); end
|
417
|
+
end
|
418
|
+
class Faraday::RackBuilder::StackLocked < RuntimeError
|
419
|
+
end
|
420
|
+
class Faraday::RackBuilder::Handler
|
421
|
+
def ==(other); end
|
422
|
+
def build(app = nil); end
|
423
|
+
def initialize(klass, *args, &block); end
|
424
|
+
def inspect; end
|
425
|
+
def klass; end
|
426
|
+
def name; end
|
427
|
+
end
|
428
|
+
module Faraday::EncodeMethods
|
429
|
+
def encode(params); end
|
430
|
+
def encode_array(parent, value); end
|
431
|
+
def encode_hash(parent, value); end
|
432
|
+
def encode_pair(parent, value); end
|
433
|
+
end
|
434
|
+
module Faraday::DecodeMethods
|
435
|
+
def add_to_context(is_array, context, value, subkey); end
|
436
|
+
def decode(query); end
|
437
|
+
def decode_pair(key, value, context); end
|
438
|
+
def dehash(hash, depth); end
|
439
|
+
def match_context(context, subkey); end
|
440
|
+
def new_context(subkey, is_array, context); end
|
441
|
+
def prepare_context(context, subkey, is_array, last_subkey); end
|
442
|
+
end
|
443
|
+
module Faraday::NestedParamsEncoder
|
444
|
+
def self.escape(*args, &block); end
|
445
|
+
def self.sort_params; end
|
446
|
+
def self.sort_params=(arg0); end
|
447
|
+
def self.unescape(*args, &block); end
|
448
|
+
extend Faraday::DecodeMethods
|
449
|
+
extend Faraday::EncodeMethods
|
450
|
+
end
|
451
|
+
module Faraday::FlatParamsEncoder
|
452
|
+
def self.decode(query); end
|
453
|
+
def self.encode(params); end
|
454
|
+
def self.escape(*args, &block); end
|
455
|
+
def self.sort_params; end
|
456
|
+
def self.sort_params=(arg0); end
|
457
|
+
def self.unescape(*args, &block); end
|
458
|
+
end
|
459
|
+
class Faraday::Middleware
|
460
|
+
def close; end
|
461
|
+
def initialize(app = nil); end
|
462
|
+
extend Faraday::DependencyLoader
|
463
|
+
extend Faraday::MiddlewareRegistry
|
464
|
+
end
|
465
|
+
class Faraday::Adapter
|
466
|
+
def call(env); end
|
467
|
+
def close; end
|
468
|
+
def connection(env); end
|
469
|
+
def initialize(_app = nil, opts = nil, &block); end
|
470
|
+
def request_timeout(type, options); end
|
471
|
+
def save_response(env, status, body, headers = nil, reason_phrase = nil); end
|
472
|
+
extend Faraday::Adapter::Parallelism
|
473
|
+
extend Faraday::AutoloadHelper
|
474
|
+
extend Faraday::DependencyLoader
|
475
|
+
extend Faraday::MiddlewareRegistry
|
476
|
+
end
|
477
|
+
module Faraday::Adapter::Parallelism
|
478
|
+
def inherited(subclass); end
|
479
|
+
def supports_parallel=(arg0); end
|
480
|
+
def supports_parallel?; end
|
481
|
+
end
|
482
|
+
class Anonymous_Struct_8 < Struct
|
483
|
+
def body; end
|
484
|
+
def body=(_); end
|
485
|
+
def headers; end
|
486
|
+
def headers=(_); end
|
487
|
+
def http_method; end
|
488
|
+
def http_method=(_); end
|
489
|
+
def options; end
|
490
|
+
def options=(_); end
|
491
|
+
def params; end
|
492
|
+
def params=(_); end
|
493
|
+
def path; end
|
494
|
+
def path=(_); end
|
495
|
+
def self.[](*arg0); end
|
496
|
+
def self.inspect; end
|
497
|
+
def self.members; end
|
498
|
+
def self.new(*arg0); end
|
499
|
+
end
|
500
|
+
class Faraday::Request < Anonymous_Struct_8
|
501
|
+
def [](key); end
|
502
|
+
def []=(key, value); end
|
503
|
+
def headers=(hash); end
|
504
|
+
def marshal_dump; end
|
505
|
+
def marshal_load(serialised); end
|
506
|
+
def method; end
|
507
|
+
def params=(hash); end
|
508
|
+
def self.create(request_method); end
|
509
|
+
def to_env(connection); end
|
510
|
+
def url(path, params = nil); end
|
511
|
+
extend Faraday::AutoloadHelper
|
512
|
+
extend Faraday::MiddlewareRegistry
|
513
|
+
end
|
514
|
+
class Faraday::Response
|
515
|
+
def [](*args, &block); end
|
516
|
+
def apply_request(request_env); end
|
517
|
+
def body; end
|
518
|
+
def env; end
|
519
|
+
def finish(env); end
|
520
|
+
def finished?; end
|
521
|
+
def headers; end
|
522
|
+
def initialize(env = nil); end
|
523
|
+
def marshal_dump; end
|
524
|
+
def marshal_load(env); end
|
525
|
+
def on_complete(&block); end
|
526
|
+
def reason_phrase; end
|
527
|
+
def status; end
|
528
|
+
def success?; end
|
529
|
+
def to_hash; end
|
530
|
+
extend Faraday::AutoloadHelper
|
531
|
+
extend Faraday::MiddlewareRegistry
|
532
|
+
extend Forwardable
|
533
|
+
end
|
534
|
+
class Faraday::Response::Middleware < Faraday::Middleware
|
535
|
+
def call(env); end
|
536
|
+
def on_complete(env); end
|
537
|
+
end
|
538
|
+
class Faraday::Error < StandardError
|
539
|
+
def backtrace; end
|
540
|
+
def exc_msg_and_response!(exc, response = nil); end
|
541
|
+
def exc_msg_and_response(exc, response = nil); end
|
542
|
+
def initialize(exc, response = nil); end
|
543
|
+
def inspect; end
|
544
|
+
def response; end
|
545
|
+
def wrapped_exception; end
|
546
|
+
end
|
547
|
+
class Faraday::ClientError < Faraday::Error
|
548
|
+
end
|
549
|
+
class Faraday::BadRequestError < Faraday::ClientError
|
550
|
+
end
|
551
|
+
class Faraday::UnauthorizedError < Faraday::ClientError
|
552
|
+
end
|
553
|
+
class Faraday::ForbiddenError < Faraday::ClientError
|
554
|
+
end
|
555
|
+
class Faraday::ResourceNotFound < Faraday::ClientError
|
556
|
+
end
|
557
|
+
class Faraday::ProxyAuthError < Faraday::ClientError
|
558
|
+
end
|
559
|
+
class Faraday::ConflictError < Faraday::ClientError
|
560
|
+
end
|
561
|
+
class Faraday::UnprocessableEntityError < Faraday::ClientError
|
562
|
+
end
|
563
|
+
class Faraday::ServerError < Faraday::Error
|
564
|
+
end
|
565
|
+
class Faraday::TimeoutError < Faraday::ServerError
|
566
|
+
def initialize(exc = nil, response = nil); end
|
567
|
+
end
|
568
|
+
class Faraday::NilStatusError < Faraday::ServerError
|
569
|
+
def initialize(exc, response = nil); end
|
570
|
+
end
|
571
|
+
class Faraday::ConnectionFailed < Faraday::Error
|
572
|
+
end
|
573
|
+
class Faraday::SSLError < Faraday::Error
|
574
|
+
end
|
575
|
+
class Faraday::ParsingError < Faraday::Error
|
576
|
+
end
|
577
|
+
class Faraday::RetriableResponse < Faraday::Error
|
578
|
+
end
|
579
|
+
class Faraday::CompositeReadIO
|
580
|
+
def advance_io; end
|
581
|
+
def close; end
|
582
|
+
def current_io; end
|
583
|
+
def ensure_open_and_readable; end
|
584
|
+
def initialize(*parts); end
|
585
|
+
def length; end
|
586
|
+
def read(length = nil, outbuf = nil); end
|
587
|
+
def rewind; end
|
588
|
+
end
|
589
|
+
class Faraday::ParamPart
|
590
|
+
def content_id; end
|
591
|
+
def content_type; end
|
592
|
+
def headers; end
|
593
|
+
def initialize(value, content_type, content_id = nil); end
|
594
|
+
def to_part(boundary, key); end
|
595
|
+
def value; end
|
596
|
+
end
|
597
|
+
module Faraday::AutoloadHelper
|
598
|
+
def all_loaded_constants; end
|
599
|
+
def autoload_all(prefix, options); end
|
600
|
+
def load_autoloaded_constants; end
|
601
|
+
end
|
602
|
+
class Faraday::Request::UrlEncoded < Faraday::Middleware
|
603
|
+
def call(env); end
|
604
|
+
def match_content_type(env); end
|
605
|
+
def process_request?(env); end
|
606
|
+
def request_type(env); end
|
607
|
+
def self.mime_type; end
|
608
|
+
def self.mime_type=(arg0); end
|
609
|
+
end
|
610
|
+
class Faraday::Request::Multipart < Faraday::Request::UrlEncoded
|
611
|
+
def call(env); end
|
612
|
+
def create_multipart(env, params); end
|
613
|
+
def has_multipart?(obj); end
|
614
|
+
def initialize(app = nil, options = nil); end
|
615
|
+
def part(boundary, key, value); end
|
616
|
+
def process_params(params, prefix = nil, pieces = nil, &block); end
|
617
|
+
def process_request?(env); end
|
618
|
+
def unique_boundary; end
|
619
|
+
end
|
620
|
+
class Faraday::Response::RaiseError < Faraday::Response::Middleware
|
621
|
+
def on_complete(env); end
|
622
|
+
def response_values(env); end
|
623
|
+
end
|