strongdm 1.0.2 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +28 -6
- data/doc/LICENSE.html +6 -11
- data/doc/Object.html +6 -361
- data/doc/README_md.html +37 -19
- data/doc/SDM.html +6 -3
- data/doc/SDM/AKS.html +45 -6
- data/doc/SDM/AKSBasicAuth.html +45 -6
- data/doc/SDM/AKSServiceAccount.html +45 -6
- data/doc/SDM/AccountAttachment.html +8 -5
- data/doc/SDM/AccountAttachmentCreateOptions.html +6 -3
- data/doc/SDM/AccountAttachmentCreateResponse.html +8 -5
- data/doc/SDM/AccountAttachmentDeleteResponse.html +8 -5
- data/doc/SDM/AccountAttachmentGetResponse.html +8 -5
- data/doc/SDM/AccountAttachments.html +27 -26
- data/doc/SDM/AccountCreateResponse.html +8 -5
- data/doc/SDM/AccountDeleteResponse.html +8 -5
- data/doc/SDM/AccountGetResponse.html +8 -5
- data/doc/SDM/AccountGrant.html +8 -5
- data/doc/SDM/AccountGrantCreateResponse.html +8 -5
- data/doc/SDM/AccountGrantDeleteResponse.html +8 -5
- data/doc/SDM/AccountGrantGetResponse.html +8 -5
- data/doc/SDM/AccountGrants.html +29 -26
- data/doc/SDM/AccountUpdateResponse.html +8 -5
- data/doc/SDM/Accounts.html +35 -32
- data/doc/SDM/AlreadyExistsError.html +6 -3
- data/doc/SDM/AmazonEKS.html +45 -6
- data/doc/SDM/AmazonES.html +27 -6
- data/doc/SDM/Athena.html +27 -6
- data/doc/SDM/AuroraMysql.html +27 -6
- data/doc/SDM/AuroraPostgres.html +27 -6
- data/doc/SDM/AuthenticationError.html +6 -3
- data/doc/SDM/BadRequestError.html +6 -3
- data/doc/SDM/BigQuery.html +27 -6
- data/doc/SDM/Cassandra.html +27 -6
- data/doc/SDM/Citus.html +409 -0
- data/doc/SDM/Client.html +7 -4
- data/doc/SDM/Clustrix.html +27 -6
- data/doc/SDM/Cockroach.html +27 -6
- data/doc/SDM/CreateResponseMetadata.html +6 -3
- data/doc/SDM/DB2.html +391 -0
- data/doc/SDM/DB2LUW.html +391 -0
- data/doc/SDM/DB2i.html +391 -0
- data/doc/SDM/DeadlineExceededError.html +6 -3
- data/doc/SDM/DeleteResponseMetadata.html +6 -3
- data/doc/SDM/Druid.html +27 -6
- data/doc/SDM/DynamoDB.html +27 -6
- data/doc/SDM/Elastic.html +27 -6
- data/doc/SDM/ElasticacheRedis.html +27 -6
- data/doc/SDM/Gateway.html +27 -6
- data/doc/SDM/GetResponseMetadata.html +6 -3
- data/doc/SDM/GoogleGKE.html +45 -6
- data/doc/SDM/Greenplum.html +27 -6
- data/doc/SDM/HTTPAuth.html +27 -6
- data/doc/SDM/HTTPBasicAuth.html +27 -6
- data/doc/SDM/HTTPNoAuth.html +27 -6
- data/doc/SDM/InternalError.html +6 -3
- data/doc/SDM/Kubernetes.html +45 -6
- data/doc/SDM/KubernetesBasicAuth.html +45 -6
- data/doc/SDM/KubernetesServiceAccount.html +45 -6
- data/doc/SDM/Maria.html +27 -6
- data/doc/SDM/Memcached.html +27 -6
- data/doc/SDM/Memsql.html +27 -6
- data/doc/SDM/MongoHost.html +27 -6
- data/doc/SDM/MongoLegacyHost.html +27 -6
- data/doc/SDM/MongoLegacyReplicaset.html +27 -6
- data/doc/SDM/MongoReplicaSet.html +27 -6
- data/doc/SDM/Mysql.html +27 -6
- data/doc/SDM/NodeCreateResponse.html +8 -5
- data/doc/SDM/NodeDeleteResponse.html +8 -5
- data/doc/SDM/NodeGetResponse.html +8 -5
- data/doc/SDM/NodeUpdateResponse.html +8 -5
- data/doc/SDM/Nodes.html +35 -32
- data/doc/SDM/NotFoundError.html +6 -3
- data/doc/SDM/Oracle.html +27 -6
- data/doc/SDM/PermissionError.html +6 -3
- data/doc/SDM/Plumbing.html +4351 -3569
- data/doc/SDM/Postgres.html +27 -6
- data/doc/SDM/Presto.html +27 -6
- data/doc/SDM/RDP.html +27 -6
- data/doc/SDM/RPCError.html +6 -3
- data/doc/SDM/RateLimitError.html +6 -3
- data/doc/SDM/RateLimitMetadata.html +6 -3
- data/doc/SDM/Redis.html +27 -6
- data/doc/SDM/Redshift.html +27 -6
- data/doc/SDM/Relay.html +28 -7
- data/doc/SDM/ResourceCreateResponse.html +8 -5
- data/doc/SDM/ResourceDeleteResponse.html +8 -5
- data/doc/SDM/ResourceGetResponse.html +8 -5
- data/doc/SDM/ResourceUpdateResponse.html +8 -5
- data/doc/SDM/Resources.html +34 -31
- data/doc/SDM/Role.html +27 -6
- data/doc/SDM/RoleAttachment.html +8 -5
- data/doc/SDM/RoleAttachmentCreateResponse.html +8 -5
- data/doc/SDM/RoleAttachmentDeleteResponse.html +8 -5
- data/doc/SDM/RoleAttachmentGetResponse.html +8 -5
- data/doc/SDM/RoleAttachments.html +28 -25
- data/doc/SDM/RoleCreateResponse.html +8 -5
- data/doc/SDM/RoleDeleteResponse.html +8 -5
- data/doc/SDM/RoleGetResponse.html +8 -5
- data/doc/SDM/RoleGrant.html +8 -5
- data/doc/SDM/RoleGrantCreateResponse.html +8 -5
- data/doc/SDM/RoleGrantDeleteResponse.html +8 -5
- data/doc/SDM/RoleGrantGetResponse.html +8 -5
- data/doc/SDM/RoleGrants.html +28 -25
- data/doc/SDM/RoleUpdateResponse.html +8 -5
- data/doc/SDM/Roles.html +34 -31
- data/doc/SDM/SQLServer.html +27 -6
- data/doc/SDM/SSH.html +45 -6
- data/doc/SDM/SSHCert.html +373 -0
- data/doc/SDM/Service.html +27 -6
- data/doc/SDM/Snowflake.html +27 -6
- data/doc/SDM/Sybase.html +27 -6
- data/doc/SDM/SybaseIQ.html +27 -6
- data/doc/SDM/Teradata.html +27 -6
- data/doc/SDM/UpdateResponseMetadata.html +6 -3
- data/doc/SDM/User.html +27 -6
- data/doc/V1.html +36 -8
- data/doc/V1/AccountAttachments.html +6 -3
- data/doc/V1/AccountAttachments/Service.html +6 -3
- data/doc/V1/AccountGrants.html +6 -3
- data/doc/V1/AccountGrants/Service.html +7 -4
- data/doc/V1/Accounts.html +6 -3
- data/doc/V1/Accounts/Service.html +6 -3
- data/doc/V1/Nodes.html +6 -3
- data/doc/V1/Nodes/Service.html +6 -3
- data/doc/V1/Resources.html +6 -3
- data/doc/V1/Resources/Service.html +6 -3
- data/doc/V1/RoleAttachments.html +6 -3
- data/doc/V1/RoleAttachments/Service.html +6 -3
- data/doc/V1/RoleGrants.html +6 -3
- data/doc/V1/RoleGrants/Service.html +6 -3
- data/doc/V1/Roles.html +6 -3
- data/doc/V1/Roles/Service.html +6 -3
- data/doc/V1/Tags.html +113 -0
- data/doc/created.rid +38 -41
- data/doc/css/rdoc.css +22 -1
- data/doc/examples/Gemfile.html +6 -11
- data/doc/examples/Gemfile_lock.html +6 -3
- data/doc/examples/README_md.html +6 -3
- data/doc/examples/okta-sync/Gemfile.html +6 -3
- data/doc/examples/okta-sync/Gemfile_lock.html +6 -3
- data/doc/index.html +16 -13
- data/doc/js/darkfish.js +22 -99
- data/doc/js/navigation.js +4 -40
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +32 -31
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +6 -6
- data/doc/js/searcher.js.gz +0 -0
- data/doc/lib/version.html +8 -13
- data/doc/strongdm_gemspec.html +6 -11
- data/doc/table_of_contents.html +1035 -932
- data/examples/Gemfile +2 -2
- data/examples/listUsers.rb +8 -8
- data/lib/errors/errors.rb +53 -55
- data/lib/grpc/account_attachments_pb.rb +9 -14
- data/lib/grpc/account_attachments_services_pb.rb +8 -7
- data/lib/grpc/account_grants_pb.rb +10 -10
- data/lib/grpc/account_grants_services_pb.rb +9 -8
- data/lib/grpc/accounts_pb.rb +12 -9
- data/lib/grpc/accounts_services_pb.rb +8 -7
- data/lib/grpc/drivers_pb.rb +117 -7
- data/lib/grpc/nodes_pb.rb +12 -9
- data/lib/grpc/nodes_services_pb.rb +8 -7
- data/lib/grpc/options_pb.rb +16 -5
- data/lib/grpc/plumbing.rb +4426 -4085
- data/lib/grpc/protoc-gen-swagger/options/annotations_pb.rb +4 -4
- data/lib/grpc/resources_pb.rb +9 -9
- data/lib/grpc/resources_services_pb.rb +8 -7
- data/lib/grpc/role_attachments_pb.rb +9 -9
- data/lib/grpc/role_attachments_services_pb.rb +8 -7
- data/lib/grpc/role_grants_pb.rb +9 -9
- data/lib/grpc/role_grants_services_pb.rb +8 -7
- data/lib/grpc/roles_pb.rb +11 -9
- data/lib/grpc/roles_services_pb.rb +8 -7
- data/lib/grpc/spec_pb.rb +7 -8
- data/lib/grpc/tags_pb.rb +36 -0
- data/lib/models/porcelain.rb +5348 -4415
- data/lib/strongdm.rb +95 -94
- data/lib/svc.rb +1222 -1202
- data/lib/version +16 -2
- data/lib/version.rb +1 -1
- data/strongdm.gemspec +10 -10
- metadata +9 -9
- data/examples/Gemfile.lock +0 -14
- data/examples/README.md +0 -5
- data/examples/okta-sync/Gemfile +0 -4
- data/examples/okta-sync/Gemfile.lock +0 -38
- data/examples/okta-sync/matchers.yml +0 -11
- data/examples/okta-sync/oktaSync.rb +0 -215
- data/examples/panicButton.rb +0 -180
data/doc/SDM/Relay.html
CHANGED
@@ -11,8 +11,11 @@
|
|
11
11
|
var index_rel_prefix = "../";
|
12
12
|
</script>
|
13
13
|
|
14
|
-
<script src="../js/
|
15
|
-
<script src="../js/
|
14
|
+
<script src="../js/navigation.js" defer></script>
|
15
|
+
<script src="../js/search.js" defer></script>
|
16
|
+
<script src="../js/search_index.js" defer></script>
|
17
|
+
<script src="../js/searcher.js" defer></script>
|
18
|
+
<script src="../js/darkfish.js" defer></script>
|
16
19
|
|
17
20
|
<link href="../css/fonts.css" rel="stylesheet">
|
18
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
@@ -142,7 +145,20 @@
|
|
142
145
|
|
143
146
|
<div class="method-description">
|
144
147
|
|
145
|
-
<p>The current state of the relay. One of: “new”, “verifying_restart”, “restarting”, “started”, “stopped”, “dead”, “unknown
|
148
|
+
<p>The current state of the relay. One of: “new”, “verifying_restart”, “awaiting_restart”, “restarting”, “started”, “stopped”, “dead”, “unknown”.</p>
|
149
|
+
|
150
|
+
</div>
|
151
|
+
</div>
|
152
|
+
|
153
|
+
<div id="attribute-i-tags" class="method-detail">
|
154
|
+
<div class="method-heading attribute-method-heading">
|
155
|
+
<span class="method-name">tags</span><span
|
156
|
+
class="attribute-access-type">[RW]</span>
|
157
|
+
</div>
|
158
|
+
|
159
|
+
<div class="method-description">
|
160
|
+
|
161
|
+
<p>Tags is a map of key, value pairs.</p>
|
146
162
|
|
147
163
|
</div>
|
148
164
|
</div>
|
@@ -161,7 +177,7 @@
|
|
161
177
|
|
162
178
|
<div class="method-heading">
|
163
179
|
<span class="method-name">new</span><span
|
164
|
-
class="method-args">( id:nil \ , name:nil \ , state:nil \ )</span>
|
180
|
+
class="method-args">( id:nil \ , name:nil \ , state:nil \ , tags:nil \ )</span>
|
165
181
|
|
166
182
|
<span class="method-click-advice">click to toggle source</span>
|
167
183
|
|
@@ -176,13 +192,15 @@
|
|
176
192
|
|
177
193
|
|
178
194
|
<div class="method-source-code" id="new-source">
|
179
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
195
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4734</span>
|
180
196
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
181
197
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
182
198
|
,
|
183
199
|
<span class="ruby-value">name:</span><span class="ruby-keyword">nil</span> \
|
184
200
|
,
|
185
201
|
<span class="ruby-value">state:</span><span class="ruby-keyword">nil</span> \
|
202
|
+
,
|
203
|
+
<span class="ruby-value">tags:</span><span class="ruby-keyword">nil</span> \
|
186
204
|
)
|
187
205
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">id</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
188
206
|
<span class="ruby-ivar">@id</span> = <span class="ruby-identifier">id</span>
|
@@ -193,6 +211,9 @@
|
|
193
211
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">state</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
194
212
|
<span class="ruby-ivar">@state</span> = <span class="ruby-identifier">state</span>
|
195
213
|
<span class="ruby-keyword">end</span>
|
214
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">tags</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
215
|
+
<span class="ruby-ivar">@tags</span> = <span class="ruby-identifier">tags</span>
|
216
|
+
<span class="ruby-keyword">end</span>
|
196
217
|
<span class="ruby-keyword">end</span></pre>
|
197
218
|
</div>
|
198
219
|
|
@@ -231,7 +252,7 @@
|
|
231
252
|
|
232
253
|
|
233
254
|
<div class="method-source-code" id="to_json-source">
|
234
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
255
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4756</span>
|
235
256
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
236
257
|
<span class="ruby-identifier">hash</span> = {}
|
237
258
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -258,7 +279,7 @@
|
|
258
279
|
|
259
280
|
<footer id="validator-badges" role="contentinfo">
|
260
281
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
261
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
282
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.2.
|
262
283
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
263
284
|
</footer>
|
264
285
|
|
@@ -11,8 +11,11 @@
|
|
11
11
|
var index_rel_prefix = "../";
|
12
12
|
</script>
|
13
13
|
|
14
|
-
<script src="../js/
|
15
|
-
<script src="../js/
|
14
|
+
<script src="../js/navigation.js" defer></script>
|
15
|
+
<script src="../js/search.js" defer></script>
|
16
|
+
<script src="../js/search_index.js" defer></script>
|
17
|
+
<script src="../js/searcher.js" defer></script>
|
18
|
+
<script src="../js/darkfish.js" defer></script>
|
16
19
|
|
17
20
|
<link href="../css/fonts.css" rel="stylesheet">
|
18
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
@@ -176,7 +179,7 @@
|
|
176
179
|
|
177
180
|
|
178
181
|
<div class="method-source-code" id="new-source">
|
179
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
182
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4828</span>
|
180
183
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
181
184
|
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
182
185
|
,
|
@@ -231,7 +234,7 @@
|
|
231
234
|
|
232
235
|
|
233
236
|
<div class="method-source-code" id="to_json-source">
|
234
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
237
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4845</span>
|
235
238
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
236
239
|
<span class="ruby-identifier">hash</span> = {}
|
237
240
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -258,7 +261,7 @@
|
|
258
261
|
|
259
262
|
<footer id="validator-badges" role="contentinfo">
|
260
263
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
261
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
264
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.2.
|
262
265
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
263
266
|
</footer>
|
264
267
|
|
@@ -11,8 +11,11 @@
|
|
11
11
|
var index_rel_prefix = "../";
|
12
12
|
</script>
|
13
13
|
|
14
|
-
<script src="../js/
|
15
|
-
<script src="../js/
|
14
|
+
<script src="../js/navigation.js" defer></script>
|
15
|
+
<script src="../js/search.js" defer></script>
|
16
|
+
<script src="../js/search_index.js" defer></script>
|
17
|
+
<script src="../js/searcher.js" defer></script>
|
18
|
+
<script src="../js/darkfish.js" defer></script>
|
16
19
|
|
17
20
|
<link href="../css/fonts.css" rel="stylesheet">
|
18
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
@@ -163,7 +166,7 @@
|
|
163
166
|
|
164
167
|
|
165
168
|
<div class="method-source-code" id="new-source">
|
166
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
169
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4926</span>
|
167
170
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
168
171
|
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
169
172
|
,
|
@@ -213,7 +216,7 @@
|
|
213
216
|
|
214
217
|
|
215
218
|
<div class="method-source-code" id="to_json-source">
|
216
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
219
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4938</span>
|
217
220
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
218
221
|
<span class="ruby-identifier">hash</span> = {}
|
219
222
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -240,7 +243,7 @@
|
|
240
243
|
|
241
244
|
<footer id="validator-badges" role="contentinfo">
|
242
245
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
243
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
246
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.2.
|
244
247
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
245
248
|
</footer>
|
246
249
|
|
@@ -11,8 +11,11 @@
|
|
11
11
|
var index_rel_prefix = "../";
|
12
12
|
</script>
|
13
13
|
|
14
|
-
<script src="../js/
|
15
|
-
<script src="../js/
|
14
|
+
<script src="../js/navigation.js" defer></script>
|
15
|
+
<script src="../js/search.js" defer></script>
|
16
|
+
<script src="../js/search_index.js" defer></script>
|
17
|
+
<script src="../js/searcher.js" defer></script>
|
18
|
+
<script src="../js/darkfish.js" defer></script>
|
16
19
|
|
17
20
|
<link href="../css/fonts.css" rel="stylesheet">
|
18
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
@@ -176,7 +179,7 @@
|
|
176
179
|
|
177
180
|
|
178
181
|
<div class="method-source-code" id="new-source">
|
179
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
182
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4861</span>
|
180
183
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
181
184
|
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
182
185
|
,
|
@@ -231,7 +234,7 @@
|
|
231
234
|
|
232
235
|
|
233
236
|
<div class="method-source-code" id="to_json-source">
|
234
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
237
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4878</span>
|
235
238
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
236
239
|
<span class="ruby-identifier">hash</span> = {}
|
237
240
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -258,7 +261,7 @@
|
|
258
261
|
|
259
262
|
<footer id="validator-badges" role="contentinfo">
|
260
263
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
261
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
264
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.2.
|
262
265
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
263
266
|
</footer>
|
264
267
|
|
@@ -11,8 +11,11 @@
|
|
11
11
|
var index_rel_prefix = "../";
|
12
12
|
</script>
|
13
13
|
|
14
|
-
<script src="../js/
|
15
|
-
<script src="../js/
|
14
|
+
<script src="../js/navigation.js" defer></script>
|
15
|
+
<script src="../js/search.js" defer></script>
|
16
|
+
<script src="../js/search_index.js" defer></script>
|
17
|
+
<script src="../js/searcher.js" defer></script>
|
18
|
+
<script src="../js/darkfish.js" defer></script>
|
16
19
|
|
17
20
|
<link href="../css/fonts.css" rel="stylesheet">
|
18
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
@@ -176,7 +179,7 @@
|
|
176
179
|
|
177
180
|
|
178
181
|
<div class="method-source-code" id="new-source">
|
179
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
182
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4895</span>
|
180
183
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
181
184
|
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
182
185
|
,
|
@@ -231,7 +234,7 @@
|
|
231
234
|
|
232
235
|
|
233
236
|
<div class="method-source-code" id="to_json-source">
|
234
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
237
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4912</span>
|
235
238
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
236
239
|
<span class="ruby-identifier">hash</span> = {}
|
237
240
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
@@ -258,7 +261,7 @@
|
|
258
261
|
|
259
262
|
<footer id="validator-badges" role="contentinfo">
|
260
263
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
261
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
264
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.2.
|
262
265
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
263
266
|
</footer>
|
264
267
|
|
data/doc/SDM/Resources.html
CHANGED
@@ -11,8 +11,11 @@
|
|
11
11
|
var index_rel_prefix = "../";
|
12
12
|
</script>
|
13
13
|
|
14
|
-
<script src="../js/
|
15
|
-
<script src="../js/
|
14
|
+
<script src="../js/navigation.js" defer></script>
|
15
|
+
<script src="../js/search.js" defer></script>
|
16
|
+
<script src="../js/search_index.js" defer></script>
|
17
|
+
<script src="../js/searcher.js" defer></script>
|
18
|
+
<script src="../js/darkfish.js" defer></script>
|
16
19
|
|
17
20
|
<link href="../css/fonts.css" rel="stylesheet">
|
18
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
@@ -135,7 +138,7 @@
|
|
135
138
|
|
136
139
|
|
137
140
|
<div class="method-source-code" id="new-source">
|
138
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
141
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 679</span>
|
139
142
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">host</span>, <span class="ruby-identifier">insecure</span>, <span class="ruby-identifier">parent</span>)
|
140
143
|
<span class="ruby-keyword">begin</span>
|
141
144
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">insecure</span>
|
@@ -145,7 +148,7 @@
|
|
145
148
|
<span class="ruby-ivar">@stub</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">Resources</span><span class="ruby-operator">::</span><span class="ruby-constant">Stub</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">host</span>, <span class="ruby-identifier">cred</span>)
|
146
149
|
<span class="ruby-keyword">end</span>
|
147
150
|
<span class="ruby-keyword">rescue</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">exception</span>
|
148
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
151
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
149
152
|
<span class="ruby-keyword">end</span>
|
150
153
|
<span class="ruby-ivar">@parent</span> = <span class="ruby-identifier">parent</span>
|
151
154
|
<span class="ruby-keyword">end</span></pre>
|
@@ -186,14 +189,14 @@
|
|
186
189
|
|
187
190
|
|
188
191
|
<div class="method-source-code" id="create-source">
|
189
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
192
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 693</span>
|
190
193
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">create</span>(
|
191
194
|
<span class="ruby-identifier">resource</span> \
|
192
195
|
,
|
193
196
|
<span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>)
|
194
197
|
<span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">ResourceCreateRequest</span>.<span class="ruby-identifier">new</span>()
|
195
198
|
|
196
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">resource</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
199
|
+
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">resource</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_resource_to_plumbing</span>(<span class="ruby-identifier">resource</span>)
|
197
200
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
198
201
|
<span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span>
|
199
202
|
<span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
|
@@ -205,16 +208,16 @@
|
|
205
208
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
206
209
|
<span class="ruby-keyword">next</span>
|
207
210
|
<span class="ruby-keyword">end</span>
|
208
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
211
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
209
212
|
<span class="ruby-keyword">end</span>
|
210
213
|
<span class="ruby-keyword">break</span>
|
211
214
|
<span class="ruby-keyword">end</span>
|
212
215
|
|
213
216
|
|
214
217
|
<span class="ruby-identifier">resp</span> = <span class="ruby-constant">ResourceCreateResponse</span>.<span class="ruby-identifier">new</span>()
|
215
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
216
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">resource</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
217
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
218
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_create_response_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>)
|
219
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">resource</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_resource_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">resource</span>)
|
220
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_rate_limit_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">rate_limit</span>)
|
218
221
|
<span class="ruby-identifier">resp</span>
|
219
222
|
<span class="ruby-keyword">end</span></pre>
|
220
223
|
</div>
|
@@ -246,14 +249,14 @@
|
|
246
249
|
|
247
250
|
|
248
251
|
<div class="method-source-code" id="delete-source">
|
249
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
252
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 786</span>
|
250
253
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">delete</span>(
|
251
254
|
<span class="ruby-identifier">id</span> \
|
252
255
|
,
|
253
256
|
<span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>)
|
254
257
|
<span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">ResourceDeleteRequest</span>.<span class="ruby-identifier">new</span>()
|
255
258
|
|
256
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = <span class="ruby-identifier">id</span>
|
259
|
+
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = (<span class="ruby-identifier">id</span>)
|
257
260
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
258
261
|
<span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span>
|
259
262
|
<span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
|
@@ -265,15 +268,15 @@
|
|
265
268
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
266
269
|
<span class="ruby-keyword">next</span>
|
267
270
|
<span class="ruby-keyword">end</span>
|
268
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
271
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
269
272
|
<span class="ruby-keyword">end</span>
|
270
273
|
<span class="ruby-keyword">break</span>
|
271
274
|
<span class="ruby-keyword">end</span>
|
272
275
|
|
273
276
|
|
274
277
|
<span class="ruby-identifier">resp</span> = <span class="ruby-constant">ResourceDeleteResponse</span>.<span class="ruby-identifier">new</span>()
|
275
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
276
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
278
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_delete_response_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>)
|
279
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_rate_limit_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">rate_limit</span>)
|
277
280
|
<span class="ruby-identifier">resp</span>
|
278
281
|
<span class="ruby-keyword">end</span></pre>
|
279
282
|
</div>
|
@@ -305,14 +308,14 @@
|
|
305
308
|
|
306
309
|
|
307
310
|
<div class="method-source-code" id="get-source">
|
308
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
311
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 724</span>
|
309
312
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get</span>(
|
310
313
|
<span class="ruby-identifier">id</span> \
|
311
314
|
,
|
312
315
|
<span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>)
|
313
316
|
<span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">ResourceGetRequest</span>.<span class="ruby-identifier">new</span>()
|
314
317
|
|
315
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = <span class="ruby-identifier">id</span>
|
318
|
+
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = (<span class="ruby-identifier">id</span>)
|
316
319
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
317
320
|
<span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span>
|
318
321
|
<span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
|
@@ -324,16 +327,16 @@
|
|
324
327
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
325
328
|
<span class="ruby-keyword">next</span>
|
326
329
|
<span class="ruby-keyword">end</span>
|
327
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
330
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
328
331
|
<span class="ruby-keyword">end</span>
|
329
332
|
<span class="ruby-keyword">break</span>
|
330
333
|
<span class="ruby-keyword">end</span>
|
331
334
|
|
332
335
|
|
333
336
|
<span class="ruby-identifier">resp</span> = <span class="ruby-constant">ResourceGetResponse</span>.<span class="ruby-identifier">new</span>()
|
334
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
335
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">resource</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
336
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
337
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_get_response_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>)
|
338
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">resource</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_resource_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">resource</span>)
|
339
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_rate_limit_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">rate_limit</span>)
|
337
340
|
<span class="ruby-identifier">resp</span>
|
338
341
|
<span class="ruby-keyword">end</span></pre>
|
339
342
|
</div>
|
@@ -365,7 +368,7 @@
|
|
365
368
|
|
366
369
|
|
367
370
|
<div class="method-source-code" id="list-source">
|
368
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
371
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 816</span>
|
369
372
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">list</span>(
|
370
373
|
<span class="ruby-identifier">filter</span> \
|
371
374
|
,
|
@@ -390,11 +393,11 @@
|
|
390
393
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
391
394
|
<span class="ruby-keyword">next</span>
|
392
395
|
<span class="ruby-keyword">end</span>
|
393
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
396
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
394
397
|
<span class="ruby-keyword">end</span>
|
395
398
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
396
399
|
<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">resources</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">plumbing_item</span><span class="ruby-operator">|</span>
|
397
|
-
<span class="ruby-identifier">g</span>.<span class="ruby-identifier">yield</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
400
|
+
<span class="ruby-identifier">g</span>.<span class="ruby-identifier">yield</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_resource_to_porcelain</span>(<span class="ruby-identifier">plumbing_item</span>)
|
398
401
|
<span class="ruby-keyword">end</span>
|
399
402
|
<span class="ruby-keyword">break</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>.<span class="ruby-identifier">next_cursor</span> <span class="ruby-operator">==</span> <span class="ruby-string">""</span>
|
400
403
|
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">meta</span>.<span class="ruby-identifier">cursor</span> = <span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>.<span class="ruby-identifier">next_cursor</span>
|
@@ -431,14 +434,14 @@
|
|
431
434
|
|
432
435
|
|
433
436
|
<div class="method-source-code" id="update-source">
|
434
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
437
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 755</span>
|
435
438
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">update</span>(
|
436
439
|
<span class="ruby-identifier">resource</span> \
|
437
440
|
,
|
438
441
|
<span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>)
|
439
442
|
<span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">ResourceUpdateRequest</span>.<span class="ruby-identifier">new</span>()
|
440
443
|
|
441
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">resource</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
444
|
+
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">resource</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_resource_to_plumbing</span>(<span class="ruby-identifier">resource</span>)
|
442
445
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
443
446
|
<span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span>
|
444
447
|
<span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
|
@@ -450,16 +453,16 @@
|
|
450
453
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
451
454
|
<span class="ruby-keyword">next</span>
|
452
455
|
<span class="ruby-keyword">end</span>
|
453
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
456
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_error_to_porcelain</span>(<span class="ruby-identifier">exception</span>)
|
454
457
|
<span class="ruby-keyword">end</span>
|
455
458
|
<span class="ruby-keyword">break</span>
|
456
459
|
<span class="ruby-keyword">end</span>
|
457
460
|
|
458
461
|
|
459
462
|
<span class="ruby-identifier">resp</span> = <span class="ruby-constant">ResourceUpdateResponse</span>.<span class="ruby-identifier">new</span>()
|
460
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
461
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">resource</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
462
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
463
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">meta</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_update_response_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">meta</span>)
|
464
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">resource</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_resource_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">resource</span>)
|
465
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">rate_limit</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_rate_limit_metadata_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">rate_limit</span>)
|
463
466
|
<span class="ruby-identifier">resp</span>
|
464
467
|
<span class="ruby-keyword">end</span></pre>
|
465
468
|
</div>
|
@@ -481,7 +484,7 @@
|
|
481
484
|
|
482
485
|
<footer id="validator-badges" role="contentinfo">
|
483
486
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
484
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
487
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.2.
|
485
488
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
486
489
|
</footer>
|
487
490
|
|