crapi 1.0.0 → 1.0.1
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 +4 -4
- data/.circleci/config.yml +5 -4
- data/.gitignore +3 -0
- data/.ruby-version +1 -1
- data/Gemfile.lock +120 -49
- data/README.md +2 -2
- data/crapi.gemspec +6 -6
- data/docs/CrAPI/ArgumentError.html +11 -8
- data/docs/CrAPI/BadHttpResponseError.html +11 -8
- data/docs/CrAPI/Client.html +53 -95
- data/docs/CrAPI/Error.html +10 -8
- data/docs/CrAPI/Proxy.html +30 -49
- data/docs/CrAPI.html +12 -12
- data/docs/Net/HTTP.html +12 -12
- data/docs/_index.html +9 -7
- data/docs/class_list.html +10 -7
- data/docs/css/common.css +1 -1
- data/docs/css/full_list.css +201 -53
- data/docs/css/style.css +991 -399
- data/docs/file.README.html +62 -86
- data/docs/file_list.html +9 -6
- data/docs/frames.html +10 -5
- data/docs/index.html +62 -86
- data/docs/js/app.js +799 -312
- data/docs/js/full_list.js +332 -214
- data/docs/method_list.html +9 -6
- data/docs/top-level-namespace.html +8 -6
- data/lib/crapi/version.rb +1 -1
- metadata +12 -25
- data/spec/crapi_client_spec.rb +0 -121
- data/spec/crapi_errors_spec.rb +0 -17
- data/spec/crapi_proxy_spec.rb +0 -121
- data/spec/crapi_spec.rb +0 -5
- data/spec/spec_helper.rb +0 -19
data/docs/CrAPI/Proxy.html
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: CrAPI::Proxy
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
9
|
+
— Documentation by YARD 0.9.44
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css">
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css">
|
|
16
16
|
|
|
17
17
|
<script type="text/javascript">
|
|
18
18
|
pathId = "CrAPI::Proxy";
|
|
@@ -27,6 +27,8 @@
|
|
|
27
27
|
|
|
28
28
|
</head>
|
|
29
29
|
<body>
|
|
30
|
+
<div id="main_progress" aria-hidden="true"></div>
|
|
31
|
+
|
|
30
32
|
<div class="nav_wrap">
|
|
31
33
|
<iframe id="nav" src="../class_list.html?1"></iframe>
|
|
32
34
|
<div id="resizer"></div>
|
|
@@ -94,7 +96,8 @@
|
|
|
94
96
|
|
|
95
97
|
<dl>
|
|
96
98
|
<dt>Defined in:</dt>
|
|
97
|
-
<dd>lib/crapi/proxy.rb
|
|
99
|
+
<dd>lib/crapi/proxy.rb
|
|
100
|
+
</dd>
|
|
98
101
|
</dl>
|
|
99
102
|
|
|
100
103
|
</div>
|
|
@@ -104,15 +107,13 @@
|
|
|
104
107
|
<p>Proxies simple CRUD methods (<span class='object_link'><a href="#delete-instance_method" title="CrAPI::Proxy#delete (method)">#delete</a></span> / <span class='object_link'><a href="#get-instance_method" title="CrAPI::Proxy#get (method)">#get</a></span> / <span class='object_link'><a href="#patch-instance_method" title="CrAPI::Proxy#patch (method)">#patch</a></span> / <span class='object_link'><a href="#post-instance_method" title="CrAPI::Proxy#post (method)">#post</a></span> / <span class='object_link'><a href="#put-instance_method" title="CrAPI::Proxy#put (method)">#put</a></span>) for a
|
|
105
108
|
<span class='object_link'><a href="Client.html" title="CrAPI::Client (class)">CrAPI::Client</a></span> or another <span class='object_link'><a href="" title="CrAPI::Proxy (class)">CrAPI::Proxy</a></span>. Like
|
|
106
109
|
<span class='object_link'><a href="Client.html" title="CrAPI::Client (class)">CrAPI::Client</a></span>, it also provides a proxy generator.</p>
|
|
107
|
-
|
|
108
110
|
<p>A <span class='object_link'><a href="" title="CrAPI::Proxy (class)">CrAPI::Proxy</a></span> has its own set of default headers and has a segment that is
|
|
109
|
-
prepended to its CRUD methods
|
|
111
|
+
prepended to its CRUD methods' <em>path</em> before being passed to the parent
|
|
110
112
|
<span class='object_link'><a href="Client.html" title="CrAPI::Client (class)">CrAPI::Client</a></span>/<span class='object_link'><a href="" title="CrAPI::Proxy (class)">CrAPI::Proxy</a></span>. This makes the proxxy functionally
|
|
111
|
-
equivalent to a new <span class='object_link'><a href="Client.html" title="CrAPI::Client (class)">CrAPI::Client</a></span> with a new base path (the parent
|
|
112
|
-
plus the proxy
|
|
113
|
+
equivalent to a new <span class='object_link'><a href="Client.html" title="CrAPI::Client (class)">CrAPI::Client</a></span> with a new base path (the parent's base path
|
|
114
|
+
plus the proxy's segment) and more default headers, but without the need for a separate
|
|
113
115
|
connection to the target system.</p>
|
|
114
116
|
|
|
115
|
-
|
|
116
117
|
</div>
|
|
117
118
|
</div>
|
|
118
119
|
<div class="tags">
|
|
@@ -145,8 +146,7 @@ connection to the target system.</p>
|
|
|
145
146
|
|
|
146
147
|
|
|
147
148
|
|
|
148
|
-
<span class="summary_desc"><div class='inline'><p>A Hash containing headers to send with every request (unless overriden elsewhere).</p>
|
|
149
|
-
</div></span>
|
|
149
|
+
<span class="summary_desc"><div class='inline'><p>A Hash containing headers to send with every request (unless overriden elsewhere).</p></div></span>
|
|
150
150
|
|
|
151
151
|
</li>
|
|
152
152
|
|
|
@@ -181,8 +181,7 @@ connection to the target system.</p>
|
|
|
181
181
|
|
|
182
182
|
|
|
183
183
|
|
|
184
|
-
<span class="summary_desc"><div class='inline'><p>CRUD method: DELETE.</p>
|
|
185
|
-
</div></span>
|
|
184
|
+
<span class="summary_desc"><div class='inline'><p>CRUD method: DELETE.</p></div></span>
|
|
186
185
|
|
|
187
186
|
</li>
|
|
188
187
|
|
|
@@ -204,8 +203,7 @@ connection to the target system.</p>
|
|
|
204
203
|
|
|
205
204
|
|
|
206
205
|
|
|
207
|
-
<span class="summary_desc"><div class='inline'><p>CRUD method: GET.</p>
|
|
208
|
-
</div></span>
|
|
206
|
+
<span class="summary_desc"><div class='inline'><p>CRUD method: GET.</p></div></span>
|
|
209
207
|
|
|
210
208
|
</li>
|
|
211
209
|
|
|
@@ -229,8 +227,7 @@ connection to the target system.</p>
|
|
|
229
227
|
|
|
230
228
|
|
|
231
229
|
|
|
232
|
-
<span class="summary_desc"><div class='inline'><p>A new instance of Proxy.</p>
|
|
233
|
-
</div></span>
|
|
230
|
+
<span class="summary_desc"><div class='inline'><p>A new instance of Proxy.</p></div></span>
|
|
234
231
|
|
|
235
232
|
</li>
|
|
236
233
|
|
|
@@ -252,8 +249,7 @@ connection to the target system.</p>
|
|
|
252
249
|
|
|
253
250
|
|
|
254
251
|
|
|
255
|
-
<span class="summary_desc"><div class='inline'><p>Returns a new <span class='object_link'><a href="" title="CrAPI::Proxy (class)">CrAPI::Proxy</a></span> for this proxy.</p>
|
|
256
|
-
</div></span>
|
|
252
|
+
<span class="summary_desc"><div class='inline'><p>Returns a new <span class='object_link'><a href="" title="CrAPI::Proxy (class)">CrAPI::Proxy</a></span> for this proxy.</p></div></span>
|
|
257
253
|
|
|
258
254
|
</li>
|
|
259
255
|
|
|
@@ -275,8 +271,7 @@ connection to the target system.</p>
|
|
|
275
271
|
|
|
276
272
|
|
|
277
273
|
|
|
278
|
-
<span class="summary_desc"><div class='inline'><p>CRUD method: PATCH.</p>
|
|
279
|
-
</div></span>
|
|
274
|
+
<span class="summary_desc"><div class='inline'><p>CRUD method: PATCH.</p></div></span>
|
|
280
275
|
|
|
281
276
|
</li>
|
|
282
277
|
|
|
@@ -298,8 +293,7 @@ connection to the target system.</p>
|
|
|
298
293
|
|
|
299
294
|
|
|
300
295
|
|
|
301
|
-
<span class="summary_desc"><div class='inline'><p>CRUD method: POST.</p>
|
|
302
|
-
</div></span>
|
|
296
|
+
<span class="summary_desc"><div class='inline'><p>CRUD method: POST.</p></div></span>
|
|
303
297
|
|
|
304
298
|
</li>
|
|
305
299
|
|
|
@@ -321,13 +315,13 @@ connection to the target system.</p>
|
|
|
321
315
|
|
|
322
316
|
|
|
323
317
|
|
|
324
|
-
<span class="summary_desc"><div class='inline'><p>CRUD method: PUT.</p>
|
|
325
|
-
</div></span>
|
|
318
|
+
<span class="summary_desc"><div class='inline'><p>CRUD method: PUT.</p></div></span>
|
|
326
319
|
|
|
327
320
|
</li>
|
|
328
321
|
|
|
329
322
|
|
|
330
323
|
</ul>
|
|
324
|
+
|
|
331
325
|
|
|
332
326
|
|
|
333
327
|
<div id="constructor_details" class="method_details_list">
|
|
@@ -346,7 +340,6 @@ connection to the target system.</p>
|
|
|
346
340
|
<div class="discussion">
|
|
347
341
|
<p>Returns a new instance of Proxy.</p>
|
|
348
342
|
|
|
349
|
-
|
|
350
343
|
</div>
|
|
351
344
|
</div>
|
|
352
345
|
<div class="tags">
|
|
@@ -363,9 +356,8 @@ connection to the target system.</p>
|
|
|
363
356
|
|
|
364
357
|
|
|
365
358
|
—
|
|
366
|
-
<div class='inline'><p>The new base path. This path (added to the parent
|
|
367
|
-
path for the <span class='object_link'><a href="" title="CrAPI::Proxy (class)">CrAPI::Proxy</a></span
|
|
368
|
-
</div>
|
|
359
|
+
<div class='inline'><p>The new base path. This path (added to the parent's base path) will be used as the base
|
|
360
|
+
path for the <span class='object_link'><a href="" title="CrAPI::Proxy (class)">CrAPI::Proxy</a></span>'s CRUD methods.</p></div>
|
|
369
361
|
|
|
370
362
|
</li>
|
|
371
363
|
|
|
@@ -379,9 +371,8 @@ path for the <span class='object_link'><a href="" title="CrAPI::Proxy (class)">C
|
|
|
379
371
|
|
|
380
372
|
|
|
381
373
|
—
|
|
382
|
-
<div class='inline'><p>The parent <span class='object_link'><a href="Client.html" title="CrAPI::Client (class)">CrAPI::Client</a></span> or <span class='object_link'><a href="" title="CrAPI::Proxy (class)">CrAPI::Proxy</a></span> that we
|
|
383
|
-
delegating CRUD calls to after proprocessing of headers and paths.</p>
|
|
384
|
-
</div>
|
|
374
|
+
<div class='inline'><p>The parent <span class='object_link'><a href="Client.html" title="CrAPI::Client (class)">CrAPI::Client</a></span> or <span class='object_link'><a href="" title="CrAPI::Proxy (class)">CrAPI::Proxy</a></span> that we'll be
|
|
375
|
+
delegating CRUD calls to after proprocessing of headers and paths.</p></div>
|
|
385
376
|
|
|
386
377
|
</li>
|
|
387
378
|
|
|
@@ -397,8 +388,7 @@ delegating CRUD calls to after proprocessing of headers and paths.</p>
|
|
|
397
388
|
|
|
398
389
|
|
|
399
390
|
—
|
|
400
|
-
<div class='inline'><p>The default headers to send with every request (unless overriden elsewhere).</p>
|
|
401
|
-
</div>
|
|
391
|
+
<div class='inline'><p>The default headers to send with every request (unless overriden elsewhere).</p></div>
|
|
402
392
|
|
|
403
393
|
</li>
|
|
404
394
|
|
|
@@ -450,10 +440,9 @@ delegating CRUD calls to after proprocessing of headers and paths.</p>
|
|
|
450
440
|
<div class="discussion">
|
|
451
441
|
<p>A Hash containing headers to send with every request (unless overriden elsewhere). In case of
|
|
452
442
|
conflicts, headers set as default for a <span class='object_link'><a href="" title="CrAPI::Proxy (class)">CrAPI::Proxy</a></span> override those set by the
|
|
453
|
-
parent. As in a <span class='object_link'><a href="Client.html" title="CrAPI::Client (class)">CrAPI::Client</a></span>, headers set by the user via the CRUD methods
|
|
443
|
+
parent. As in a <span class='object_link'><a href="Client.html" title="CrAPI::Client (class)">CrAPI::Client</a></span>, headers set by the user via the CRUD methods'
|
|
454
444
|
<em>headers</em> still override any conflicting default header.</p>
|
|
455
445
|
|
|
456
|
-
|
|
457
446
|
</div>
|
|
458
447
|
</div>
|
|
459
448
|
<div class="tags">
|
|
@@ -507,7 +496,6 @@ parent. As in a <span class='object_link'><a href="Client.html" title="CrAPI::Cl
|
|
|
507
496
|
<div class="discussion">
|
|
508
497
|
<p>CRUD method: DELETE</p>
|
|
509
498
|
|
|
510
|
-
|
|
511
499
|
</div>
|
|
512
500
|
</div>
|
|
513
501
|
<div class="tags">
|
|
@@ -569,7 +557,6 @@ parent. As in a <span class='object_link'><a href="Client.html" title="CrAPI::Cl
|
|
|
569
557
|
<div class="discussion">
|
|
570
558
|
<p>CRUD method: GET</p>
|
|
571
559
|
|
|
572
|
-
|
|
573
560
|
</div>
|
|
574
561
|
</div>
|
|
575
562
|
<div class="tags">
|
|
@@ -631,7 +618,6 @@ parent. As in a <span class='object_link'><a href="Client.html" title="CrAPI::Cl
|
|
|
631
618
|
<div class="discussion">
|
|
632
619
|
<p>Returns a new <span class='object_link'><a href="" title="CrAPI::Proxy (class)">CrAPI::Proxy</a></span> for this proxy.</p>
|
|
633
620
|
|
|
634
|
-
|
|
635
621
|
</div>
|
|
636
622
|
</div>
|
|
637
623
|
<div class="tags">
|
|
@@ -650,8 +636,7 @@ parent. As in a <span class='object_link'><a href="Client.html" title="CrAPI::Cl
|
|
|
650
636
|
|
|
651
637
|
|
|
652
638
|
—
|
|
653
|
-
<div class='inline'><p>The segment to add to this proxy
|
|
654
|
-
</div>
|
|
639
|
+
<div class='inline'><p>The segment to add to this proxy's path.</p></div>
|
|
655
640
|
|
|
656
641
|
</li>
|
|
657
642
|
|
|
@@ -667,8 +652,7 @@ parent. As in a <span class='object_link'><a href="Client.html" title="CrAPI::Cl
|
|
|
667
652
|
|
|
668
653
|
|
|
669
654
|
—
|
|
670
|
-
<div class='inline'><p>The default headers for the new proxy.</p>
|
|
671
|
-
</div>
|
|
655
|
+
<div class='inline'><p>The default headers for the new proxy.</p></div>
|
|
672
656
|
|
|
673
657
|
</li>
|
|
674
658
|
|
|
@@ -729,7 +713,6 @@ parent. As in a <span class='object_link'><a href="Client.html" title="CrAPI::Cl
|
|
|
729
713
|
<div class="discussion">
|
|
730
714
|
<p>CRUD method: PATCH</p>
|
|
731
715
|
|
|
732
|
-
|
|
733
716
|
</div>
|
|
734
717
|
</div>
|
|
735
718
|
<div class="tags">
|
|
@@ -791,7 +774,6 @@ parent. As in a <span class='object_link'><a href="Client.html" title="CrAPI::Cl
|
|
|
791
774
|
<div class="discussion">
|
|
792
775
|
<p>CRUD method: POST</p>
|
|
793
776
|
|
|
794
|
-
|
|
795
777
|
</div>
|
|
796
778
|
</div>
|
|
797
779
|
<div class="tags">
|
|
@@ -853,7 +835,6 @@ parent. As in a <span class='object_link'><a href="Client.html" title="CrAPI::Cl
|
|
|
853
835
|
<div class="discussion">
|
|
854
836
|
<p>CRUD method: PUT</p>
|
|
855
837
|
|
|
856
|
-
|
|
857
838
|
</div>
|
|
858
839
|
</div>
|
|
859
840
|
<div class="tags">
|
|
@@ -907,11 +888,11 @@ parent. As in a <span class='object_link'><a href="Client.html" title="CrAPI::Cl
|
|
|
907
888
|
</div>
|
|
908
889
|
|
|
909
890
|
<div id="footer">
|
|
910
|
-
Generated on
|
|
891
|
+
Generated on Sun Jul 5 14:46:38 2026 by
|
|
911
892
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
912
|
-
0.9.
|
|
893
|
+
0.9.44 (ruby-3.4.8).
|
|
913
894
|
</div>
|
|
914
895
|
|
|
915
896
|
</div>
|
|
916
897
|
</body>
|
|
917
|
-
</html>
|
|
898
|
+
</html>
|
data/docs/CrAPI.html
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: CrAPI
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
9
|
+
— Documentation by YARD 0.9.44
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css">
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css">
|
|
16
16
|
|
|
17
17
|
<script type="text/javascript">
|
|
18
18
|
pathId = "CrAPI";
|
|
@@ -27,6 +27,8 @@
|
|
|
27
27
|
|
|
28
28
|
</head>
|
|
29
29
|
<body>
|
|
30
|
+
<div id="main_progress" aria-hidden="true"></div>
|
|
31
|
+
|
|
30
32
|
<div class="nav_wrap">
|
|
31
33
|
<iframe id="nav" src="class_list.html?1"></iframe>
|
|
32
34
|
<div id="resizer"></div>
|
|
@@ -78,8 +80,9 @@
|
|
|
78
80
|
|
|
79
81
|
<dl>
|
|
80
82
|
<dt>Defined in:</dt>
|
|
81
|
-
<dd>lib/crapi.rb<span class="defines">,<br
|
|
82
|
-
lib/crapi/proxy.rb,<br
|
|
83
|
+
<dd>lib/crapi.rb<span class="defines">,<br>
|
|
84
|
+
lib/crapi/proxy.rb,<br> lib/crapi/client.rb,<br> lib/crapi/errors.rb,<br> lib/crapi/version.rb</span>
|
|
85
|
+
|
|
83
86
|
</dd>
|
|
84
87
|
</dl>
|
|
85
88
|
|
|
@@ -90,7 +93,6 @@
|
|
|
90
93
|
<p>The CrAPI module houses the <span class='object_link'><a href="CrAPI/Client.html" title="CrAPI::Client (class)">CrAPI::Client</a></span> and <span class='object_link'><a href="CrAPI/Proxy.html" title="CrAPI::Proxy (class)">CrAPI::Proxy</a></span> classes
|
|
91
94
|
in this gem.</p>
|
|
92
95
|
|
|
93
|
-
|
|
94
96
|
</div>
|
|
95
97
|
</div>
|
|
96
98
|
<div class="tags">
|
|
@@ -119,11 +121,9 @@ in this gem.</p>
|
|
|
119
121
|
<div class="docstring">
|
|
120
122
|
<div class="discussion">
|
|
121
123
|
<p>The canonical <strong>crapi</strong> gem version.</p>
|
|
122
|
-
|
|
123
124
|
<p>This should only ever be updated <em>immediately</em> before a release; the commit that updates this
|
|
124
125
|
value should be pushed <strong>by</strong> the <code>rake release</code> process.</p>
|
|
125
126
|
|
|
126
|
-
|
|
127
127
|
</div>
|
|
128
128
|
</div>
|
|
129
129
|
<div class="tags">
|
|
@@ -131,7 +131,7 @@ value should be pushed <strong>by</strong> the <code>rake release</code> process
|
|
|
131
131
|
|
|
132
132
|
</div>
|
|
133
133
|
</dt>
|
|
134
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>1.0.
|
|
134
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>1.0.1</span><span class='tstring_end'>'</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
|
135
135
|
|
|
136
136
|
</dl>
|
|
137
137
|
|
|
@@ -147,11 +147,11 @@ value should be pushed <strong>by</strong> the <code>rake release</code> process
|
|
|
147
147
|
</div>
|
|
148
148
|
|
|
149
149
|
<div id="footer">
|
|
150
|
-
Generated on
|
|
150
|
+
Generated on Sun Jul 5 14:46:38 2026 by
|
|
151
151
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
152
|
-
0.9.
|
|
152
|
+
0.9.44 (ruby-3.4.8).
|
|
153
153
|
</div>
|
|
154
154
|
|
|
155
155
|
</div>
|
|
156
156
|
</body>
|
|
157
|
-
</html>
|
|
157
|
+
</html>
|
data/docs/Net/HTTP.html
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: Net::HTTP
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
9
|
+
— Documentation by YARD 0.9.44
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css">
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css">
|
|
16
16
|
|
|
17
17
|
<script type="text/javascript">
|
|
18
18
|
pathId = "Net::HTTP";
|
|
@@ -27,6 +27,8 @@
|
|
|
27
27
|
|
|
28
28
|
</head>
|
|
29
29
|
<body>
|
|
30
|
+
<div id="main_progress" aria-hidden="true"></div>
|
|
31
|
+
|
|
30
32
|
<div class="nav_wrap">
|
|
31
33
|
<iframe id="nav" src="../class_list.html?1"></iframe>
|
|
32
34
|
<div id="resizer"></div>
|
|
@@ -94,7 +96,8 @@
|
|
|
94
96
|
|
|
95
97
|
<dl>
|
|
96
98
|
<dt>Defined in:</dt>
|
|
97
|
-
<dd>lib/crapi/client.rb
|
|
99
|
+
<dd>lib/crapi/client.rb
|
|
100
|
+
</dd>
|
|
98
101
|
</dl>
|
|
99
102
|
|
|
100
103
|
</div>
|
|
@@ -103,7 +106,6 @@
|
|
|
103
106
|
<div class="discussion">
|
|
104
107
|
<p>Net::HTTP needs a shortcut instance method for PUT calls like it does for GET/DELETE/PATCH/POST.</p>
|
|
105
108
|
|
|
106
|
-
|
|
107
109
|
</div>
|
|
108
110
|
</div>
|
|
109
111
|
<div class="tags">
|
|
@@ -141,13 +143,13 @@
|
|
|
141
143
|
|
|
142
144
|
|
|
143
145
|
|
|
144
|
-
<span class="summary_desc"><div class='inline'><p>Convenience PUT method monkey-patched into Net::HTTP.</p>
|
|
145
|
-
</div></span>
|
|
146
|
+
<span class="summary_desc"><div class='inline'><p>Convenience PUT method monkey-patched into Net::HTTP.</p></div></span>
|
|
146
147
|
|
|
147
148
|
</li>
|
|
148
149
|
|
|
149
150
|
|
|
150
151
|
</ul>
|
|
152
|
+
|
|
151
153
|
|
|
152
154
|
|
|
153
155
|
|
|
@@ -168,12 +170,10 @@
|
|
|
168
170
|
</h3><div class="docstring">
|
|
169
171
|
<div class="discussion">
|
|
170
172
|
<p>Convenience PUT method monkey-patched into Net::HTTP.</p>
|
|
171
|
-
|
|
172
173
|
<p>Net::HTTP provides handy methods for DELETE, GET, HEAD, OPTIONS, PATCH, and POST, <strong>but not
|
|
173
174
|
PUT</strong>, so we have to monkey-patch one in. The parameters listed below were chosen to match
|
|
174
175
|
those in use for the other Net::HTTP request methods in both name and meaning.</p>
|
|
175
176
|
|
|
176
|
-
|
|
177
177
|
</div>
|
|
178
178
|
</div>
|
|
179
179
|
<div class="tags">
|
|
@@ -277,11 +277,11 @@ those in use for the other Net::HTTP request methods in both name and meaning.</
|
|
|
277
277
|
</div>
|
|
278
278
|
|
|
279
279
|
<div id="footer">
|
|
280
|
-
Generated on
|
|
280
|
+
Generated on Sun Jul 5 14:46:38 2026 by
|
|
281
281
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
282
|
-
0.9.
|
|
282
|
+
0.9.44 (ruby-3.4.8).
|
|
283
283
|
</div>
|
|
284
284
|
|
|
285
285
|
</div>
|
|
286
286
|
</body>
|
|
287
|
-
</html>
|
|
287
|
+
</html>
|
data/docs/_index.html
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<title>
|
|
7
|
-
Documentation by YARD 0.9.
|
|
7
|
+
Documentation by YARD 0.9.44
|
|
8
8
|
|
|
9
9
|
</title>
|
|
10
10
|
|
|
11
|
-
<link rel="stylesheet" href="css/style.css" type="text/css"
|
|
11
|
+
<link rel="stylesheet" href="css/style.css" type="text/css">
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="css/common.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="css/common.css" type="text/css">
|
|
14
14
|
|
|
15
15
|
<script type="text/javascript">
|
|
16
16
|
pathId = null;
|
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
|
|
26
26
|
</head>
|
|
27
27
|
<body>
|
|
28
|
+
<div id="main_progress" aria-hidden="true"></div>
|
|
29
|
+
|
|
28
30
|
<div class="nav_wrap">
|
|
29
31
|
<iframe id="nav" src="class_list.html?1"></iframe>
|
|
30
32
|
<div id="resizer"></div>
|
|
@@ -52,7 +54,7 @@
|
|
|
52
54
|
<div class="clear"></div>
|
|
53
55
|
</div>
|
|
54
56
|
|
|
55
|
-
<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.
|
|
57
|
+
<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.44</h1>
|
|
56
58
|
<div id="listing">
|
|
57
59
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
|
58
60
|
|
|
@@ -179,11 +181,11 @@
|
|
|
179
181
|
</div>
|
|
180
182
|
|
|
181
183
|
<div id="footer">
|
|
182
|
-
Generated on
|
|
184
|
+
Generated on Sun Jul 5 14:46:37 2026 by
|
|
183
185
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
184
|
-
0.9.
|
|
186
|
+
0.9.44 (ruby-3.4.8).
|
|
185
187
|
</div>
|
|
186
188
|
|
|
187
189
|
</div>
|
|
188
190
|
</body>
|
|
189
|
-
</html>
|
|
191
|
+
</html>
|
data/docs/class_list.html
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
2
|
+
<html >
|
|
3
3
|
<head>
|
|
4
4
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
5
|
-
<meta charset="utf-8"
|
|
5
|
+
<meta charset="utf-8">
|
|
6
6
|
|
|
7
|
-
<link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen"
|
|
7
|
+
<link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen">
|
|
8
8
|
|
|
9
|
-
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen"
|
|
9
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen">
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
<title>Class List</title>
|
|
19
|
-
<base id="base_target" target="_parent"
|
|
19
|
+
<base id="base_target" target="_parent">
|
|
20
20
|
</head>
|
|
21
21
|
<body>
|
|
22
22
|
<div id="content">
|
|
@@ -38,12 +38,15 @@
|
|
|
38
38
|
|
|
39
39
|
</div>
|
|
40
40
|
|
|
41
|
-
<div id="search">
|
|
41
|
+
<div id="search">
|
|
42
|
+
<label for="search-class">Search:</label>
|
|
43
|
+
<input id="search-class" type="text">
|
|
44
|
+
</div>
|
|
42
45
|
</div>
|
|
43
46
|
|
|
44
47
|
<ul id="full_list" class="class">
|
|
45
48
|
<li id="object_" class="odd"><div class="item" style="padding-left:30px"><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></div></li>
|
|
46
|
-
<li id='object_CrAPI' class='even'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="CrAPI.html" title="CrAPI (module)">CrAPI</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_CrAPI::ArgumentError' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="CrAPI/ArgumentError.html" title="CrAPI::ArgumentError (class)">ArgumentError</a></span> < Error<small class='search_info'>CrAPI</small></div></li><li id='object_CrAPI::BadHttpResponseError' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="CrAPI/BadHttpResponseError.html" title="CrAPI::BadHttpResponseError (class)">BadHttpResponseError</a></span> < Error<small class='search_info'>CrAPI</small></div></li><li id='object_CrAPI::Client' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="CrAPI/Client.html" title="CrAPI::Client (class)">Client</a></span> < Object<small class='search_info'>CrAPI</small></div></li><li id='object_CrAPI::Error' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="CrAPI/Error.html" title="CrAPI::Error (class)">Error</a></span> < StandardError<small class='search_info'>CrAPI</small></div></li><li id='object_CrAPI::Proxy' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="CrAPI/Proxy.html" title="CrAPI::Proxy (class)">Proxy</a></span> < Object<small class='search_info'>CrAPI</small></div></li></ul></li><li id='object_Net::HTTP' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="Net/HTTP.html" title="Net::HTTP (class)">Net::HTTP</a></span> < Object<small class='search_info'>Net</small></div></li>
|
|
49
|
+
<li id='object_CrAPI' class='even'><div class='item' style='padding-left:30px'><a tabindex='0' class='toggle' role='button' aria-label='CrAPI child nodes' aria-expanded='false' aria-controls='object_CrAPI'></a> <span class='object_link'><a href="CrAPI.html" title="CrAPI (module)">CrAPI</a></span><small class='search_info'>Top Level Namespace</small></div><div aria-labelledby='object_CrAPI'><ul><li id='object_CrAPI::ArgumentError' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="CrAPI/ArgumentError.html" title="CrAPI::ArgumentError (class)">ArgumentError</a></span> < Error<small class='search_info'>CrAPI</small></div></li><li id='object_CrAPI::BadHttpResponseError' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="CrAPI/BadHttpResponseError.html" title="CrAPI::BadHttpResponseError (class)">BadHttpResponseError</a></span> < Error<small class='search_info'>CrAPI</small></div></li><li id='object_CrAPI::Client' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="CrAPI/Client.html" title="CrAPI::Client (class)">Client</a></span> < Object<small class='search_info'>CrAPI</small></div></li><li id='object_CrAPI::Error' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="CrAPI/Error.html" title="CrAPI::Error (class)">Error</a></span> < StandardError<small class='search_info'>CrAPI</small></div></li><li id='object_CrAPI::Proxy' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="CrAPI/Proxy.html" title="CrAPI::Proxy (class)">Proxy</a></span> < Object<small class='search_info'>CrAPI</small></div></li></ul></div></li><li id='object_Net::HTTP' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="Net/HTTP.html" title="Net::HTTP (class)">Net::HTTP</a></span> < Object<small class='search_info'>Net</small></div></li>
|
|
47
50
|
|
|
48
51
|
</ul>
|
|
49
52
|
</div>
|
data/docs/css/common.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/* Override this file with custom rules */
|
|
1
|
+
/* Override this file with custom rules */
|