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/AccountGrant.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">
|
@@ -202,7 +205,7 @@
|
|
202
205
|
|
203
206
|
|
204
207
|
<div class="method-source-code" id="new-source">
|
205
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
208
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 345</span>
|
206
209
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
207
210
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
208
211
|
,
|
@@ -267,7 +270,7 @@
|
|
267
270
|
|
268
271
|
|
269
272
|
<div class="method-source-code" id="to_json-source">
|
270
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
273
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 372</span>
|
271
274
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
272
275
|
<span class="ruby-identifier">hash</span> = {}
|
273
276
|
<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>
|
@@ -294,7 +297,7 @@
|
|
294
297
|
|
295
298
|
<footer id="validator-badges" role="contentinfo">
|
296
299
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
297
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
300
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.2.
|
298
301
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
299
302
|
</footer>
|
300
303
|
|
@@ -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 247</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 264</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 311</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 323</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 280</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 297</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/AccountGrants.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">
|
@@ -95,7 +98,7 @@
|
|
95
98
|
|
96
99
|
<section class="description">
|
97
100
|
|
98
|
-
<p><a href="AccountGrants.html"><code>AccountGrants</code></a>
|
101
|
+
<p><a href="AccountGrants.html"><code>AccountGrants</code></a> assign a resource directly to an account, giving the account the permission to connect to that resource.</p>
|
99
102
|
|
100
103
|
</section>
|
101
104
|
|
@@ -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 174</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">AccountGrants</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 188</span>
|
190
193
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">create</span>(
|
191
194
|
<span class="ruby-identifier">account_grant</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">AccountGrantCreateRequest</span>.<span class="ruby-identifier">new</span>()
|
195
198
|
|
196
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">account_grant</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">account_grant</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_account_grant_to_plumbing</span>(<span class="ruby-identifier">account_grant</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">AccountGrantCreateResponse</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">account_grant</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">account_grant</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_account_grant_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">account_grant</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 250</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">AccountGrantDeleteRequest</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">AccountGrantDeleteResponse</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 219</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">AccountGrantGetRequest</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">AccountGrantGetResponse</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">account_grant</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">account_grant</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_account_grant_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">account_grant</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 280</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">account_grants</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_account_grant_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>
|
@@ -421,7 +424,7 @@
|
|
421
424
|
|
422
425
|
<footer id="validator-badges" role="contentinfo">
|
423
426
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
424
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
427
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.2.
|
425
428
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
426
429
|
</footer>
|
427
430
|
|
@@ -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 463</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 480</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/Accounts.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,7 @@
|
|
142
145
|
|
143
146
|
|
144
147
|
<div class="method-source-code" id="new-source">
|
145
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
148
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 322</span>
|
146
149
|
<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>)
|
147
150
|
<span class="ruby-keyword">begin</span>
|
148
151
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">insecure</span>
|
@@ -152,7 +155,7 @@
|
|
152
155
|
<span class="ruby-ivar">@stub</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">Accounts</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>)
|
153
156
|
<span class="ruby-keyword">end</span>
|
154
157
|
<span class="ruby-keyword">rescue</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">exception</span>
|
155
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
158
|
+
<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>)
|
156
159
|
<span class="ruby-keyword">end</span>
|
157
160
|
<span class="ruby-ivar">@parent</span> = <span class="ruby-identifier">parent</span>
|
158
161
|
<span class="ruby-keyword">end</span></pre>
|
@@ -193,14 +196,14 @@
|
|
193
196
|
|
194
197
|
|
195
198
|
<div class="method-source-code" id="create-source">
|
196
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
199
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 336</span>
|
197
200
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">create</span>(
|
198
201
|
<span class="ruby-identifier">account</span> \
|
199
202
|
,
|
200
203
|
<span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>)
|
201
204
|
<span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">AccountCreateRequest</span>.<span class="ruby-identifier">new</span>()
|
202
205
|
|
203
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">account</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
206
|
+
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">account</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_account_to_plumbing</span>(<span class="ruby-identifier">account</span>)
|
204
207
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
205
208
|
<span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span>
|
206
209
|
<span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
|
@@ -212,17 +215,17 @@
|
|
212
215
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
213
216
|
<span class="ruby-keyword">next</span>
|
214
217
|
<span class="ruby-keyword">end</span>
|
215
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
218
|
+
<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>)
|
216
219
|
<span class="ruby-keyword">end</span>
|
217
220
|
<span class="ruby-keyword">break</span>
|
218
221
|
<span class="ruby-keyword">end</span>
|
219
222
|
|
220
223
|
|
221
224
|
<span class="ruby-identifier">resp</span> = <span class="ruby-constant">AccountCreateResponse</span>.<span class="ruby-identifier">new</span>()
|
222
|
-
<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">
|
223
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">account</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
224
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">token</span> = <span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">token</span>
|
225
|
-
<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">
|
225
|
+
<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>)
|
226
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">account</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_account_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">account</span>)
|
227
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">token</span> = (<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">token</span>)
|
228
|
+
<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>)
|
226
229
|
<span class="ruby-identifier">resp</span>
|
227
230
|
<span class="ruby-keyword">end</span></pre>
|
228
231
|
</div>
|
@@ -254,14 +257,14 @@
|
|
254
257
|
|
255
258
|
|
256
259
|
<div class="method-source-code" id="delete-source">
|
257
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
260
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 430</span>
|
258
261
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">delete</span>(
|
259
262
|
<span class="ruby-identifier">id</span> \
|
260
263
|
,
|
261
264
|
<span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>)
|
262
265
|
<span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">AccountDeleteRequest</span>.<span class="ruby-identifier">new</span>()
|
263
266
|
|
264
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = <span class="ruby-identifier">id</span>
|
267
|
+
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = (<span class="ruby-identifier">id</span>)
|
265
268
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
266
269
|
<span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span>
|
267
270
|
<span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
|
@@ -273,15 +276,15 @@
|
|
273
276
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
274
277
|
<span class="ruby-keyword">next</span>
|
275
278
|
<span class="ruby-keyword">end</span>
|
276
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
279
|
+
<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>)
|
277
280
|
<span class="ruby-keyword">end</span>
|
278
281
|
<span class="ruby-keyword">break</span>
|
279
282
|
<span class="ruby-keyword">end</span>
|
280
283
|
|
281
284
|
|
282
285
|
<span class="ruby-identifier">resp</span> = <span class="ruby-constant">AccountDeleteResponse</span>.<span class="ruby-identifier">new</span>()
|
283
|
-
<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">
|
284
|
-
<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">
|
286
|
+
<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>)
|
287
|
+
<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>)
|
285
288
|
<span class="ruby-identifier">resp</span>
|
286
289
|
<span class="ruby-keyword">end</span></pre>
|
287
290
|
</div>
|
@@ -313,14 +316,14 @@
|
|
313
316
|
|
314
317
|
|
315
318
|
<div class="method-source-code" id="get-source">
|
316
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
319
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 368</span>
|
317
320
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get</span>(
|
318
321
|
<span class="ruby-identifier">id</span> \
|
319
322
|
,
|
320
323
|
<span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>)
|
321
324
|
<span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">AccountGetRequest</span>.<span class="ruby-identifier">new</span>()
|
322
325
|
|
323
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = <span class="ruby-identifier">id</span>
|
326
|
+
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">id</span> = (<span class="ruby-identifier">id</span>)
|
324
327
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
325
328
|
<span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span>
|
326
329
|
<span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
|
@@ -332,16 +335,16 @@
|
|
332
335
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
333
336
|
<span class="ruby-keyword">next</span>
|
334
337
|
<span class="ruby-keyword">end</span>
|
335
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
338
|
+
<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>)
|
336
339
|
<span class="ruby-keyword">end</span>
|
337
340
|
<span class="ruby-keyword">break</span>
|
338
341
|
<span class="ruby-keyword">end</span>
|
339
342
|
|
340
343
|
|
341
344
|
<span class="ruby-identifier">resp</span> = <span class="ruby-constant">AccountGetResponse</span>.<span class="ruby-identifier">new</span>()
|
342
|
-
<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">
|
343
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">account</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
344
|
-
<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">
|
345
|
+
<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>)
|
346
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">account</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_account_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">account</span>)
|
347
|
+
<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>)
|
345
348
|
<span class="ruby-identifier">resp</span>
|
346
349
|
<span class="ruby-keyword">end</span></pre>
|
347
350
|
</div>
|
@@ -373,7 +376,7 @@
|
|
373
376
|
|
374
377
|
|
375
378
|
<div class="method-source-code" id="list-source">
|
376
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
379
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 460</span>
|
377
380
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">list</span>(
|
378
381
|
<span class="ruby-identifier">filter</span> \
|
379
382
|
,
|
@@ -398,11 +401,11 @@
|
|
398
401
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
399
402
|
<span class="ruby-keyword">next</span>
|
400
403
|
<span class="ruby-keyword">end</span>
|
401
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
404
|
+
<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>)
|
402
405
|
<span class="ruby-keyword">end</span>
|
403
406
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
404
407
|
<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">accounts</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>
|
405
|
-
<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">
|
408
|
+
<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_account_to_porcelain</span>(<span class="ruby-identifier">plumbing_item</span>)
|
406
409
|
<span class="ruby-keyword">end</span>
|
407
410
|
<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>
|
408
411
|
<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>
|
@@ -439,14 +442,14 @@
|
|
439
442
|
|
440
443
|
|
441
444
|
<div class="method-source-code" id="update-source">
|
442
|
-
<pre><span class="ruby-comment"># File lib/svc.rb, line
|
445
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 399</span>
|
443
446
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">update</span>(
|
444
447
|
<span class="ruby-identifier">account</span> \
|
445
448
|
,
|
446
449
|
<span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>)
|
447
450
|
<span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">AccountUpdateRequest</span>.<span class="ruby-identifier">new</span>()
|
448
451
|
|
449
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">account</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
452
|
+
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">account</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_account_to_plumbing</span>(<span class="ruby-identifier">account</span>)
|
450
453
|
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
451
454
|
<span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span>
|
452
455
|
<span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
|
@@ -458,16 +461,16 @@
|
|
458
461
|
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
459
462
|
<span class="ruby-keyword">next</span>
|
460
463
|
<span class="ruby-keyword">end</span>
|
461
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
464
|
+
<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>)
|
462
465
|
<span class="ruby-keyword">end</span>
|
463
466
|
<span class="ruby-keyword">break</span>
|
464
467
|
<span class="ruby-keyword">end</span>
|
465
468
|
|
466
469
|
|
467
470
|
<span class="ruby-identifier">resp</span> = <span class="ruby-constant">AccountUpdateResponse</span>.<span class="ruby-identifier">new</span>()
|
468
|
-
<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">
|
469
|
-
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">account</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">
|
470
|
-
<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">
|
471
|
+
<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>)
|
472
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">account</span> = <span class="ruby-constant">Plumbing</span><span class="ruby-operator">::</span><span class="ruby-identifier">convert_account_to_porcelain</span>(<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">account</span>)
|
473
|
+
<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>)
|
471
474
|
<span class="ruby-identifier">resp</span>
|
472
475
|
<span class="ruby-keyword">end</span></pre>
|
473
476
|
</div>
|
@@ -489,7 +492,7 @@
|
|
489
492
|
|
490
493
|
<footer id="validator-badges" role="contentinfo">
|
491
494
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
492
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
495
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.2.
|
493
496
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
494
497
|
</footer>
|
495
498
|
|