service_client 0.1.3 → 0.1.5
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/Gemfile.lock +1 -1
- data/doc/ServiceClient/Base.html +781 -0
- data/doc/ServiceClient/Errors/BadGatewayError.html +159 -0
- data/doc/ServiceClient/Errors/BadRequestError.html +159 -0
- data/doc/ServiceClient/Errors/BaseError.html +359 -0
- data/doc/ServiceClient/Errors/BlockedByWindowsParentalControlsError.html +159 -0
- data/doc/ServiceClient/Errors/ClientClosedRequestError.html +159 -0
- data/doc/ServiceClient/Errors/ConflictError.html +159 -0
- data/doc/ServiceClient/Errors/EnhanceYourCalmError.html +159 -0
- data/doc/ServiceClient/Errors/ExpectationFailedError.html +159 -0
- data/doc/ServiceClient/Errors/FailedDependencyError.html +159 -0
- data/doc/ServiceClient/Errors/ForbiddenError.html +159 -0
- data/doc/ServiceClient/Errors/GatewayTimeoutError.html +159 -0
- data/doc/ServiceClient/Errors/GoneError.html +159 -0
- data/doc/ServiceClient/Errors/HTTPVersionNotSupportedError.html +159 -0
- data/doc/ServiceClient/Errors/InsufficientStorageError.html +159 -0
- data/doc/ServiceClient/Errors/InternalServerError.html +159 -0
- data/doc/ServiceClient/Errors/LengthRequiredError.html +159 -0
- data/doc/ServiceClient/Errors/LockedError.html +159 -0
- data/doc/ServiceClient/Errors/LoopDetectedError.html +159 -0
- data/doc/ServiceClient/Errors/MethodNotAllowedError.html +159 -0
- data/doc/ServiceClient/Errors/NetworkAuthenticationRequiredError.html +159 -0
- data/doc/ServiceClient/Errors/NetworkConnectTimeoutError.html +159 -0
- data/doc/ServiceClient/Errors/NetworkReadTimeoutError.html +159 -0
- data/doc/ServiceClient/Errors/NoResponseError.html +159 -0
- data/doc/ServiceClient/Errors/NotAcceptableError.html +159 -0
- data/doc/ServiceClient/Errors/NotExtendedError.html +159 -0
- data/doc/ServiceClient/Errors/NotFoundError.html +159 -0
- data/doc/ServiceClient/Errors/NotImplementedError.html +159 -0
- data/doc/ServiceClient/Errors/PaymentRequiredError.html +159 -0
- data/doc/ServiceClient/Errors/PreconditionFailedError.html +159 -0
- data/doc/ServiceClient/Errors/PreconditionRequiredError.html +159 -0
- data/doc/ServiceClient/Errors/ProxyAuthenticationRequiredError.html +159 -0
- data/doc/ServiceClient/Errors/RequestEntityTooLargeError.html +159 -0
- data/doc/ServiceClient/Errors/RequestHeaderFieldsTooLargeError.html +159 -0
- data/doc/ServiceClient/Errors/RequestTimeoutError.html +159 -0
- data/doc/ServiceClient/Errors/RequestURITooLongError.html +159 -0
- data/doc/ServiceClient/Errors/RequestedRangeNotSatisfiableError.html +159 -0
- data/doc/ServiceClient/Errors/RetryWithError.html +159 -0
- data/doc/ServiceClient/Errors/ServiceUnavailableError.html +159 -0
- data/doc/ServiceClient/Errors/TooManyRequestsError.html +159 -0
- data/doc/ServiceClient/Errors/UnauthorizedError.html +159 -0
- data/doc/ServiceClient/Errors/UnavailableForLegalReasonsError.html +159 -0
- data/doc/ServiceClient/Errors/UnprocessableEntityError.html +159 -0
- data/doc/ServiceClient/Errors/UnsupportedMediaTypeError.html +159 -0
- data/doc/ServiceClient/Errors/UpgradeRequiredError.html +159 -0
- data/doc/ServiceClient/Errors/VariantAlsoNegotiatesError.html +159 -0
- data/doc/ServiceClient/Errors.html +325 -0
- data/doc/ServiceClient/ParamsRequired.html +135 -0
- data/doc/ServiceClient/Response.html +793 -0
- data/doc/ServiceClient.html +146 -0
- data/doc/_index.html +569 -0
- data/doc/class_list.html +51 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +58 -0
- data/doc/css/style.css +497 -0
- data/doc/file.README.html +243 -0
- data/doc/file_list.html +56 -0
- data/doc/frames.html +17 -0
- data/doc/index.html +249 -0
- data/doc/js/app.js +314 -0
- data/doc/js/full_list.js +216 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +171 -0
- data/doc/top-level-namespace.html +110 -0
- data/lib/service_client/base.rb +79 -24
- data/lib/service_client/errors.rb +18 -6
- data/lib/service_client/response.rb +24 -7
- data/lib/service_client/version.rb +1 -1
- metadata +69 -4
@@ -0,0 +1,325 @@
|
|
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
|
+
Module: ServiceClient::Errors
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.28
|
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 = "ServiceClient::Errors";
|
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> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span>
|
41
|
+
»
|
42
|
+
<span class="title">Errors</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>Module: ServiceClient::Errors
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
<dl>
|
78
|
+
<dt>Included in:</dt>
|
79
|
+
<dd><span class='object_link'><a href="Response.html" title="ServiceClient::Response (class)">Response</a></span></dd>
|
80
|
+
</dl>
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
<dl>
|
85
|
+
<dt>Defined in:</dt>
|
86
|
+
<dd>lib/service_client/errors.rb</dd>
|
87
|
+
</dl>
|
88
|
+
|
89
|
+
</div>
|
90
|
+
|
91
|
+
<h2>Overview</h2><div class="docstring">
|
92
|
+
<div class="discussion">
|
93
|
+
|
94
|
+
<p>Errors module</p>
|
95
|
+
|
96
|
+
|
97
|
+
</div>
|
98
|
+
</div>
|
99
|
+
<div class="tags">
|
100
|
+
|
101
|
+
|
102
|
+
</div><h2>Defined Under Namespace</h2>
|
103
|
+
<p class="children">
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Errors/BadGatewayError.html" title="ServiceClient::Errors::BadGatewayError (class)">BadGatewayError</a></span>, <span class='object_link'><a href="Errors/BadRequestError.html" title="ServiceClient::Errors::BadRequestError (class)">BadRequestError</a></span>, <span class='object_link'><a href="Errors/BaseError.html" title="ServiceClient::Errors::BaseError (class)">BaseError</a></span>, <span class='object_link'><a href="Errors/BlockedByWindowsParentalControlsError.html" title="ServiceClient::Errors::BlockedByWindowsParentalControlsError (class)">BlockedByWindowsParentalControlsError</a></span>, <span class='object_link'><a href="Errors/ClientClosedRequestError.html" title="ServiceClient::Errors::ClientClosedRequestError (class)">ClientClosedRequestError</a></span>, <span class='object_link'><a href="Errors/ConflictError.html" title="ServiceClient::Errors::ConflictError (class)">ConflictError</a></span>, <span class='object_link'><a href="Errors/EnhanceYourCalmError.html" title="ServiceClient::Errors::EnhanceYourCalmError (class)">EnhanceYourCalmError</a></span>, <span class='object_link'><a href="Errors/ExpectationFailedError.html" title="ServiceClient::Errors::ExpectationFailedError (class)">ExpectationFailedError</a></span>, <span class='object_link'><a href="Errors/FailedDependencyError.html" title="ServiceClient::Errors::FailedDependencyError (class)">FailedDependencyError</a></span>, <span class='object_link'><a href="Errors/ForbiddenError.html" title="ServiceClient::Errors::ForbiddenError (class)">ForbiddenError</a></span>, <span class='object_link'><a href="Errors/GatewayTimeoutError.html" title="ServiceClient::Errors::GatewayTimeoutError (class)">GatewayTimeoutError</a></span>, <span class='object_link'><a href="Errors/GoneError.html" title="ServiceClient::Errors::GoneError (class)">GoneError</a></span>, <span class='object_link'><a href="Errors/HTTPVersionNotSupportedError.html" title="ServiceClient::Errors::HTTPVersionNotSupportedError (class)">HTTPVersionNotSupportedError</a></span>, <span class='object_link'><a href="Errors/InsufficientStorageError.html" title="ServiceClient::Errors::InsufficientStorageError (class)">InsufficientStorageError</a></span>, <span class='object_link'><a href="Errors/InternalServerError.html" title="ServiceClient::Errors::InternalServerError (class)">InternalServerError</a></span>, <span class='object_link'><a href="Errors/LengthRequiredError.html" title="ServiceClient::Errors::LengthRequiredError (class)">LengthRequiredError</a></span>, <span class='object_link'><a href="Errors/LockedError.html" title="ServiceClient::Errors::LockedError (class)">LockedError</a></span>, <span class='object_link'><a href="Errors/LoopDetectedError.html" title="ServiceClient::Errors::LoopDetectedError (class)">LoopDetectedError</a></span>, <span class='object_link'><a href="Errors/MethodNotAllowedError.html" title="ServiceClient::Errors::MethodNotAllowedError (class)">MethodNotAllowedError</a></span>, <span class='object_link'><a href="Errors/NetworkAuthenticationRequiredError.html" title="ServiceClient::Errors::NetworkAuthenticationRequiredError (class)">NetworkAuthenticationRequiredError</a></span>, <span class='object_link'><a href="Errors/NetworkConnectTimeoutError.html" title="ServiceClient::Errors::NetworkConnectTimeoutError (class)">NetworkConnectTimeoutError</a></span>, <span class='object_link'><a href="Errors/NetworkReadTimeoutError.html" title="ServiceClient::Errors::NetworkReadTimeoutError (class)">NetworkReadTimeoutError</a></span>, <span class='object_link'><a href="Errors/NoResponseError.html" title="ServiceClient::Errors::NoResponseError (class)">NoResponseError</a></span>, <span class='object_link'><a href="Errors/NotAcceptableError.html" title="ServiceClient::Errors::NotAcceptableError (class)">NotAcceptableError</a></span>, <span class='object_link'><a href="Errors/NotExtendedError.html" title="ServiceClient::Errors::NotExtendedError (class)">NotExtendedError</a></span>, <span class='object_link'><a href="Errors/NotFoundError.html" title="ServiceClient::Errors::NotFoundError (class)">NotFoundError</a></span>, <span class='object_link'><a href="Errors/NotImplementedError.html" title="ServiceClient::Errors::NotImplementedError (class)">NotImplementedError</a></span>, <span class='object_link'><a href="Errors/PaymentRequiredError.html" title="ServiceClient::Errors::PaymentRequiredError (class)">PaymentRequiredError</a></span>, <span class='object_link'><a href="Errors/PreconditionFailedError.html" title="ServiceClient::Errors::PreconditionFailedError (class)">PreconditionFailedError</a></span>, <span class='object_link'><a href="Errors/PreconditionRequiredError.html" title="ServiceClient::Errors::PreconditionRequiredError (class)">PreconditionRequiredError</a></span>, <span class='object_link'><a href="Errors/ProxyAuthenticationRequiredError.html" title="ServiceClient::Errors::ProxyAuthenticationRequiredError (class)">ProxyAuthenticationRequiredError</a></span>, <span class='object_link'><a href="Errors/RequestEntityTooLargeError.html" title="ServiceClient::Errors::RequestEntityTooLargeError (class)">RequestEntityTooLargeError</a></span>, <span class='object_link'><a href="Errors/RequestHeaderFieldsTooLargeError.html" title="ServiceClient::Errors::RequestHeaderFieldsTooLargeError (class)">RequestHeaderFieldsTooLargeError</a></span>, <span class='object_link'><a href="Errors/RequestTimeoutError.html" title="ServiceClient::Errors::RequestTimeoutError (class)">RequestTimeoutError</a></span>, <span class='object_link'><a href="Errors/RequestURITooLongError.html" title="ServiceClient::Errors::RequestURITooLongError (class)">RequestURITooLongError</a></span>, <span class='object_link'><a href="Errors/RequestedRangeNotSatisfiableError.html" title="ServiceClient::Errors::RequestedRangeNotSatisfiableError (class)">RequestedRangeNotSatisfiableError</a></span>, <span class='object_link'><a href="Errors/RetryWithError.html" title="ServiceClient::Errors::RetryWithError (class)">RetryWithError</a></span>, <span class='object_link'><a href="Errors/ServiceUnavailableError.html" title="ServiceClient::Errors::ServiceUnavailableError (class)">ServiceUnavailableError</a></span>, <span class='object_link'><a href="Errors/TooManyRequestsError.html" title="ServiceClient::Errors::TooManyRequestsError (class)">TooManyRequestsError</a></span>, <span class='object_link'><a href="Errors/UnauthorizedError.html" title="ServiceClient::Errors::UnauthorizedError (class)">UnauthorizedError</a></span>, <span class='object_link'><a href="Errors/UnavailableForLegalReasonsError.html" title="ServiceClient::Errors::UnavailableForLegalReasonsError (class)">UnavailableForLegalReasonsError</a></span>, <span class='object_link'><a href="Errors/UnprocessableEntityError.html" title="ServiceClient::Errors::UnprocessableEntityError (class)">UnprocessableEntityError</a></span>, <span class='object_link'><a href="Errors/UnsupportedMediaTypeError.html" title="ServiceClient::Errors::UnsupportedMediaTypeError (class)">UnsupportedMediaTypeError</a></span>, <span class='object_link'><a href="Errors/UpgradeRequiredError.html" title="ServiceClient::Errors::UpgradeRequiredError (class)">UpgradeRequiredError</a></span>, <span class='object_link'><a href="Errors/VariantAlsoNegotiatesError.html" title="ServiceClient::Errors::VariantAlsoNegotiatesError (class)">VariantAlsoNegotiatesError</a></span>
|
109
|
+
|
110
|
+
|
111
|
+
</p>
|
112
|
+
|
113
|
+
|
114
|
+
<h2>
|
115
|
+
Constant Summary
|
116
|
+
<small><a href="#" class="constants_summary_toggle">collapse</a></small>
|
117
|
+
</h2>
|
118
|
+
|
119
|
+
<dl class="constants">
|
120
|
+
|
121
|
+
<dt id="ERRORS-constant" class="">ERRORS =
|
122
|
+
|
123
|
+
</dt>
|
124
|
+
<dd><pre class="code"><span class='lbrace'>{</span>
|
125
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>400</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/BadRequestError.html" title="ServiceClient::Errors::BadRequestError (class)">BadRequestError</a></span></span><span class='comma'>,</span>
|
126
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>401</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/UnauthorizedError.html" title="ServiceClient::Errors::UnauthorizedError (class)">UnauthorizedError</a></span></span><span class='comma'>,</span>
|
127
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>402</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/PaymentRequiredError.html" title="ServiceClient::Errors::PaymentRequiredError (class)">PaymentRequiredError</a></span></span><span class='comma'>,</span>
|
128
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>403</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/ForbiddenError.html" title="ServiceClient::Errors::ForbiddenError (class)">ForbiddenError</a></span></span><span class='comma'>,</span>
|
129
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>404</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/NotFoundError.html" title="ServiceClient::Errors::NotFoundError (class)">NotFoundError</a></span></span><span class='comma'>,</span>
|
130
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>405</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/MethodNotAllowedError.html" title="ServiceClient::Errors::MethodNotAllowedError (class)">MethodNotAllowedError</a></span></span><span class='comma'>,</span>
|
131
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>406</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/NotAcceptableError.html" title="ServiceClient::Errors::NotAcceptableError (class)">NotAcceptableError</a></span></span><span class='comma'>,</span>
|
132
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>407</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/ProxyAuthenticationRequiredError.html" title="ServiceClient::Errors::ProxyAuthenticationRequiredError (class)">ProxyAuthenticationRequiredError</a></span></span><span class='comma'>,</span>
|
133
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>408</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/RequestTimeoutError.html" title="ServiceClient::Errors::RequestTimeoutError (class)">RequestTimeoutError</a></span></span><span class='comma'>,</span>
|
134
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>409</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/ConflictError.html" title="ServiceClient::Errors::ConflictError (class)">ConflictError</a></span></span><span class='comma'>,</span>
|
135
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>410</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/GoneError.html" title="ServiceClient::Errors::GoneError (class)">GoneError</a></span></span><span class='comma'>,</span>
|
136
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>411</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/LengthRequiredError.html" title="ServiceClient::Errors::LengthRequiredError (class)">LengthRequiredError</a></span></span><span class='comma'>,</span>
|
137
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>412</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/PreconditionFailedError.html" title="ServiceClient::Errors::PreconditionFailedError (class)">PreconditionFailedError</a></span></span><span class='comma'>,</span>
|
138
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>413</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/RequestEntityTooLargeError.html" title="ServiceClient::Errors::RequestEntityTooLargeError (class)">RequestEntityTooLargeError</a></span></span><span class='comma'>,</span>
|
139
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>414</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/RequestURITooLongError.html" title="ServiceClient::Errors::RequestURITooLongError (class)">RequestURITooLongError</a></span></span><span class='comma'>,</span>
|
140
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>415</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/UnsupportedMediaTypeError.html" title="ServiceClient::Errors::UnsupportedMediaTypeError (class)">UnsupportedMediaTypeError</a></span></span><span class='comma'>,</span>
|
141
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>416</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/RequestedRangeNotSatisfiableError.html" title="ServiceClient::Errors::RequestedRangeNotSatisfiableError (class)">RequestedRangeNotSatisfiableError</a></span></span><span class='comma'>,</span>
|
142
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>417</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/ExpectationFailedError.html" title="ServiceClient::Errors::ExpectationFailedError (class)">ExpectationFailedError</a></span></span><span class='comma'>,</span>
|
143
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>420</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/EnhanceYourCalmError.html" title="ServiceClient::Errors::EnhanceYourCalmError (class)">EnhanceYourCalmError</a></span></span><span class='comma'>,</span>
|
144
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>422</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/UnprocessableEntityError.html" title="ServiceClient::Errors::UnprocessableEntityError (class)">UnprocessableEntityError</a></span></span><span class='comma'>,</span>
|
145
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>423</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/LockedError.html" title="ServiceClient::Errors::LockedError (class)">LockedError</a></span></span><span class='comma'>,</span>
|
146
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>424</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/FailedDependencyError.html" title="ServiceClient::Errors::FailedDependencyError (class)">FailedDependencyError</a></span></span><span class='comma'>,</span>
|
147
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>426</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/UpgradeRequiredError.html" title="ServiceClient::Errors::UpgradeRequiredError (class)">UpgradeRequiredError</a></span></span><span class='comma'>,</span>
|
148
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>428</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/PreconditionRequiredError.html" title="ServiceClient::Errors::PreconditionRequiredError (class)">PreconditionRequiredError</a></span></span><span class='comma'>,</span>
|
149
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>429</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/TooManyRequestsError.html" title="ServiceClient::Errors::TooManyRequestsError (class)">TooManyRequestsError</a></span></span><span class='comma'>,</span>
|
150
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>431</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/RequestHeaderFieldsTooLargeError.html" title="ServiceClient::Errors::RequestHeaderFieldsTooLargeError (class)">RequestHeaderFieldsTooLargeError</a></span></span><span class='comma'>,</span>
|
151
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>444</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/NoResponseError.html" title="ServiceClient::Errors::NoResponseError (class)">NoResponseError</a></span></span><span class='comma'>,</span>
|
152
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>449</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/RetryWithError.html" title="ServiceClient::Errors::RetryWithError (class)">RetryWithError</a></span></span><span class='comma'>,</span>
|
153
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>450</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/BlockedByWindowsParentalControlsError.html" title="ServiceClient::Errors::BlockedByWindowsParentalControlsError (class)">BlockedByWindowsParentalControlsError</a></span></span><span class='comma'>,</span>
|
154
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>451</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/UnavailableForLegalReasonsError.html" title="ServiceClient::Errors::UnavailableForLegalReasonsError (class)">UnavailableForLegalReasonsError</a></span></span><span class='comma'>,</span>
|
155
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>499</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/ClientClosedRequestError.html" title="ServiceClient::Errors::ClientClosedRequestError (class)">ClientClosedRequestError</a></span></span><span class='comma'>,</span>
|
156
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>500</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/InternalServerError.html" title="ServiceClient::Errors::InternalServerError (class)">InternalServerError</a></span></span><span class='comma'>,</span>
|
157
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>501</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/NotImplementedError.html" title="ServiceClient::Errors::NotImplementedError (class)">NotImplementedError</a></span></span><span class='comma'>,</span>
|
158
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>502</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/BadGatewayError.html" title="ServiceClient::Errors::BadGatewayError (class)">BadGatewayError</a></span></span><span class='comma'>,</span>
|
159
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>503</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/ServiceUnavailableError.html" title="ServiceClient::Errors::ServiceUnavailableError (class)">ServiceUnavailableError</a></span></span><span class='comma'>,</span>
|
160
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>504</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/GatewayTimeoutError.html" title="ServiceClient::Errors::GatewayTimeoutError (class)">GatewayTimeoutError</a></span></span><span class='comma'>,</span>
|
161
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>505</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/HTTPVersionNotSupportedError.html" title="ServiceClient::Errors::HTTPVersionNotSupportedError (class)">HTTPVersionNotSupportedError</a></span></span><span class='comma'>,</span>
|
162
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>506</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/VariantAlsoNegotiatesError.html" title="ServiceClient::Errors::VariantAlsoNegotiatesError (class)">VariantAlsoNegotiatesError</a></span></span><span class='comma'>,</span>
|
163
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>507</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/InsufficientStorageError.html" title="ServiceClient::Errors::InsufficientStorageError (class)">InsufficientStorageError</a></span></span><span class='comma'>,</span>
|
164
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>508</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/LoopDetectedError.html" title="ServiceClient::Errors::LoopDetectedError (class)">LoopDetectedError</a></span></span><span class='comma'>,</span>
|
165
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>510</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/NotExtendedError.html" title="ServiceClient::Errors::NotExtendedError (class)">NotExtendedError</a></span></span><span class='comma'>,</span>
|
166
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>511</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/NetworkAuthenticationRequiredError.html" title="ServiceClient::Errors::NetworkAuthenticationRequiredError (class)">NetworkAuthenticationRequiredError</a></span></span><span class='comma'>,</span>
|
167
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>598</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/NetworkReadTimeoutError.html" title="ServiceClient::Errors::NetworkReadTimeoutError (class)">NetworkReadTimeoutError</a></span></span><span class='comma'>,</span>
|
168
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>599</span><span class='label_end'>':</span> <span class='const'><span class='object_link'><a href="Errors/NetworkConnectTimeoutError.html" title="ServiceClient::Errors::NetworkConnectTimeoutError (class)">NetworkConnectTimeoutError</a></span></span><span class='comma'>,</span>
|
169
|
+
<span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
170
|
+
|
171
|
+
</dl>
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
<h2>
|
182
|
+
Instance Method Summary
|
183
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
184
|
+
</h2>
|
185
|
+
|
186
|
+
<ul class="summary">
|
187
|
+
|
188
|
+
<li class="public ">
|
189
|
+
<span class="summary_signature">
|
190
|
+
|
191
|
+
<a href="#raise_error-instance_method" title="#raise_error (instance method)">#<strong>raise_error</strong>(code, response) ⇒ void </a>
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
</span>
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
<span class="summary_desc"><div class='inline'>
|
206
|
+
<p>Raises an error based on the given HTTP response.</p>
|
207
|
+
</div></span>
|
208
|
+
|
209
|
+
</li>
|
210
|
+
|
211
|
+
|
212
|
+
</ul>
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
<div id="instance_method_details" class="method_details_list">
|
218
|
+
<h2>Instance Method Details</h2>
|
219
|
+
|
220
|
+
|
221
|
+
<div class="method_details first">
|
222
|
+
<h3 class="signature first" id="raise_error-instance_method">
|
223
|
+
|
224
|
+
#<strong>raise_error</strong>(code, response) ⇒ <tt>void</tt>
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
</h3><div class="docstring">
|
231
|
+
<div class="discussion">
|
232
|
+
<p class="note returns_void">This method returns an undefined value.</p>
|
233
|
+
<p>Raises an error based on the given HTTP response.</p>
|
234
|
+
|
235
|
+
<p>raise [BaseError] The error that corresponds to the given HTTP response code.</p>
|
236
|
+
|
237
|
+
|
238
|
+
</div>
|
239
|
+
</div>
|
240
|
+
<div class="tags">
|
241
|
+
<p class="tag_title">Parameters:</p>
|
242
|
+
<ul class="param">
|
243
|
+
|
244
|
+
<li>
|
245
|
+
|
246
|
+
<span class='name'>code</span>
|
247
|
+
|
248
|
+
|
249
|
+
<span class='type'>(<tt>String</tt>)</span>
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
—
|
254
|
+
<div class='inline'>
|
255
|
+
<p>The HTTP response code.</p>
|
256
|
+
</div>
|
257
|
+
|
258
|
+
</li>
|
259
|
+
|
260
|
+
<li>
|
261
|
+
|
262
|
+
<span class='name'>response</span>
|
263
|
+
|
264
|
+
|
265
|
+
<span class='type'>(<tt>HTTParty::Response</tt>)</span>
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
—
|
270
|
+
<div class='inline'>
|
271
|
+
<p>The HTTP response.</p>
|
272
|
+
</div>
|
273
|
+
|
274
|
+
</li>
|
275
|
+
|
276
|
+
</ul>
|
277
|
+
|
278
|
+
<p class="tag_title">Raises:</p>
|
279
|
+
<ul class="raise">
|
280
|
+
|
281
|
+
<li>
|
282
|
+
|
283
|
+
|
284
|
+
<span class='type'>(<tt><span class='object_link'><a href="#ERRORS-constant" title="ServiceClient::Errors::ERRORS (constant)">ERRORS</a></span>[code.to_sym]</tt>)</span>
|
285
|
+
|
286
|
+
|
287
|
+
|
288
|
+
</li>
|
289
|
+
|
290
|
+
</ul>
|
291
|
+
|
292
|
+
</div><table class="source_code">
|
293
|
+
<tr>
|
294
|
+
<td>
|
295
|
+
<pre class="lines">
|
296
|
+
|
297
|
+
|
298
|
+
167
|
299
|
+
168
|
300
|
+
169</pre>
|
301
|
+
</td>
|
302
|
+
<td>
|
303
|
+
<pre class="code"><span class="info file"># File 'lib/service_client/errors.rb', line 167</span>
|
304
|
+
|
305
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_raise_error'>raise_error</span><span class='lparen'>(</span><span class='id identifier rubyid_code'>code</span><span class='comma'>,</span> <span class='id identifier rubyid_response'>response</span><span class='rparen'>)</span>
|
306
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="#ERRORS-constant" title="ServiceClient::Errors::ERRORS (constant)">ERRORS</a></span></span><span class='lbracket'>[</span><span class='id identifier rubyid_code'>code</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="#ERRORS-constant" title="ServiceClient::Errors::ERRORS (constant)">ERRORS</a></span></span><span class='lbracket'>[</span><span class='id identifier rubyid_code'>code</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_response'>response</span><span class='rparen'>)</span>
|
307
|
+
<span class='kw'>end</span></pre>
|
308
|
+
</td>
|
309
|
+
</tr>
|
310
|
+
</table>
|
311
|
+
</div>
|
312
|
+
|
313
|
+
</div>
|
314
|
+
|
315
|
+
</div>
|
316
|
+
|
317
|
+
<div id="footer">
|
318
|
+
Generated on Thu Feb 23 08:25:38 2023 by
|
319
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
320
|
+
0.9.28 (ruby-2.7.1).
|
321
|
+
</div>
|
322
|
+
|
323
|
+
</div>
|
324
|
+
</body>
|
325
|
+
</html>
|
@@ -0,0 +1,135 @@
|
|
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: ServiceClient::ParamsRequired
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.28
|
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 = "ServiceClient::ParamsRequired";
|
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 (P)</a> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../ServiceClient.html" title="ServiceClient (module)">ServiceClient</a></span></span>
|
41
|
+
»
|
42
|
+
<span class="title">ParamsRequired</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: ServiceClient::ParamsRequired
|
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">ServiceClient::ParamsRequired</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/service_client/base.rb</dd>
|
100
|
+
</dl>
|
101
|
+
|
102
|
+
</div>
|
103
|
+
|
104
|
+
<h2>Overview</h2><div class="docstring">
|
105
|
+
<div class="discussion">
|
106
|
+
|
107
|
+
<p>ParamsRequired error</p>
|
108
|
+
|
109
|
+
|
110
|
+
</div>
|
111
|
+
</div>
|
112
|
+
<div class="tags">
|
113
|
+
|
114
|
+
|
115
|
+
</div>
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
</div>
|
126
|
+
|
127
|
+
<div id="footer">
|
128
|
+
Generated on Wed Feb 22 21:05:56 2023 by
|
129
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
130
|
+
0.9.28 (ruby-2.7.1).
|
131
|
+
</div>
|
132
|
+
|
133
|
+
</div>
|
134
|
+
</body>
|
135
|
+
</html>
|