service_client 0.1.8 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +8 -6
- data/Gemfile.lock +6 -8
- data/README.md +16 -8
- data/Rakefile +5 -3
- data/bin/console +4 -3
- data/doc/ServiceClient/Base.html +2 -2
- data/doc/ServiceClient/Errors/BadGatewayError.html +2 -2
- data/doc/ServiceClient/Errors/BadRequestError.html +2 -2
- data/doc/ServiceClient/Errors/BaseError.html +2 -2
- data/doc/ServiceClient/Errors/BlockedByWindowsParentalControlsError.html +2 -2
- data/doc/ServiceClient/Errors/ClientClosedRequestError.html +2 -2
- data/doc/ServiceClient/Errors/ConflictError.html +2 -2
- data/doc/ServiceClient/Errors/EnhanceYourCalmError.html +2 -2
- data/doc/ServiceClient/Errors/ExpectationFailedError.html +2 -2
- data/doc/ServiceClient/Errors/FailedDependencyError.html +2 -2
- data/doc/ServiceClient/Errors/ForbiddenError.html +2 -2
- data/doc/ServiceClient/Errors/GatewayTimeoutError.html +2 -2
- data/doc/ServiceClient/Errors/GoneError.html +2 -2
- data/doc/ServiceClient/Errors/HTTPVersionNotSupportedError.html +2 -2
- data/doc/ServiceClient/Errors/InsufficientStorageError.html +2 -2
- data/doc/ServiceClient/Errors/InternalServerError.html +2 -2
- data/doc/ServiceClient/Errors/LengthRequiredError.html +2 -2
- data/doc/ServiceClient/Errors/LockedError.html +2 -2
- data/doc/ServiceClient/Errors/LoopDetectedError.html +2 -2
- data/doc/ServiceClient/Errors/MethodNotAllowedError.html +2 -2
- data/doc/ServiceClient/Errors/NetworkAuthenticationRequiredError.html +2 -2
- data/doc/ServiceClient/Errors/NetworkConnectTimeoutError.html +2 -2
- data/doc/ServiceClient/Errors/NetworkReadTimeoutError.html +2 -2
- data/doc/ServiceClient/Errors/NoResponseError.html +2 -2
- data/doc/ServiceClient/Errors/NotAcceptableError.html +2 -2
- data/doc/ServiceClient/Errors/NotExtendedError.html +2 -2
- data/doc/ServiceClient/Errors/NotFoundError.html +2 -2
- data/doc/ServiceClient/Errors/NotImplementedError.html +2 -2
- data/doc/ServiceClient/Errors/PaymentRequiredError.html +2 -2
- data/doc/ServiceClient/Errors/PreconditionFailedError.html +2 -2
- data/doc/ServiceClient/Errors/PreconditionRequiredError.html +2 -2
- data/doc/ServiceClient/Errors/ProxyAuthenticationRequiredError.html +2 -2
- data/doc/ServiceClient/Errors/RequestEntityTooLargeError.html +2 -2
- data/doc/ServiceClient/Errors/RequestHeaderFieldsTooLargeError.html +2 -2
- data/doc/ServiceClient/Errors/RequestTimeoutError.html +2 -2
- data/doc/ServiceClient/Errors/RequestURITooLongError.html +2 -2
- data/doc/ServiceClient/Errors/RequestedRangeNotSatisfiableError.html +2 -2
- data/doc/ServiceClient/Errors/RetryWithError.html +2 -2
- data/doc/ServiceClient/Errors/ServiceUnavailableError.html +2 -2
- data/doc/ServiceClient/Errors/TooManyRequestsError.html +2 -2
- data/doc/ServiceClient/Errors/UnauthorizedError.html +2 -2
- data/doc/ServiceClient/Errors/UnavailableForLegalReasonsError.html +2 -2
- data/doc/ServiceClient/Errors/UnprocessableEntityError.html +2 -2
- data/doc/ServiceClient/Errors/UnsupportedMediaTypeError.html +2 -2
- data/doc/ServiceClient/Errors/UpgradeRequiredError.html +2 -2
- data/doc/ServiceClient/Errors/VariantAlsoNegotiatesError.html +2 -2
- data/doc/ServiceClient/Errors.html +2 -2
- data/doc/ServiceClient/ParamsRequired.html +2 -2
- data/doc/ServiceClient/Response.html +2 -2
- data/doc/ServiceClient.html +4 -4
- data/doc/_index.html +2 -2
- data/doc/file.README.html +128 -123
- data/doc/index.html +131 -132
- data/doc/top-level-namespace.html +2 -2
- data/lib/service_client/base.rb +2 -1
- data/lib/service_client/errors.rb +1 -1
- data/lib/service_client/response.rb +2 -1
- data/lib/service_client/version.rb +1 -1
- metadata +4 -4
@@ -149,9 +149,9 @@
|
|
149
149
|
</div>
|
150
150
|
|
151
151
|
<div id="footer">
|
152
|
-
Generated on
|
152
|
+
Generated on Sat Feb 25 13:12:16 2023 by
|
153
153
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
154
|
-
0.9.28 (ruby-2.
|
154
|
+
0.9.28 (ruby-3.2.0).
|
155
155
|
</div>
|
156
156
|
|
157
157
|
</div>
|
@@ -149,9 +149,9 @@
|
|
149
149
|
</div>
|
150
150
|
|
151
151
|
<div id="footer">
|
152
|
-
Generated on
|
152
|
+
Generated on Sat Feb 25 13:12:16 2023 by
|
153
153
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
154
|
-
0.9.28 (ruby-2.
|
154
|
+
0.9.28 (ruby-3.2.0).
|
155
155
|
</div>
|
156
156
|
|
157
157
|
</div>
|
@@ -149,9 +149,9 @@
|
|
149
149
|
</div>
|
150
150
|
|
151
151
|
<div id="footer">
|
152
|
-
Generated on
|
152
|
+
Generated on Sat Feb 25 13:12:16 2023 by
|
153
153
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
154
|
-
0.9.28 (ruby-2.
|
154
|
+
0.9.28 (ruby-3.2.0).
|
155
155
|
</div>
|
156
156
|
|
157
157
|
</div>
|
@@ -149,9 +149,9 @@
|
|
149
149
|
</div>
|
150
150
|
|
151
151
|
<div id="footer">
|
152
|
-
Generated on
|
152
|
+
Generated on Sat Feb 25 13:12:16 2023 by
|
153
153
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
154
|
-
0.9.28 (ruby-2.
|
154
|
+
0.9.28 (ruby-3.2.0).
|
155
155
|
</div>
|
156
156
|
|
157
157
|
</div>
|
@@ -149,9 +149,9 @@
|
|
149
149
|
</div>
|
150
150
|
|
151
151
|
<div id="footer">
|
152
|
-
Generated on
|
152
|
+
Generated on Sat Feb 25 13:12:15 2023 by
|
153
153
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
154
|
-
0.9.28 (ruby-2.
|
154
|
+
0.9.28 (ruby-3.2.0).
|
155
155
|
</div>
|
156
156
|
|
157
157
|
</div>
|
@@ -149,9 +149,9 @@
|
|
149
149
|
</div>
|
150
150
|
|
151
151
|
<div id="footer">
|
152
|
-
Generated on
|
152
|
+
Generated on Sat Feb 25 13:12:16 2023 by
|
153
153
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
154
|
-
0.9.28 (ruby-2.
|
154
|
+
0.9.28 (ruby-3.2.0).
|
155
155
|
</div>
|
156
156
|
|
157
157
|
</div>
|
@@ -149,9 +149,9 @@
|
|
149
149
|
</div>
|
150
150
|
|
151
151
|
<div id="footer">
|
152
|
-
Generated on
|
152
|
+
Generated on Sat Feb 25 13:12:16 2023 by
|
153
153
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
154
|
-
0.9.28 (ruby-2.
|
154
|
+
0.9.28 (ruby-3.2.0).
|
155
155
|
</div>
|
156
156
|
|
157
157
|
</div>
|
@@ -149,9 +149,9 @@
|
|
149
149
|
</div>
|
150
150
|
|
151
151
|
<div id="footer">
|
152
|
-
Generated on
|
152
|
+
Generated on Sat Feb 25 13:12:16 2023 by
|
153
153
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
154
|
-
0.9.28 (ruby-2.
|
154
|
+
0.9.28 (ruby-3.2.0).
|
155
155
|
</div>
|
156
156
|
|
157
157
|
</div>
|
@@ -149,9 +149,9 @@
|
|
149
149
|
</div>
|
150
150
|
|
151
151
|
<div id="footer">
|
152
|
-
Generated on
|
152
|
+
Generated on Sat Feb 25 13:12:16 2023 by
|
153
153
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
154
|
-
0.9.28 (ruby-2.
|
154
|
+
0.9.28 (ruby-3.2.0).
|
155
155
|
</div>
|
156
156
|
|
157
157
|
</div>
|
@@ -149,9 +149,9 @@
|
|
149
149
|
</div>
|
150
150
|
|
151
151
|
<div id="footer">
|
152
|
-
Generated on
|
152
|
+
Generated on Sat Feb 25 13:12:16 2023 by
|
153
153
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
154
|
-
0.9.28 (ruby-2.
|
154
|
+
0.9.28 (ruby-3.2.0).
|
155
155
|
</div>
|
156
156
|
|
157
157
|
</div>
|
@@ -315,9 +315,9 @@
|
|
315
315
|
</div>
|
316
316
|
|
317
317
|
<div id="footer">
|
318
|
-
Generated on
|
318
|
+
Generated on Sat Feb 25 13:12:15 2023 by
|
319
319
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
320
|
-
0.9.28 (ruby-2.
|
320
|
+
0.9.28 (ruby-3.2.0).
|
321
321
|
</div>
|
322
322
|
|
323
323
|
</div>
|
@@ -137,9 +137,9 @@
|
|
137
137
|
</div>
|
138
138
|
|
139
139
|
<div id="footer">
|
140
|
-
Generated on
|
140
|
+
Generated on Sat Feb 25 13:12:15 2023 by
|
141
141
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
142
|
-
0.9.28 (ruby-2.
|
142
|
+
0.9.28 (ruby-3.2.0).
|
143
143
|
</div>
|
144
144
|
|
145
145
|
</div>
|
@@ -783,9 +783,9 @@
|
|
783
783
|
</div>
|
784
784
|
|
785
785
|
<div id="footer">
|
786
|
-
Generated on
|
786
|
+
Generated on Sat Feb 25 13:12:16 2023 by
|
787
787
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
788
|
-
0.9.28 (ruby-2.
|
788
|
+
0.9.28 (ruby-3.2.0).
|
789
789
|
</div>
|
790
790
|
|
791
791
|
</div>
|
data/doc/ServiceClient.html
CHANGED
@@ -88,7 +88,7 @@
|
|
88
88
|
<h2>Overview</h2><div class="docstring">
|
89
89
|
<div class="discussion">
|
90
90
|
|
91
|
-
<p>This module defines a set of error classes for common HTTP status codes. Each error class inherits from BaseError, which itself inherits from Ruby
|
91
|
+
<p>This module defines a set of error classes for common HTTP status codes. Each error class inherits from BaseError, which itself inherits from Ruby’s StandardError class. These error classes are then used by the ServiceClient module to raise specific errors for specific HTTP status codes.</p>
|
92
92
|
|
93
93
|
|
94
94
|
</div>
|
@@ -120,7 +120,7 @@
|
|
120
120
|
<dt id="VERSION-constant" class="">VERSION =
|
121
121
|
|
122
122
|
</dt>
|
123
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.1.
|
123
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.1.9</span><span class='tstring_end'>'</span></span></pre></dd>
|
124
124
|
|
125
125
|
</dl>
|
126
126
|
|
@@ -136,9 +136,9 @@
|
|
136
136
|
</div>
|
137
137
|
|
138
138
|
<div id="footer">
|
139
|
-
Generated on
|
139
|
+
Generated on Sat Feb 25 13:12:15 2023 by
|
140
140
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
141
|
-
0.9.28 (ruby-2.
|
141
|
+
0.9.28 (ruby-3.2.0).
|
142
142
|
</div>
|
143
143
|
|
144
144
|
</div>
|
data/doc/_index.html
CHANGED
@@ -566,9 +566,9 @@
|
|
566
566
|
</div>
|
567
567
|
|
568
568
|
<div id="footer">
|
569
|
-
Generated on
|
569
|
+
Generated on Sat Feb 25 13:12:15 2023 by
|
570
570
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
571
|
-
0.9.28 (ruby-2.
|
571
|
+
0.9.28 (ruby-3.2.0).
|
572
572
|
</div>
|
573
573
|
|
574
574
|
</div>
|
data/doc/file.README.html
CHANGED
@@ -85,137 +85,142 @@ gem install service_client
|
|
85
85
|
|
86
86
|
<p>Basic usage example:</p>
|
87
87
|
|
88
|
-
<
|
89
|
-
class
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
<
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
puts e
|
99
|
-
puts e
|
88
|
+
<pre class="code ruby"><code class="ruby">
|
89
|
+
<span class='kw'>class</span> <span class='const'>CustomerClientServiceClient</span><span class='op'>::</span><span class='const'>Base</span>
|
90
|
+
<span class='id identifier rubyid_base_url'>base_url</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>https://api.com</span><span class='tstring_end'>'</span></span>
|
91
|
+
<span class='id identifier rubyid_default_headers'>default_headers</span> <span class='label'>content_type:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>application/json</span><span class='tstring_end'>'</span></span>
|
92
|
+
|
93
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='rparen'>)</span>
|
94
|
+
<span class='id identifier rubyid_response'>response</span> <span class='op'>=</span> <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>customers/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
95
|
+
|
96
|
+
<span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_data'>data</span>
|
97
|
+
<span class='kw'>rescue</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'>NoDataFoundError</span> <span class='op'>=></span> <span class='id identifier rubyid_e'>e</span>
|
98
|
+
<span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_code'>code</span> <span class='comment'># 404
|
99
|
+
</span> <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_headers'>headers</span>
|
100
|
+
<span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_data'>data</span>
|
101
|
+
<span class='kw'>rescue</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/InternalServerError.html" title="ServiceClient::Errors::InternalServerError (class)">InternalServerError</a></span></span> <span class='op'>=></span> <span class='id identifier rubyid_e'>e</span>
|
102
|
+
<span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_code'>code</span> <span class='comment'># 500
|
103
|
+
</span> <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_headers'>headers</span>
|
104
|
+
<span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_data'>data</span>
|
105
|
+
<span class='comment'># All errors of HTTP status code
|
106
|
+
</span> <span class='kw'>end</span>
|
107
|
+
|
108
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
|
109
|
+
<span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='kw'>nil</span><span class='rparen'>)</span>
|
110
|
+
<span class='kw'>rescue</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/ParamsRequired.html" title="ServiceClient::ParamsRequired (class)">ParamsRequired</a></span></span> <span class='op'>=></span> <span class='id identifier rubyid_e'>e</span>
|
111
|
+
<span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span>
|
112
|
+
<span class='kw'>end</span>
|
113
|
+
<span class='kw'>end</span>
|
100
114
|
</code></pre>
|
101
115
|
|
102
|
-
<p>def all
|
103
|
-
get(nil)
|
104
|
-
rescue ServiceClient::ParamsRequired => e
|
105
|
-
puts e.message
|
106
|
-
end
|
107
|
-
end</p>
|
108
|
-
|
109
|
-
<p>```</p>
|
110
|
-
|
111
116
|
<h2 id="methods-of-class">Methods of class</h2>
|
112
117
|
|
113
|
-
<
|
114
|
-
|
115
|
-
ServiceClient::Base.get(url
|
118
|
+
<pre class="code ruby"><code class="ruby">
|
119
|
+
<span class='comment'># GET
|
120
|
+
</span><span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Base.html" title="ServiceClient::Base (class)">Base</a></span></span><span class='period'>.</span><span class='id identifier rubyid_get'><span class='object_link'><a href="ServiceClient/Base.html#get-class_method" title="ServiceClient::Base.get (method)">get</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='label'>headers:</span><span class='rparen'>)</span>
|
116
121
|
|
117
|
-
<
|
118
|
-
|
122
|
+
<span class='comment'># POST
|
123
|
+
</span><span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Base.html" title="ServiceClient::Base (class)">Base</a></span></span><span class='period'>.</span><span class='id identifier rubyid_post'><span class='object_link'><a href="ServiceClient/Base.html#post-class_method" title="ServiceClient::Base.post (method)">post</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='label'>headers:</span><span class='comma'>,</span> <span class='label'>body:</span><span class='rparen'>)</span>
|
119
124
|
|
120
|
-
<
|
121
|
-
|
125
|
+
<span class='comment'># PUT
|
126
|
+
</span><span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Base.html" title="ServiceClient::Base (class)">Base</a></span></span><span class='period'>.</span><span class='id identifier rubyid_put'><span class='object_link'><a href="ServiceClient/Base.html#put-class_method" title="ServiceClient::Base.put (method)">put</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='label'>headers:</span><span class='comma'>,</span> <span class='label'>body:</span><span class='rparen'>)</span>
|
122
127
|
|
123
|
-
<
|
124
|
-
|
125
|
-
|
128
|
+
<span class='comment'># DELETE
|
129
|
+
</span><span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Base.html" title="ServiceClient::Base (class)">Base</a></span></span><span class='period'>.</span><span class='id identifier rubyid_delete'><span class='object_link'><a href="ServiceClient/Base.html#delete-class_method" title="ServiceClient::Base.delete (method)">delete</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='label'>headers:</span><span class='comma'>,</span> <span class='label'>body:</span><span class='rparen'>)</span>
|
130
|
+
</code></pre>
|
126
131
|
|
127
132
|
<h2 id="classes-of-errors">Classes of errors</h2>
|
128
133
|
|
129
|
-
<
|
130
|
-
|
131
|
-
ServiceClient::Errors::BadRequestError
|
132
|
-
|
133
|
-
ServiceClient::Errors::UnauthorizedError
|
134
|
-
|
135
|
-
ServiceClient::Errors::PaymentRequiredError
|
136
|
-
|
137
|
-
ServiceClient::Errors::ForbiddenError
|
138
|
-
|
139
|
-
ServiceClient::Errors::NotFoundError
|
140
|
-
|
141
|
-
ServiceClient::Errors::MethodNotAllowedError
|
142
|
-
|
143
|
-
ServiceClient::Errors::NotAcceptableError
|
144
|
-
|
145
|
-
ServiceClient::Errors::ProxyAuthenticationRequiredError
|
146
|
-
|
147
|
-
ServiceClient::Errors::RequestTimeoutError
|
148
|
-
|
149
|
-
ServiceClient::Errors::ConflictError
|
150
|
-
|
151
|
-
ServiceClient::Errors::GoneError
|
152
|
-
|
153
|
-
ServiceClient::Errors::LengthRequiredError
|
154
|
-
|
155
|
-
ServiceClient::Errors::PreconditionFailedError
|
156
|
-
|
157
|
-
ServiceClient::Errors::RequestEntityTooLargeError
|
158
|
-
|
159
|
-
ServiceClient::Errors::RequestURITooLongError
|
160
|
-
|
161
|
-
ServiceClient::Errors::UnsupportedMediaTypeError
|
162
|
-
|
163
|
-
ServiceClient::Errors::RequestedRangeNotSatisfiableError
|
164
|
-
|
165
|
-
ServiceClient::Errors::ExpectationFailedError
|
166
|
-
|
167
|
-
ServiceClient::Errors::EnhanceYourCalmError
|
168
|
-
|
169
|
-
ServiceClient::Errors::UnprocessableEntityError
|
170
|
-
|
171
|
-
ServiceClient::Errors::LockedError
|
172
|
-
|
173
|
-
ServiceClient::Errors::FailedDependencyError
|
174
|
-
|
175
|
-
ServiceClient::Errors::UpgradeRequiredError
|
176
|
-
|
177
|
-
ServiceClient::Errors::PreconditionRequiredError
|
178
|
-
|
179
|
-
ServiceClient::Errors::TooManyRequestsError
|
180
|
-
|
181
|
-
ServiceClient::Errors::RequestHeaderFieldsTooLargeError
|
182
|
-
|
183
|
-
ServiceClient::Errors::NoResponseError
|
184
|
-
|
185
|
-
ServiceClient::Errors::RetryWithError
|
186
|
-
|
187
|
-
ServiceClient::Errors::BlockedByWindowsParentalControlsError
|
188
|
-
|
189
|
-
ServiceClient::Errors::UnavailableForLegalReasonsError
|
190
|
-
|
191
|
-
ServiceClient::Errors::ClientClosedRequestError
|
192
|
-
|
193
|
-
ServiceClient::Errors::InternalServerError
|
194
|
-
|
195
|
-
ServiceClient::Errors::NotImplementedError
|
196
|
-
|
197
|
-
ServiceClient::Errors::BadGatewayError
|
198
|
-
|
199
|
-
ServiceClient::Errors::ServiceUnavailableError
|
200
|
-
|
201
|
-
ServiceClient::Errors::GatewayTimeoutError
|
202
|
-
|
203
|
-
ServiceClient::Errors::HTTPVersionNotSupportedError
|
204
|
-
|
205
|
-
ServiceClient::Errors::VariantAlsoNegotiatesError
|
206
|
-
|
207
|
-
ServiceClient::Errors::InsufficientStorageError
|
208
|
-
|
209
|
-
ServiceClient::Errors::LoopDetectedError
|
210
|
-
|
211
|
-
ServiceClient::Errors::NotExtendedError
|
212
|
-
|
213
|
-
ServiceClient::Errors::NetworkAuthenticationRequiredError
|
214
|
-
|
215
|
-
ServiceClient::Errors::NetworkReadTimeoutError
|
216
|
-
|
217
|
-
ServiceClient::Errors::NetworkConnectTimeoutError
|
218
|
-
</code></
|
134
|
+
<pre class="code ruby"><code class="ruby">
|
135
|
+
<span class='comment'># 400 – Bad Request
|
136
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/BadRequestError.html" title="ServiceClient::Errors::BadRequestError (class)">BadRequestError</a></span></span>
|
137
|
+
<span class='comment'># 401 – Unauthorized
|
138
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/UnauthorizedError.html" title="ServiceClient::Errors::UnauthorizedError (class)">UnauthorizedError</a></span></span>
|
139
|
+
<span class='comment'># 402 – Payment Required
|
140
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/PaymentRequiredError.html" title="ServiceClient::Errors::PaymentRequiredError (class)">PaymentRequiredError</a></span></span>
|
141
|
+
<span class='comment'># 403 – Forbidden
|
142
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/ForbiddenError.html" title="ServiceClient::Errors::ForbiddenError (class)">ForbiddenError</a></span></span>
|
143
|
+
<span class='comment'># 404 – Not Found
|
144
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/NotFoundError.html" title="ServiceClient::Errors::NotFoundError (class)">NotFoundError</a></span></span>
|
145
|
+
<span class='comment'># 405 – Method Not Allowed
|
146
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/MethodNotAllowedError.html" title="ServiceClient::Errors::MethodNotAllowedError (class)">MethodNotAllowedError</a></span></span>
|
147
|
+
<span class='comment'># 406 – Not Acceptable
|
148
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/NotAcceptableError.html" title="ServiceClient::Errors::NotAcceptableError (class)">NotAcceptableError</a></span></span>
|
149
|
+
<span class='comment'># 407 – Proxy Authentication Required
|
150
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/ProxyAuthenticationRequiredError.html" title="ServiceClient::Errors::ProxyAuthenticationRequiredError (class)">ProxyAuthenticationRequiredError</a></span></span>
|
151
|
+
<span class='comment'># 408 – Request Timeout
|
152
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/RequestTimeoutError.html" title="ServiceClient::Errors::RequestTimeoutError (class)">RequestTimeoutError</a></span></span>
|
153
|
+
<span class='comment'># 409 – Conflict
|
154
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/ConflictError.html" title="ServiceClient::Errors::ConflictError (class)">ConflictError</a></span></span>
|
155
|
+
<span class='comment'># 410 – Gone
|
156
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/GoneError.html" title="ServiceClient::Errors::GoneError (class)">GoneError</a></span></span>
|
157
|
+
<span class='comment'># 411 – Length Required
|
158
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/LengthRequiredError.html" title="ServiceClient::Errors::LengthRequiredError (class)">LengthRequiredError</a></span></span>
|
159
|
+
<span class='comment'># 412 – Precondition Failed
|
160
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/PreconditionFailedError.html" title="ServiceClient::Errors::PreconditionFailedError (class)">PreconditionFailedError</a></span></span>
|
161
|
+
<span class='comment'># 413 – Request Entity Too Large
|
162
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/RequestEntityTooLargeError.html" title="ServiceClient::Errors::RequestEntityTooLargeError (class)">RequestEntityTooLargeError</a></span></span>
|
163
|
+
<span class='comment'># 414 – Request-URI Too Long
|
164
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/RequestURITooLongError.html" title="ServiceClient::Errors::RequestURITooLongError (class)">RequestURITooLongError</a></span></span>
|
165
|
+
<span class='comment'># 415 – Unsupported Media Type
|
166
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/UnsupportedMediaTypeError.html" title="ServiceClient::Errors::UnsupportedMediaTypeError (class)">UnsupportedMediaTypeError</a></span></span>
|
167
|
+
<span class='comment'># 416 – Requested Range Not Satisfiable
|
168
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/RequestedRangeNotSatisfiableError.html" title="ServiceClient::Errors::RequestedRangeNotSatisfiableError (class)">RequestedRangeNotSatisfiableError</a></span></span>
|
169
|
+
<span class='comment'># 417 – Expectation Failed
|
170
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/ExpectationFailedError.html" title="ServiceClient::Errors::ExpectationFailedError (class)">ExpectationFailedError</a></span></span>
|
171
|
+
<span class='comment'># 420 – Enhance Your Calm
|
172
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/EnhanceYourCalmError.html" title="ServiceClient::Errors::EnhanceYourCalmError (class)">EnhanceYourCalmError</a></span></span>
|
173
|
+
<span class='comment'># 422 – Unprocessable Entity
|
174
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/UnprocessableEntityError.html" title="ServiceClient::Errors::UnprocessableEntityError (class)">UnprocessableEntityError</a></span></span>
|
175
|
+
<span class='comment'># 423 – Locked
|
176
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/LockedError.html" title="ServiceClient::Errors::LockedError (class)">LockedError</a></span></span>
|
177
|
+
<span class='comment'># 424 – Failed Dependency
|
178
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/FailedDependencyError.html" title="ServiceClient::Errors::FailedDependencyError (class)">FailedDependencyError</a></span></span>
|
179
|
+
<span class='comment'># 426 – Upgrade Required
|
180
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/UpgradeRequiredError.html" title="ServiceClient::Errors::UpgradeRequiredError (class)">UpgradeRequiredError</a></span></span>
|
181
|
+
<span class='comment'># 428 – Precondition Required
|
182
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/PreconditionRequiredError.html" title="ServiceClient::Errors::PreconditionRequiredError (class)">PreconditionRequiredError</a></span></span>
|
183
|
+
<span class='comment'># 429 – Too Many Requests
|
184
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/TooManyRequestsError.html" title="ServiceClient::Errors::TooManyRequestsError (class)">TooManyRequestsError</a></span></span>
|
185
|
+
<span class='comment'># 431 – Request Header Fields Too Large
|
186
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/RequestHeaderFieldsTooLargeError.html" title="ServiceClient::Errors::RequestHeaderFieldsTooLargeError (class)">RequestHeaderFieldsTooLargeError</a></span></span>
|
187
|
+
<span class='comment'># 444 – No Response
|
188
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/NoResponseError.html" title="ServiceClient::Errors::NoResponseError (class)">NoResponseError</a></span></span>
|
189
|
+
<span class='comment'># 449 – Retry With
|
190
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/RetryWithError.html" title="ServiceClient::Errors::RetryWithError (class)">RetryWithError</a></span></span>
|
191
|
+
<span class='comment'># 450 – Bllocked by Windows Parental Controls
|
192
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/BlockedByWindowsParentalControlsError.html" title="ServiceClient::Errors::BlockedByWindowsParentalControlsError (class)">BlockedByWindowsParentalControlsError</a></span></span>
|
193
|
+
<span class='comment'># 451 – Unavailable For Legal Reasons
|
194
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/UnavailableForLegalReasonsError.html" title="ServiceClient::Errors::UnavailableForLegalReasonsError (class)">UnavailableForLegalReasonsError</a></span></span>
|
195
|
+
<span class='comment'># 499 – Client Closed Request
|
196
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/ClientClosedRequestError.html" title="ServiceClient::Errors::ClientClosedRequestError (class)">ClientClosedRequestError</a></span></span>
|
197
|
+
<span class='comment'># 500 – Internal Server Error
|
198
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/InternalServerError.html" title="ServiceClient::Errors::InternalServerError (class)">InternalServerError</a></span></span>
|
199
|
+
<span class='comment'># 501 – Not Implemented
|
200
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/NotImplementedError.html" title="ServiceClient::Errors::NotImplementedError (class)">NotImplementedError</a></span></span>
|
201
|
+
<span class='comment'># 502 – Bad Gateway
|
202
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/BadGatewayError.html" title="ServiceClient::Errors::BadGatewayError (class)">BadGatewayError</a></span></span>
|
203
|
+
<span class='comment'># 503 – Service Unavailable
|
204
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/ServiceUnavailableError.html" title="ServiceClient::Errors::ServiceUnavailableError (class)">ServiceUnavailableError</a></span></span>
|
205
|
+
<span class='comment'># 504 – Gateway Timeout
|
206
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/GatewayTimeoutError.html" title="ServiceClient::Errors::GatewayTimeoutError (class)">GatewayTimeoutError</a></span></span>
|
207
|
+
<span class='comment'># 505 – HTTP Version Not Supported
|
208
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/HTTPVersionNotSupportedError.html" title="ServiceClient::Errors::HTTPVersionNotSupportedError (class)">HTTPVersionNotSupportedError</a></span></span>
|
209
|
+
<span class='comment'># 506 – Variant Also Negotiates
|
210
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/VariantAlsoNegotiatesError.html" title="ServiceClient::Errors::VariantAlsoNegotiatesError (class)">VariantAlsoNegotiatesError</a></span></span>
|
211
|
+
<span class='comment'># 507 – Insufficient Storage
|
212
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/InsufficientStorageError.html" title="ServiceClient::Errors::InsufficientStorageError (class)">InsufficientStorageError</a></span></span>
|
213
|
+
<span class='comment'># 508 – Loop Detected
|
214
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/LoopDetectedError.html" title="ServiceClient::Errors::LoopDetectedError (class)">LoopDetectedError</a></span></span>
|
215
|
+
<span class='comment'># 510 – Not Extended
|
216
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/NotExtendedError.html" title="ServiceClient::Errors::NotExtendedError (class)">NotExtendedError</a></span></span>
|
217
|
+
<span class='comment'># 511 – Network Authentication Required
|
218
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/NetworkAuthenticationRequiredError.html" title="ServiceClient::Errors::NetworkAuthenticationRequiredError (class)">NetworkAuthenticationRequiredError</a></span></span>
|
219
|
+
<span class='comment'># 598 – Network Read Timeout Error
|
220
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/NetworkReadTimeoutError.html" title="ServiceClient::Errors::NetworkReadTimeoutError (class)">NetworkReadTimeoutError</a></span></span>
|
221
|
+
<span class='comment'># 599 – Network Connect Timeout Error
|
222
|
+
</span> <span class='const'><span class='object_link'><a href="ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors.html" title="ServiceClient::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ServiceClient/Errors/NetworkConnectTimeoutError.html" title="ServiceClient::Errors::NetworkConnectTimeoutError (class)">NetworkConnectTimeoutError</a></span></span>
|
223
|
+
</code></pre>
|
219
224
|
|
220
225
|
<h2 id="development">Development</h2>
|
221
226
|
|
@@ -233,9 +238,9 @@ ServiceClient::Base.get(url, headers:)</p>
|
|
233
238
|
</div></div>
|
234
239
|
|
235
240
|
<div id="footer">
|
236
|
-
Generated on
|
241
|
+
Generated on Sat Feb 25 13:12:15 2023 by
|
237
242
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
238
|
-
0.9.28 (ruby-2.
|
243
|
+
0.9.28 (ruby-3.2.0).
|
239
244
|
</div>
|
240
245
|
|
241
246
|
</div>
|