airtable2 0.2.1 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,375 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Exception: Airtable::Error
8
-
9
- &mdash; Documentation by YARD 0.9.37
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
-
17
- <script type="text/javascript">
18
- pathId = "Airtable::Error";
19
- relpath = '../';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div class="nav_wrap">
31
- <iframe id="nav" src="../class_list.html?1"></iframe>
32
- <div id="resizer"></div>
33
- </div>
34
-
35
- <div id="main" tabindex="-1">
36
- <div id="header">
37
- <div id="menu">
38
-
39
- <a href="../_index.html">Index (E)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../Airtable.html" title="Airtable (module)">Airtable</a></span></span>
41
- &raquo;
42
- <span class="title">Error</span>
43
-
44
- </div>
45
-
46
- <div id="search">
47
-
48
- <a class="full_list_link" id="class_list_link"
49
- href="../class_list.html">
50
-
51
- <svg width="24" height="24">
52
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
- </svg>
56
- </a>
57
-
58
- </div>
59
- <div class="clear"></div>
60
- </div>
61
-
62
- <div id="content"><h1>Exception: Airtable::Error
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
- <dl>
70
- <dt>Inherits:</dt>
71
- <dd>
72
- <span class="inheritName">StandardError</span>
73
-
74
- <ul class="fullTree">
75
- <li>Object</li>
76
-
77
- <li class="next">StandardError</li>
78
-
79
- <li class="next">Airtable::Error</li>
80
-
81
- </ul>
82
- <a href="#" class="inheritanceTree">show all</a>
83
-
84
- </dd>
85
- </dl>
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
- <dl>
98
- <dt>Defined in:</dt>
99
- <dd>lib/airtable/error.rb</dd>
100
- </dl>
101
-
102
- </div>
103
-
104
- <h2>Overview</h2><div class="docstring">
105
- <div class="discussion">
106
-
107
- <p>Error class</p>
108
-
109
-
110
- </div>
111
- </div>
112
- <div class="tags">
113
-
114
-
115
- </div>
116
-
117
-
118
-
119
- <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
120
- <ul class="summary">
121
-
122
- <li class="public ">
123
- <span class="summary_signature">
124
-
125
- <a href="#message-instance_method" title="#message (instance method)">#<strong>message</strong> &#x21d2; Object </a>
126
-
127
-
128
-
129
- </span>
130
-
131
-
132
-
133
-
134
- <span class="note title readonly">readonly</span>
135
-
136
-
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
- <span class="summary_desc"><div class='inline'>
145
- <p>Returns the value of attribute message.</p>
146
- </div></span>
147
-
148
- </li>
149
-
150
-
151
- <li class="public ">
152
- <span class="summary_signature">
153
-
154
- <a href="#type-instance_method" title="#type (instance method)">#<strong>type</strong> &#x21d2; Object </a>
155
-
156
-
157
-
158
- </span>
159
-
160
-
161
-
162
-
163
- <span class="note title readonly">readonly</span>
164
-
165
-
166
-
167
-
168
-
169
-
170
-
171
-
172
-
173
- <span class="summary_desc"><div class='inline'>
174
- <p>Returns the value of attribute type.</p>
175
- </div></span>
176
-
177
- </li>
178
-
179
-
180
- </ul>
181
-
182
-
183
-
184
-
185
-
186
- <h2>
187
- Instance Method Summary
188
- <small><a href="#" class="summary_toggle">collapse</a></small>
189
- </h2>
190
-
191
- <ul class="summary">
192
-
193
- <li class="public ">
194
- <span class="summary_signature">
195
-
196
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(error_hash) &#x21d2; Error </a>
197
-
198
-
199
-
200
- </span>
201
-
202
-
203
- <span class="note title constructor">constructor</span>
204
-
205
-
206
-
207
-
208
-
209
-
210
-
211
-
212
- <span class="summary_desc"><div class='inline'>
213
- <p>“message”=&gt;“Could not find fields foo”}.</p>
214
- </div></span>
215
-
216
- </li>
217
-
218
-
219
- </ul>
220
-
221
-
222
-
223
- <div id="constructor_details" class="method_details_list">
224
- <h2>Constructor Details</h2>
225
-
226
- <div class="method_details first">
227
- <h3 class="signature first" id="initialize-instance_method">
228
-
229
- #<strong>initialize</strong>(error_hash) &#x21d2; <tt><span class='object_link'><a href="" title="Airtable::Error (class)">Error</a></span></tt>
230
-
231
-
232
-
233
-
234
-
235
- </h3><div class="docstring">
236
- <div class="discussion">
237
-
238
- <p>“message”=&gt;“Could not find fields foo”}</p>
239
-
240
-
241
- </div>
242
- </div>
243
- <div class="tags">
244
-
245
-
246
- </div><table class="source_code">
247
- <tr>
248
- <td>
249
- <pre class="lines">
250
-
251
-
252
- 9
253
- 10
254
- 11
255
- 12
256
- 13</pre>
257
- </td>
258
- <td>
259
- <pre class="code"><span class="info file"># File 'lib/airtable/error.rb', line 9</span>
260
-
261
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_error_hash'>error_hash</span><span class='rparen'>)</span>
262
- <span class='ivar'>@message</span> <span class='op'>=</span> <span class='id identifier rubyid_error_hash'>error_hash</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>message</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
263
- <span class='ivar'>@type</span> <span class='op'>=</span> <span class='id identifier rubyid_error_hash'>error_hash</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>type</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
264
- <span class='kw'>super</span><span class='lparen'>(</span><span class='ivar'>@message</span><span class='rparen'>)</span>
265
- <span class='kw'>end</span></pre>
266
- </td>
267
- </tr>
268
- </table>
269
- </div>
270
-
271
- </div>
272
-
273
- <div id="instance_attr_details" class="attr_details">
274
- <h2>Instance Attribute Details</h2>
275
-
276
-
277
- <span id=""></span>
278
- <div class="method_details first">
279
- <h3 class="signature first" id="message-instance_method">
280
-
281
- #<strong>message</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
282
-
283
-
284
-
285
-
286
-
287
- </h3><div class="docstring">
288
- <div class="discussion">
289
-
290
- <p>Returns the value of attribute message.</p>
291
-
292
-
293
- </div>
294
- </div>
295
- <div class="tags">
296
-
297
-
298
- </div><table class="source_code">
299
- <tr>
300
- <td>
301
- <pre class="lines">
302
-
303
-
304
- 5
305
- 6
306
- 7</pre>
307
- </td>
308
- <td>
309
- <pre class="code"><span class="info file"># File 'lib/airtable/error.rb', line 5</span>
310
-
311
- <span class='kw'>def</span> <span class='id identifier rubyid_message'>message</span>
312
- <span class='ivar'>@message</span>
313
- <span class='kw'>end</span></pre>
314
- </td>
315
- </tr>
316
- </table>
317
- </div>
318
-
319
-
320
- <span id=""></span>
321
- <div class="method_details ">
322
- <h3 class="signature " id="type-instance_method">
323
-
324
- #<strong>type</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
325
-
326
-
327
-
328
-
329
-
330
- </h3><div class="docstring">
331
- <div class="discussion">
332
-
333
- <p>Returns the value of attribute type.</p>
334
-
335
-
336
- </div>
337
- </div>
338
- <div class="tags">
339
-
340
-
341
- </div><table class="source_code">
342
- <tr>
343
- <td>
344
- <pre class="lines">
345
-
346
-
347
- 5
348
- 6
349
- 7</pre>
350
- </td>
351
- <td>
352
- <pre class="code"><span class="info file"># File 'lib/airtable/error.rb', line 5</span>
353
-
354
- <span class='kw'>def</span> <span class='id identifier rubyid_type'>type</span>
355
- <span class='ivar'>@type</span>
356
- <span class='kw'>end</span></pre>
357
- </td>
358
- </tr>
359
- </table>
360
- </div>
361
-
362
- </div>
363
-
364
-
365
- </div>
366
-
367
- <div id="footer">
368
- Generated on Fri Oct 25 21:49:52 2024 by
369
- <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
370
- 0.9.37 (ruby-3.3.5).
371
- </div>
372
-
373
- </div>
374
- </body>
375
- </html>
@@ -1,327 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Class: Airtable::Record
8
-
9
- &mdash; Documentation by YARD 0.9.37
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
-
17
- <script type="text/javascript">
18
- pathId = "Airtable::Record";
19
- relpath = '../';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div class="nav_wrap">
31
- <iframe id="nav" src="../class_list.html?1"></iframe>
32
- <div id="resizer"></div>
33
- </div>
34
-
35
- <div id="main" tabindex="-1">
36
- <div id="header">
37
- <div id="menu">
38
-
39
- <a href="../_index.html">Index (R)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../Airtable.html" title="Airtable (module)">Airtable</a></span></span>
41
- &raquo;
42
- <span class="title">Record</span>
43
-
44
- </div>
45
-
46
- <div id="search">
47
-
48
- <a class="full_list_link" id="class_list_link"
49
- href="../class_list.html">
50
-
51
- <svg width="24" height="24">
52
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
- </svg>
56
- </a>
57
-
58
- </div>
59
- <div class="clear"></div>
60
- </div>
61
-
62
- <div id="content"><h1>Class: Airtable::Record
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
- <dl>
70
- <dt>Inherits:</dt>
71
- <dd>
72
- <span class="inheritName"><span class='object_link'><a href="Resource.html" title="Airtable::Resource (class)">Resource</a></span></span>
73
-
74
- <ul class="fullTree">
75
- <li>Object</li>
76
-
77
- <li class="next"><span class='object_link'><a href="Resource.html" title="Airtable::Resource (class)">Resource</a></span></li>
78
-
79
- <li class="next">Airtable::Record</li>
80
-
81
- </ul>
82
- <a href="#" class="inheritanceTree">show all</a>
83
-
84
- </dd>
85
- </dl>
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
- <dl>
98
- <dt>Defined in:</dt>
99
- <dd>lib/airtable/record.rb</dd>
100
- </dl>
101
-
102
- </div>
103
-
104
- <h2>Overview</h2><div class="docstring">
105
- <div class="discussion">
106
-
107
- <p>Object corresponding to an Airtable Record</p>
108
-
109
-
110
- </div>
111
- </div>
112
- <div class="tags">
113
-
114
-
115
- </div>
116
-
117
-
118
-
119
- <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
120
- <ul class="summary">
121
-
122
- <li class="public ">
123
- <span class="summary_signature">
124
-
125
- <a href="#fields-instance_method" title="#fields (instance method)">#<strong>fields</strong> &#x21d2; Object </a>
126
-
127
-
128
-
129
- </span>
130
-
131
-
132
-
133
-
134
- <span class="note title readonly">readonly</span>
135
-
136
-
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
- <span class="summary_desc"><div class='inline'>
145
- <p>Returns the value of attribute fields.</p>
146
- </div></span>
147
-
148
- </li>
149
-
150
-
151
- </ul>
152
-
153
-
154
-
155
-
156
-
157
- <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Resource.html" title="Airtable::Resource (class)">Resource</a></span></h3>
158
- <p class="inherited"><span class='object_link'><a href="Resource.html#id-instance_method" title="Airtable::Resource#id (method)">#id</a></span>, <span class='object_link'><a href="Resource.html#token-instance_method" title="Airtable::Resource#token (method)">#token</a></span></p>
159
-
160
-
161
-
162
- <h2>
163
- Instance Method Summary
164
- <small><a href="#" class="summary_toggle">collapse</a></small>
165
- </h2>
166
-
167
- <ul class="summary">
168
-
169
- <li class="public ">
170
- <span class="summary_signature">
171
-
172
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(token, base_id, table_id, api_response) &#x21d2; Record </a>
173
-
174
-
175
-
176
- </span>
177
-
178
-
179
- <span class="note title constructor">constructor</span>
180
-
181
-
182
-
183
-
184
-
185
-
186
-
187
-
188
- <span class="summary_desc"><div class='inline'>
189
- <p>A new instance of Record.</p>
190
- </div></span>
191
-
192
- </li>
193
-
194
-
195
- </ul>
196
-
197
-
198
-
199
-
200
-
201
-
202
-
203
-
204
-
205
-
206
-
207
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Resource.html" title="Airtable::Resource (class)">Resource</a></span></h3>
208
- <p class="inherited"><span class='object_link'><a href="Resource.html#check_and_raise_error-instance_method" title="Airtable::Resource#check_and_raise_error (method)">#check_and_raise_error</a></span></p>
209
-
210
- <div id="constructor_details" class="method_details_list">
211
- <h2>Constructor Details</h2>
212
-
213
- <div class="method_details first">
214
- <h3 class="signature first" id="initialize-instance_method">
215
-
216
- #<strong>initialize</strong>(token, base_id, table_id, api_response) &#x21d2; <tt><span class='object_link'><a href="" title="Airtable::Record (class)">Record</a></span></tt>
217
-
218
-
219
-
220
-
221
-
222
- </h3><div class="docstring">
223
- <div class="discussion">
224
-
225
- <p>Returns a new instance of Record.</p>
226
-
227
-
228
- </div>
229
- </div>
230
- <div class="tags">
231
-
232
-
233
- </div><table class="source_code">
234
- <tr>
235
- <td>
236
- <pre class="lines">
237
-
238
-
239
- 7
240
- 8
241
- 9
242
- 10
243
- 11
244
- 12
245
- 13
246
- 14
247
- 15</pre>
248
- </td>
249
- <td>
250
- <pre class="code"><span class="info file"># File 'lib/airtable/record.rb', line 7</span>
251
-
252
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_token'>token</span><span class='comma'>,</span> <span class='id identifier rubyid_base_id'>base_id</span><span class='comma'>,</span> <span class='id identifier rubyid_table_id'>table_id</span><span class='comma'>,</span> <span class='id identifier rubyid_api_response'>api_response</span><span class='rparen'>)</span>
253
- <span class='ivar'>@token</span> <span class='op'>=</span> <span class='id identifier rubyid_token'>token</span>
254
- <span class='ivar'>@base_id</span> <span class='op'>=</span> <span class='id identifier rubyid_base_id'>base_id</span>
255
- <span class='ivar'>@table_id</span> <span class='op'>=</span> <span class='id identifier rubyid_table_id'>table_id</span>
256
- <span class='id identifier rubyid_api_response'>api_response</span><span class='period'>.</span><span class='id identifier rubyid_deep_symbolize_keys'>deep_symbolize_keys</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='op'>|</span>
257
- <span class='id identifier rubyid_instance_variable_set'>instance_variable_set</span><span class='lparen'>(</span><span class='symbol'>:&quot;@</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_key'>key</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
258
- <span class='kw'>end</span>
259
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_headers'>headers</span><span class='lparen'>(</span><span class='lbrace'>{</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Authorization</span><span class='label_end'>&#39;:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Bearer </span><span class='embexpr_beg'>#{</span><span class='ivar'>@token</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Content-Type</span><span class='label_end'>&#39;:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>application/json</span><span class='tstring_end'>&#39;</span></span> <span class='rbrace'>}</span><span class='rparen'>)</span>
260
- <span class='kw'>end</span></pre>
261
- </td>
262
- </tr>
263
- </table>
264
- </div>
265
-
266
- </div>
267
-
268
- <div id="instance_attr_details" class="attr_details">
269
- <h2>Instance Attribute Details</h2>
270
-
271
-
272
- <span id=""></span>
273
- <div class="method_details first">
274
- <h3 class="signature first" id="fields-instance_method">
275
-
276
- #<strong>fields</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
277
-
278
-
279
-
280
-
281
-
282
- </h3><div class="docstring">
283
- <div class="discussion">
284
-
285
- <p>Returns the value of attribute fields.</p>
286
-
287
-
288
- </div>
289
- </div>
290
- <div class="tags">
291
-
292
-
293
- </div><table class="source_code">
294
- <tr>
295
- <td>
296
- <pre class="lines">
297
-
298
-
299
- 5
300
- 6
301
- 7</pre>
302
- </td>
303
- <td>
304
- <pre class="code"><span class="info file"># File 'lib/airtable/record.rb', line 5</span>
305
-
306
- <span class='kw'>def</span> <span class='id identifier rubyid_fields'>fields</span>
307
- <span class='ivar'>@fields</span>
308
- <span class='kw'>end</span></pre>
309
- </td>
310
- </tr>
311
- </table>
312
- </div>
313
-
314
- </div>
315
-
316
-
317
- </div>
318
-
319
- <div id="footer">
320
- Generated on Fri Oct 25 21:49:53 2024 by
321
- <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
322
- 0.9.37 (ruby-3.3.5).
323
- </div>
324
-
325
- </div>
326
- </body>
327
- </html>