ledger_tiller_export 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +91 -0
- data/LICENSE.txt +21 -0
- data/README.md +162 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/ledger_tiller_export.gemspec +32 -0
- data/lib/ledger_tiller_export.rb +180 -0
- data/lib/ledger_tiller_export/version.rb +4 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/addressable.rbi +199 -0
- data/sorbet/rbi/gems/declarative-option.rbi +24 -0
- data/sorbet/rbi/gems/declarative.rbi +75 -0
- data/sorbet/rbi/gems/faraday.rbi +316 -0
- data/sorbet/rbi/gems/google-api-client.rbi +4822 -0
- data/sorbet/rbi/gems/google_drive.rbi +360 -0
- data/sorbet/rbi/gems/googleauth.rbi +172 -0
- data/sorbet/rbi/gems/httpclient.rbi +810 -0
- data/sorbet/rbi/gems/jwt.rbi +68 -0
- data/sorbet/rbi/gems/ledger_gen.rbi +39 -0
- data/sorbet/rbi/gems/memoist.rbi +42 -0
- data/sorbet/rbi/gems/mini_mime.rbi +52 -0
- data/sorbet/rbi/gems/multi_json.rbi +62 -0
- data/sorbet/rbi/gems/multipart-post.rbi +53 -0
- data/sorbet/rbi/gems/nokogiri.rbi +1007 -0
- data/sorbet/rbi/gems/os.rbi +46 -0
- data/sorbet/rbi/gems/public_suffix.rbi +18 -0
- data/sorbet/rbi/gems/rake.rbi +636 -0
- data/sorbet/rbi/gems/representable.rbi +276 -0
- data/sorbet/rbi/gems/retriable.rbi +21 -0
- data/sorbet/rbi/gems/rspec-core.rbi +194 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +859 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +192 -0
- data/sorbet/rbi/gems/rspec-support.rbi +38 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/signet.rbi +121 -0
- data/sorbet/rbi/gems/uber.rbi +26 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +6574 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +11607 -0
- data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8684 -0
- data/sorbet/rbi/sorbet-typed/lib/ruby/all/gem.rbi +4222 -0
- data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
- data/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
- metadata +190 -0
@@ -0,0 +1,360 @@
|
|
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/google_drive/all/google_drive.rbi
|
9
|
+
#
|
10
|
+
# google_drive-3.0.4
|
11
|
+
|
12
|
+
module GoogleDrive
|
13
|
+
def self.login_with_oauth(client_or_access_token, proxy = nil); end
|
14
|
+
def self.saved_session(config = nil, proxy = nil, client_id = nil, client_secret = nil); end
|
15
|
+
end
|
16
|
+
module GoogleDrive::Util
|
17
|
+
def concat_url(url, piece); end
|
18
|
+
def construct_and_query(args); end
|
19
|
+
def construct_query(arg); end
|
20
|
+
def convert_params(params); end
|
21
|
+
def delegate_api_methods(obj, api_obj, exceptions = nil); end
|
22
|
+
def encode_query(params); end
|
23
|
+
def get_singleton_class(obj); end
|
24
|
+
def h(str); end
|
25
|
+
def self.concat_url(url, piece); end
|
26
|
+
def self.construct_and_query(args); end
|
27
|
+
def self.construct_query(arg); end
|
28
|
+
def self.convert_params(params); end
|
29
|
+
def self.delegate_api_methods(obj, api_obj, exceptions = nil); end
|
30
|
+
def self.encode_query(params); end
|
31
|
+
def self.get_singleton_class(obj); end
|
32
|
+
def self.h(str); end
|
33
|
+
end
|
34
|
+
class GoogleDrive::ApiClientFetcher
|
35
|
+
def drive; end
|
36
|
+
def initialize(authorization, client_options, request_options); end
|
37
|
+
def request_raw(method, url, data, extra_header, _auth); end
|
38
|
+
def sheets; end
|
39
|
+
end
|
40
|
+
class GoogleDrive::ApiClientFetcher::Response
|
41
|
+
def body; end
|
42
|
+
def code; end
|
43
|
+
def initialize(code, body); end
|
44
|
+
end
|
45
|
+
class GoogleDrive::Error < RuntimeError
|
46
|
+
end
|
47
|
+
class GoogleDrive::ResponseCodeError < GoogleDrive::Error
|
48
|
+
def body; end
|
49
|
+
def code; end
|
50
|
+
def initialize(code, body, method, url); end
|
51
|
+
end
|
52
|
+
class GoogleDrive::AuthenticationError < GoogleDrive::ResponseCodeError
|
53
|
+
end
|
54
|
+
class GoogleDrive::ListRow
|
55
|
+
def ==(other); end
|
56
|
+
def ===(other); end
|
57
|
+
def [](key); end
|
58
|
+
def []=(key, value); end
|
59
|
+
def assoc(*args, &block); end
|
60
|
+
def clear; end
|
61
|
+
def each(*args, &block); end
|
62
|
+
def each_key(*args, &block); end
|
63
|
+
def each_pair(*args, &block); end
|
64
|
+
def each_value(*args, &block); end
|
65
|
+
def eql?(other); end
|
66
|
+
def fetch(*args, &block); end
|
67
|
+
def flatten(*args, &block); end
|
68
|
+
def has_key?(key); end
|
69
|
+
def hash(*args, &block); end
|
70
|
+
def include?(key); end
|
71
|
+
def initialize(list, index); end
|
72
|
+
def input_value(key); end
|
73
|
+
def inspect; end
|
74
|
+
def invert(*args, &block); end
|
75
|
+
def key(*args, &block); end
|
76
|
+
def key?(key); end
|
77
|
+
def keys(*args, &block); end
|
78
|
+
def length(*args, &block); end
|
79
|
+
def member?(key); end
|
80
|
+
def merge!(hash); end
|
81
|
+
def merge(*args, &block); end
|
82
|
+
def numeric_value(key); end
|
83
|
+
def rassoc(*args, &block); end
|
84
|
+
def reject(*args, &block); end
|
85
|
+
def replace(hash); end
|
86
|
+
def select(*args, &block); end
|
87
|
+
def size(*args, &block); end
|
88
|
+
def sort(*args, &block); end
|
89
|
+
def to_a(*args, &block); end
|
90
|
+
def to_hash; end
|
91
|
+
def update(hash); end
|
92
|
+
def values(*args, &block); end
|
93
|
+
def values_at(*args, &block); end
|
94
|
+
extend Forwardable
|
95
|
+
include Enumerable
|
96
|
+
end
|
97
|
+
class GoogleDrive::List
|
98
|
+
def [](index); end
|
99
|
+
def []=(index, hash); end
|
100
|
+
def each(&_block); end
|
101
|
+
def get(index, key); end
|
102
|
+
def initialize(worksheet); end
|
103
|
+
def input_value(index, key); end
|
104
|
+
def key_to_col(key); end
|
105
|
+
def keys; end
|
106
|
+
def keys=(ary); end
|
107
|
+
def numeric_value(index, key); end
|
108
|
+
def push(hash); end
|
109
|
+
def set(index, key, value); end
|
110
|
+
def size; end
|
111
|
+
def to_hash_array; end
|
112
|
+
include Enumerable
|
113
|
+
end
|
114
|
+
class GoogleDrive::Worksheet
|
115
|
+
def [](*args); end
|
116
|
+
def []=(*args); end
|
117
|
+
def add_request(request); end
|
118
|
+
def cell_name_to_row_col(cell_name); end
|
119
|
+
def cells; end
|
120
|
+
def cells_feed_url; end
|
121
|
+
def copy_to(spreadsheet_or_id); end
|
122
|
+
def csv_export_url; end
|
123
|
+
def delete; end
|
124
|
+
def delete_rows(row_num, rows); end
|
125
|
+
def dirty?; end
|
126
|
+
def duplicate; end
|
127
|
+
def export_as_file(path); end
|
128
|
+
def export_as_string; end
|
129
|
+
def extended_value_to_str(extended_value); end
|
130
|
+
def format_cells(top_row, left_col, num_rows, num_cols, format, fields); end
|
131
|
+
def gid; end
|
132
|
+
def human_url; end
|
133
|
+
def index; end
|
134
|
+
def index=(index); end
|
135
|
+
def initialize(session, spreadsheet, properties); end
|
136
|
+
def input_value(*args); end
|
137
|
+
def insert_rows(row_num, rows); end
|
138
|
+
def inspect; end
|
139
|
+
def list; end
|
140
|
+
def list_feed_url; end
|
141
|
+
def max_cols; end
|
142
|
+
def max_cols=(cols); end
|
143
|
+
def max_rows; end
|
144
|
+
def max_rows=(rows); end
|
145
|
+
def merge_cells(top_row, left_col, num_rows, num_cols, merge_type: nil); end
|
146
|
+
def num_cols; end
|
147
|
+
def num_rows; end
|
148
|
+
def numeric_value(*args); end
|
149
|
+
def parse_cell_args(args); end
|
150
|
+
def properties; end
|
151
|
+
def reload; end
|
152
|
+
def reload_cells; end
|
153
|
+
def rows(skip = nil); end
|
154
|
+
def save; end
|
155
|
+
def set_background_color(top_row, left_col, num_rows, num_cols, background_color); end
|
156
|
+
def set_number_format(top_row, left_col, num_rows, num_cols, pattern, type: nil); end
|
157
|
+
def set_properties(properties); end
|
158
|
+
def set_text_alignment(top_row, left_col, num_rows, num_cols, horizontal: nil, vertical: nil); end
|
159
|
+
def set_text_format(top_row, left_col, num_rows, num_cols, bold: nil, italic: nil, strikethrough: nil, font_size: nil, font_family: nil, foreground_color: nil); end
|
160
|
+
def sheet_id; end
|
161
|
+
def spreadsheet; end
|
162
|
+
def synchronize; end
|
163
|
+
def title; end
|
164
|
+
def title=(title); end
|
165
|
+
def update_borders(top_row, left_col, num_rows, num_cols, borders); end
|
166
|
+
def update_cells(top_row, left_col, darray); end
|
167
|
+
def update_cells_from_api_sheet(api_sheet); end
|
168
|
+
def updated; end
|
169
|
+
def v4_range_object(top_row, left_col, num_rows, num_cols); end
|
170
|
+
def validate_cell_value(value); end
|
171
|
+
def worksheet_feed_entry; end
|
172
|
+
def worksheet_feed_id; end
|
173
|
+
def worksheet_feed_url; end
|
174
|
+
include GoogleDrive::Util
|
175
|
+
end
|
176
|
+
module GoogleDrive::Worksheet::Colors
|
177
|
+
end
|
178
|
+
class GoogleDrive::AclEntry
|
179
|
+
def acl; end
|
180
|
+
def additional_roles; end
|
181
|
+
def allow_file_discovery; end
|
182
|
+
def api_permission; end
|
183
|
+
def api_permission=(arg0); end
|
184
|
+
def convert_params(orig_params); end
|
185
|
+
def domain; end
|
186
|
+
def email_address; end
|
187
|
+
def id; end
|
188
|
+
def initialize(params_or_api_permission, acl = nil); end
|
189
|
+
def inspect; end
|
190
|
+
def params; end
|
191
|
+
def role; end
|
192
|
+
def role=(role); end
|
193
|
+
def scope; end
|
194
|
+
def scope_type; end
|
195
|
+
def type; end
|
196
|
+
def value; end
|
197
|
+
def with_key; end
|
198
|
+
def with_link; end
|
199
|
+
include GoogleDrive::Util
|
200
|
+
end
|
201
|
+
class GoogleDrive::Acl
|
202
|
+
def [](*args, &block); end
|
203
|
+
def delete(entry); end
|
204
|
+
def each(*args, &block); end
|
205
|
+
def initialize(session, file); end
|
206
|
+
def inspect; end
|
207
|
+
def push(params_or_entry, options = nil); end
|
208
|
+
def size(*args, &block); end
|
209
|
+
def update_role(entry); end
|
210
|
+
extend Forwardable
|
211
|
+
include Enumerable
|
212
|
+
include GoogleDrive::Util
|
213
|
+
end
|
214
|
+
class GoogleDrive::File
|
215
|
+
def acl(params = nil); end
|
216
|
+
def acl_feed_url; end
|
217
|
+
def api_file; end
|
218
|
+
def available_content_types; end
|
219
|
+
def copy(title, file_properties = nil); end
|
220
|
+
def delete(permanent = nil); end
|
221
|
+
def document_feed_url; end
|
222
|
+
def download_to_file(path, params = nil); end
|
223
|
+
def download_to_io(io, params = nil); end
|
224
|
+
def download_to_string(params = nil); end
|
225
|
+
def duplicate(title, file_properties = nil); end
|
226
|
+
def export_as_file(path, format = nil); end
|
227
|
+
def export_as_string(format); end
|
228
|
+
def export_to_dest(dest, format); end
|
229
|
+
def export_to_io(io, format); end
|
230
|
+
def human_url; end
|
231
|
+
def initialize(session, api_file); end
|
232
|
+
def inspect; end
|
233
|
+
def name(params = nil); end
|
234
|
+
def reload_metadata; end
|
235
|
+
def rename(title); end
|
236
|
+
def resource_id; end
|
237
|
+
def resource_type; end
|
238
|
+
def title(params = nil); end
|
239
|
+
def title=(title); end
|
240
|
+
def update_from_file(path, params = nil); end
|
241
|
+
def update_from_io(io, params = nil); end
|
242
|
+
def update_from_string(content, params = nil); end
|
243
|
+
extend Forwardable
|
244
|
+
include GoogleDrive::Util
|
245
|
+
end
|
246
|
+
class GoogleDrive::Spreadsheet < GoogleDrive::File
|
247
|
+
def add_worksheet(title, max_rows = nil, max_cols = nil, index: nil); end
|
248
|
+
def batch_update(requests); end
|
249
|
+
def document_feed_url; end
|
250
|
+
def download_to_file(_path, _params = nil); end
|
251
|
+
def download_to_io(_io, _params = nil); end
|
252
|
+
def download_to_string(_params = nil); end
|
253
|
+
def key; end
|
254
|
+
def spreadsheet_feed_url; end
|
255
|
+
def worksheet_by_gid(sheet_id); end
|
256
|
+
def worksheet_by_sheet_id(sheet_id); end
|
257
|
+
def worksheet_by_title(title); end
|
258
|
+
def worksheets; end
|
259
|
+
def worksheets_feed_url; end
|
260
|
+
include GoogleDrive::Util
|
261
|
+
end
|
262
|
+
class GoogleDrive::Collection < GoogleDrive::File
|
263
|
+
def add(file); end
|
264
|
+
def collection_feed_url; end
|
265
|
+
def contents(params = nil, &block); end
|
266
|
+
def contents_url; end
|
267
|
+
def create_file(title, file_properties = nil); end
|
268
|
+
def create_spreadsheet(title, file_properties = nil); end
|
269
|
+
def create_subcollection(title, file_properties = nil); end
|
270
|
+
def create_subfolder(title, file_properties = nil); end
|
271
|
+
def documents(params = nil, &block); end
|
272
|
+
def file_by_name(title); end
|
273
|
+
def file_by_name_with_type(title, type); end
|
274
|
+
def file_by_title(title); end
|
275
|
+
def file_by_title_with_type(title, type); end
|
276
|
+
def files(params = nil, &block); end
|
277
|
+
def files_with_type(type, params = nil, &block); end
|
278
|
+
def remove(file); end
|
279
|
+
def root?; end
|
280
|
+
def spreadsheets(params = nil, &block); end
|
281
|
+
def subcollection_by_title(title); end
|
282
|
+
def subcollections(params = nil, &block); end
|
283
|
+
def subfolder_by_name(title); end
|
284
|
+
def subfolders(params = nil, &block); end
|
285
|
+
def upload_from_file(path, title = nil, params = nil); end
|
286
|
+
def upload_from_io(io, title = nil, params = nil); end
|
287
|
+
def upload_from_string(content, title = nil, params = nil); end
|
288
|
+
include GoogleDrive::Util
|
289
|
+
end
|
290
|
+
class GoogleDrive::Config
|
291
|
+
def client_id; end
|
292
|
+
def client_id=(arg0); end
|
293
|
+
def client_secret; end
|
294
|
+
def client_secret=(arg0); end
|
295
|
+
def initialize(config_path); end
|
296
|
+
def refresh_token; end
|
297
|
+
def refresh_token=(arg0); end
|
298
|
+
def save; end
|
299
|
+
def scope; end
|
300
|
+
def scope=(arg0); end
|
301
|
+
def to_json; end
|
302
|
+
def type; end
|
303
|
+
def type=(arg0); end
|
304
|
+
end
|
305
|
+
class GoogleDrive::AccessTokenCredentials
|
306
|
+
def access_token; end
|
307
|
+
def apply!(headers); end
|
308
|
+
def initialize(access_token); end
|
309
|
+
end
|
310
|
+
class GoogleDrive::Session
|
311
|
+
def collection_by_id(id); end
|
312
|
+
def collection_by_title(title); end
|
313
|
+
def collection_by_url(url); end
|
314
|
+
def collections(params = nil, &block); end
|
315
|
+
def convert_response(response, response_type); end
|
316
|
+
def create_collection(title, file_properties = nil); end
|
317
|
+
def create_file(title, file_properties = nil); end
|
318
|
+
def create_folder(title, file_properties = nil); end
|
319
|
+
def create_spreadsheet(title = nil, file_properties = nil); end
|
320
|
+
def drive; end
|
321
|
+
def drive_service; end
|
322
|
+
def execute_paged!(opts, &block); end
|
323
|
+
def file_by_id(id); end
|
324
|
+
def file_by_name(title); end
|
325
|
+
def file_by_title(title); end
|
326
|
+
def file_by_url(url); end
|
327
|
+
def files(params = nil, &block); end
|
328
|
+
def folder_by_id(id); end
|
329
|
+
def folder_by_url(url); end
|
330
|
+
def folders(params = nil, &block); end
|
331
|
+
def folders_by_name(title); end
|
332
|
+
def initialize(credentials_or_access_token, proxy = nil, client_options = nil, request_options = nil); end
|
333
|
+
def inspect; end
|
334
|
+
def on_auth_fail; end
|
335
|
+
def on_auth_fail=(arg0); end
|
336
|
+
def request(method, url, params = nil); end
|
337
|
+
def root_collection; end
|
338
|
+
def root_folder; end
|
339
|
+
def self.from_access_token(access_token, client_options = nil, request_options = nil); end
|
340
|
+
def self.from_config(config, options = nil); end
|
341
|
+
def self.from_credentials(credentials, client_options = nil, request_options = nil); end
|
342
|
+
def self.from_service_account_key(json_key_path_or_io, scope = nil, client_options = nil, request_options = nil); end
|
343
|
+
def self.login_with_oauth(credentials_or_access_token, proxy = nil); end
|
344
|
+
def self.new_dummy; end
|
345
|
+
def sheets_service; end
|
346
|
+
def spreadsheet_by_key(key); end
|
347
|
+
def spreadsheet_by_name(title); end
|
348
|
+
def spreadsheet_by_title(title); end
|
349
|
+
def spreadsheet_by_url(url); end
|
350
|
+
def spreadsheets(params = nil, &block); end
|
351
|
+
def upload_from_file(path, title = nil, params = nil); end
|
352
|
+
def upload_from_io(io, title = nil, params = nil); end
|
353
|
+
def upload_from_source(source, title, params = nil); end
|
354
|
+
def upload_from_string(content, title = nil, params = nil); end
|
355
|
+
def url_to_id(url); end
|
356
|
+
def worksheet_by_url(url); end
|
357
|
+
def wrap_api_file(api_file); end
|
358
|
+
extend GoogleDrive::Util
|
359
|
+
include GoogleDrive::Util
|
360
|
+
end
|
@@ -0,0 +1,172 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: strict
|
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/googleauth/all/googleauth.rbi
|
9
|
+
#
|
10
|
+
# googleauth-0.12.0
|
11
|
+
|
12
|
+
module Signet
|
13
|
+
end
|
14
|
+
module Signet::OAuth2
|
15
|
+
end
|
16
|
+
class Signet::OAuth2::Client
|
17
|
+
def apply!(a_hash, opts = nil); end
|
18
|
+
def apply(a_hash, opts = nil); end
|
19
|
+
def build_default_connection; end
|
20
|
+
def configure_connection(options); end
|
21
|
+
def notify_refresh_listeners; end
|
22
|
+
def on_refresh(&block); end
|
23
|
+
def orig_fetch_access_token!(options = nil); end
|
24
|
+
def retry_with_error(max_retry_count = nil); end
|
25
|
+
def updater_proc; end
|
26
|
+
end
|
27
|
+
module Google
|
28
|
+
end
|
29
|
+
module Google::Auth
|
30
|
+
def get_application_default(scope = nil, options = nil); end
|
31
|
+
def self.get_application_default(scope = nil, options = nil); end
|
32
|
+
end
|
33
|
+
class Google::Auth::GCECredentials < Signet::OAuth2::Client
|
34
|
+
def fetch_access_token(options = nil); end
|
35
|
+
def self._unmemoized_on_gce?(options = nil); end
|
36
|
+
def self.on_gce?(*args); end
|
37
|
+
end
|
38
|
+
module Google::Auth::CredentialsLoader
|
39
|
+
def authorized_user_env_vars?; end
|
40
|
+
def from_env(scope = nil, options = nil); end
|
41
|
+
def from_system_default_path(scope = nil, options = nil); end
|
42
|
+
def from_well_known_path(scope = nil, options = nil); end
|
43
|
+
def interpret_options(scope, options); end
|
44
|
+
def load_gcloud_project_id; end
|
45
|
+
def make_creds(*args); end
|
46
|
+
def self.load_gcloud_project_id; end
|
47
|
+
def self.memoized_methods; end
|
48
|
+
def self.warn_if_cloud_sdk_credentials(client_id); end
|
49
|
+
def service_account_env_vars?; end
|
50
|
+
def warn_if_cloud_sdk_credentials(client_id); end
|
51
|
+
extend Memoist
|
52
|
+
end
|
53
|
+
module Google::Auth::JsonKeyReader
|
54
|
+
def read_json_key(json_key_io); end
|
55
|
+
end
|
56
|
+
class Google::Auth::ServiceAccountCredentials < Signet::OAuth2::Client
|
57
|
+
def apply!(a_hash, opts = nil); end
|
58
|
+
def initialize(options = nil); end
|
59
|
+
def project_id; end
|
60
|
+
def quota_project_id; end
|
61
|
+
def self.make_creds(options = nil); end
|
62
|
+
def self.unescape(str); end
|
63
|
+
extend Google::Auth::CredentialsLoader
|
64
|
+
extend Google::Auth::JsonKeyReader
|
65
|
+
end
|
66
|
+
class Google::Auth::ServiceAccountJwtHeaderCredentials
|
67
|
+
def apply!(a_hash, opts = nil); end
|
68
|
+
def apply(a_hash, opts = nil); end
|
69
|
+
def initialize(options = nil); end
|
70
|
+
def new_jwt_token(jwt_aud_uri, options = nil); end
|
71
|
+
def project_id; end
|
72
|
+
def quota_project_id; end
|
73
|
+
def self.make_creds(*args); end
|
74
|
+
def updater_proc; end
|
75
|
+
extend Google::Auth::CredentialsLoader
|
76
|
+
extend Google::Auth::JsonKeyReader
|
77
|
+
end
|
78
|
+
module Google::Auth::ScopeUtil
|
79
|
+
def self.as_array(scope); end
|
80
|
+
def self.normalize(scope); end
|
81
|
+
end
|
82
|
+
class Google::Auth::UserRefreshCredentials < Signet::OAuth2::Client
|
83
|
+
def includes_scope?(required_scope); end
|
84
|
+
def initialize(options = nil); end
|
85
|
+
def project_id; end
|
86
|
+
def revoke!(options = nil); end
|
87
|
+
def self.make_creds(options = nil); end
|
88
|
+
def self.read_json_key(json_key_io); end
|
89
|
+
extend Google::Auth::CredentialsLoader
|
90
|
+
end
|
91
|
+
class Google::Auth::DefaultCredentials
|
92
|
+
def self.determine_creds_class(json_key_io); end
|
93
|
+
def self.make_creds(options = nil); end
|
94
|
+
def self.read_creds; end
|
95
|
+
extend Google::Auth::CredentialsLoader
|
96
|
+
end
|
97
|
+
class Google::Auth::ClientId
|
98
|
+
def id; end
|
99
|
+
def initialize(id, secret); end
|
100
|
+
def secret; end
|
101
|
+
def self.default; end
|
102
|
+
def self.default=(arg0); end
|
103
|
+
def self.from_file(file); end
|
104
|
+
def self.from_hash(config); end
|
105
|
+
end
|
106
|
+
class Google::Auth::Credentials
|
107
|
+
def audience(*args, &block); end
|
108
|
+
def client; end
|
109
|
+
def client=(arg0); end
|
110
|
+
def client_options(options); end
|
111
|
+
def init_client(keyfile, connection_options = nil); end
|
112
|
+
def initialize(keyfile, options = nil); end
|
113
|
+
def issuer(*args, &block); end
|
114
|
+
def project_id; end
|
115
|
+
def quota_project_id; end
|
116
|
+
def scope(*args, &block); end
|
117
|
+
def self.audience; end
|
118
|
+
def self.audience=(new_audience); end
|
119
|
+
def self.default(options = nil); end
|
120
|
+
def self.env_vars; end
|
121
|
+
def self.env_vars=(new_env_vars); end
|
122
|
+
def self.from_application_default(options); end
|
123
|
+
def self.from_default_paths(options); end
|
124
|
+
def self.from_env_vars(options); end
|
125
|
+
def self.paths; end
|
126
|
+
def self.paths=(new_paths); end
|
127
|
+
def self.scope; end
|
128
|
+
def self.scope=(new_scope); end
|
129
|
+
def self.target_audience; end
|
130
|
+
def self.target_audience=(new_target_audience); end
|
131
|
+
def self.token_credential_uri; end
|
132
|
+
def self.token_credential_uri=(new_token_credential_uri); end
|
133
|
+
def signing_key(*args, &block); end
|
134
|
+
def stringify_hash_keys(hash); end
|
135
|
+
def target_audience(*args, &block); end
|
136
|
+
def token_credential_uri(*args, &block); end
|
137
|
+
def update_from_filepath(path, options); end
|
138
|
+
def update_from_hash(hash, options); end
|
139
|
+
def update_from_signet(client); end
|
140
|
+
def updater_proc(*args, &block); end
|
141
|
+
def verify_keyfile_exists!(keyfile); end
|
142
|
+
def verify_keyfile_provided!(keyfile); end
|
143
|
+
extend Forwardable
|
144
|
+
end
|
145
|
+
class Google::Auth::UserAuthorizer
|
146
|
+
def get_and_store_credentials_from_code(options = nil); end
|
147
|
+
def get_authorization_url(options = nil); end
|
148
|
+
def get_credentials(user_id, scope = nil); end
|
149
|
+
def get_credentials_from_code(options = nil); end
|
150
|
+
def initialize(client_id, scope, token_store, callback_uri = nil); end
|
151
|
+
def monitor_credentials(user_id, credentials); end
|
152
|
+
def redirect_uri_for(base_url); end
|
153
|
+
def revoke_authorization(user_id); end
|
154
|
+
def store_credentials(user_id, credentials); end
|
155
|
+
def stored_token(user_id); end
|
156
|
+
def uri_is_postmessage?(uri); end
|
157
|
+
end
|
158
|
+
class Google::Auth::WebUserAuthorizer < Google::Auth::UserAuthorizer
|
159
|
+
def get_authorization_url(options = nil); end
|
160
|
+
def get_credentials(user_id, request = nil, scope = nil); end
|
161
|
+
def handle_auth_callback(user_id, request); end
|
162
|
+
def initialize(client_id, scope, token_store, callback_uri = nil); end
|
163
|
+
def self.default; end
|
164
|
+
def self.default=(arg0); end
|
165
|
+
def self.extract_callback_state(request); end
|
166
|
+
def self.handle_auth_callback_deferred(request); end
|
167
|
+
def self.validate_callback_state(state, request); end
|
168
|
+
end
|
169
|
+
class Google::Auth::WebUserAuthorizer::CallbackApp
|
170
|
+
def call(env); end
|
171
|
+
def self.call(env); end
|
172
|
+
end
|