strongdm 1.0.17 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/doc/SDM/AKS.html +2 -2
- data/doc/SDM/AKSBasicAuth.html +2 -2
- data/doc/SDM/AKSServiceAccount.html +2 -2
- data/doc/SDM/AWS.html +2 -2
- data/doc/SDM/AWSStore.html +2 -2
- data/doc/SDM/AmazonEKS.html +2 -2
- data/doc/SDM/AmazonES.html +2 -2
- data/doc/SDM/Athena.html +2 -2
- data/doc/SDM/AuroraMysql.html +2 -2
- data/doc/SDM/AuroraPostgres.html +2 -2
- data/doc/SDM/BigQuery.html +2 -2
- data/doc/SDM/Cassandra.html +2 -2
- data/doc/SDM/Citus.html +2 -2
- data/doc/SDM/Clustrix.html +2 -2
- data/doc/SDM/Cockroach.html +2 -2
- data/doc/SDM/ControlPanel.html +62 -0
- data/doc/SDM/ControlPanelVerifyJWTResponse.html +267 -0
- data/doc/SDM/DB2LUW.html +2 -2
- data/doc/SDM/DB2i.html +2 -2
- data/doc/SDM/Druid.html +2 -2
- data/doc/SDM/DynamoDB.html +2 -2
- data/doc/SDM/Elastic.html +2 -2
- data/doc/SDM/ElasticacheRedis.html +2 -2
- data/doc/SDM/Gateway.html +2 -2
- data/doc/SDM/GoogleGKE.html +2 -2
- data/doc/SDM/Greenplum.html +2 -2
- data/doc/SDM/HTTPAuth.html +2 -2
- data/doc/SDM/HTTPBasicAuth.html +2 -2
- data/doc/SDM/HTTPNoAuth.html +2 -2
- data/doc/SDM/Kubernetes.html +2 -2
- data/doc/SDM/KubernetesBasicAuth.html +2 -2
- data/doc/SDM/KubernetesServiceAccount.html +2 -2
- data/doc/SDM/Maria.html +2 -2
- data/doc/SDM/Memcached.html +2 -2
- data/doc/SDM/Memsql.html +2 -2
- data/doc/SDM/MongoHost.html +2 -2
- data/doc/SDM/MongoLegacyHost.html +2 -2
- data/doc/SDM/MongoLegacyReplicaset.html +2 -2
- data/doc/SDM/MongoReplicaSet.html +2 -2
- data/doc/SDM/Mysql.html +2 -2
- data/doc/SDM/NodeCreateResponse.html +2 -2
- data/doc/SDM/NodeDeleteResponse.html +2 -2
- data/doc/SDM/NodeGetResponse.html +2 -2
- data/doc/SDM/NodeUpdateResponse.html +2 -2
- data/doc/SDM/Nodes.html +6 -6
- data/doc/SDM/Oracle.html +2 -2
- data/doc/SDM/Plumbing.html +586 -422
- data/doc/SDM/Postgres.html +2 -2
- data/doc/SDM/Presto.html +2 -2
- data/doc/SDM/RDP.html +2 -2
- data/doc/SDM/Redis.html +2 -2
- data/doc/SDM/Redshift.html +2 -2
- data/doc/SDM/Relay.html +2 -2
- data/doc/SDM/ResourceCreateResponse.html +2 -2
- data/doc/SDM/ResourceDeleteResponse.html +2 -2
- data/doc/SDM/ResourceGetResponse.html +2 -2
- data/doc/SDM/ResourceUpdateResponse.html +2 -2
- data/doc/SDM/Resources.html +7 -7
- data/doc/SDM/Role.html +2 -2
- data/doc/SDM/RoleAttachment.html +2 -2
- data/doc/SDM/RoleAttachmentCreateResponse.html +2 -2
- data/doc/SDM/RoleAttachmentDeleteResponse.html +2 -2
- data/doc/SDM/RoleAttachmentGetResponse.html +2 -2
- data/doc/SDM/RoleAttachments.html +5 -5
- data/doc/SDM/RoleCreateResponse.html +2 -2
- data/doc/SDM/RoleDeleteResponse.html +2 -2
- data/doc/SDM/RoleGetResponse.html +2 -2
- data/doc/SDM/RoleGrant.html +2 -2
- data/doc/SDM/RoleGrantCreateResponse.html +2 -2
- data/doc/SDM/RoleGrantDeleteResponse.html +2 -2
- data/doc/SDM/RoleGrantGetResponse.html +2 -2
- data/doc/SDM/RoleGrants.html +5 -5
- data/doc/SDM/RoleUpdateResponse.html +2 -2
- data/doc/SDM/Roles.html +6 -6
- data/doc/SDM/SQLServer.html +2 -2
- data/doc/SDM/SSH.html +2 -2
- data/doc/SDM/SSHCert.html +2 -2
- data/doc/SDM/SecretStoreCreateResponse.html +2 -2
- data/doc/SDM/SecretStoreDeleteResponse.html +2 -2
- data/doc/SDM/SecretStoreGetResponse.html +2 -2
- data/doc/SDM/SecretStoreUpdateResponse.html +2 -2
- data/doc/SDM/SecretStores.html +6 -6
- data/doc/SDM/Snowflake.html +2 -2
- data/doc/SDM/Sybase.html +2 -2
- data/doc/SDM/SybaseIQ.html +2 -2
- data/doc/SDM/Teradata.html +2 -2
- data/doc/SDM/VaultTLSStore.html +2 -2
- data/doc/SDM/VaultTokenStore.html +2 -2
- data/doc/V1.html +60 -0
- data/doc/V1/PermissionGrants.html +113 -0
- data/doc/V1/PermissionGrants/Service.html +119 -0
- data/doc/V1/Permissions/Service.html +119 -0
- data/doc/created.rid +51 -52
- data/doc/index.html +6 -0
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/lib/version.html +1 -1
- data/doc/strongdm_gemspec.html +1 -1
- data/doc/table_of_contents.html +556 -506
- data/lib/grpc/account_attachments_services_pb.rb +4 -4
- data/lib/grpc/account_grants_services_pb.rb +4 -4
- data/lib/grpc/accounts_services_pb.rb +5 -5
- data/lib/grpc/control_panel_pb.rb +11 -0
- data/lib/grpc/control_panel_services_pb.rb +3 -1
- data/lib/grpc/nodes_services_pb.rb +5 -5
- data/lib/grpc/options_pb.rb +5 -1
- data/lib/grpc/plumbing.rb +38 -1
- data/lib/grpc/resources_services_pb.rb +6 -6
- data/lib/grpc/role_attachments_services_pb.rb +4 -4
- data/lib/grpc/role_grants_services_pb.rb +4 -4
- data/lib/grpc/roles_services_pb.rb +5 -5
- data/lib/grpc/secret_stores_services_pb.rb +5 -5
- data/lib/grpc/spec_pb.rb +1 -0
- data/lib/models/porcelain.rb +34 -0
- data/lib/svc.rb +30 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +6 -4
- data/lib/grpc/demo_provisioning_requests_pb.rb +0 -93
- data/lib/grpc/demo_provisioning_requests_services_pb.rb +0 -49
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d760a43bfee4efbe4f679d988225779f59f786c159046126a825dc1c8c82149c
|
|
4
|
+
data.tar.gz: bb898dc0fadf9d865c50f007f9be520cd16e60bf4ac296a46dfd5e5b4255b15f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0ff6b4fe1520fefbdad76c6421b220726c8a22e0f89cd1488fa2aa85d3338147edc85106f01c57e3f6e41a7595aa0ec67e869fbccfb379a20845cc63bea5a41
|
|
7
|
+
data.tar.gz: 782f7d7208fc04876c00c50b3eb7cce7ef020844b8e61671548d3aab4b1532845e2f57bd67af64d47523ba8ef56621c2cc505f69f2ed862419efa84093754e72
|
data/doc/SDM/AKS.html
CHANGED
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
|
|
282
282
|
|
|
283
283
|
<div class="method-source-code" id="new-source">
|
|
284
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
284
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 2316</span>
|
|
285
285
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
|
286
286
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
|
287
287
|
,
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
|
|
377
377
|
|
|
378
378
|
<div class="method-source-code" id="to_json-source">
|
|
379
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
379
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 2373</span>
|
|
380
380
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
|
381
381
|
<span class="ruby-identifier">hash</span> = {}
|
|
382
382
|
<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>
|
data/doc/SDM/AKSBasicAuth.html
CHANGED
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
|
|
269
269
|
|
|
270
270
|
<div class="method-source-code" id="new-source">
|
|
271
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
271
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 2403</span>
|
|
272
272
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
|
273
273
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
|
274
274
|
,
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
|
|
359
359
|
|
|
360
360
|
<div class="method-source-code" id="to_json-source">
|
|
361
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
361
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 2455</span>
|
|
362
362
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
|
363
363
|
<span class="ruby-identifier">hash</span> = {}
|
|
364
364
|
<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>
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
|
|
256
256
|
|
|
257
257
|
<div class="method-source-code" id="new-source">
|
|
258
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
258
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 2483</span>
|
|
259
259
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
|
260
260
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
|
261
261
|
,
|
|
@@ -340,7 +340,7 @@
|
|
|
340
340
|
|
|
341
341
|
|
|
342
342
|
<div class="method-source-code" id="to_json-source">
|
|
343
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
343
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 2530</span>
|
|
344
344
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
|
345
345
|
<span class="ruby-identifier">hash</span> = {}
|
|
346
346
|
<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>
|
data/doc/SDM/AWS.html
CHANGED
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
|
|
269
269
|
|
|
270
270
|
<div class="method-source-code" id="new-source">
|
|
271
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
271
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 822</span>
|
|
272
272
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
|
273
273
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
|
274
274
|
,
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
|
|
359
359
|
|
|
360
360
|
<div class="method-source-code" id="to_json-source">
|
|
361
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
361
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 874</span>
|
|
362
362
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
|
363
363
|
<span class="ruby-identifier">hash</span> = {}
|
|
364
364
|
<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>
|
data/doc/SDM/AWSStore.html
CHANGED
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
|
|
191
191
|
|
|
192
192
|
<div class="method-source-code" id="new-source">
|
|
193
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
193
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 5871</span>
|
|
194
194
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
|
195
195
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
|
196
196
|
,
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
|
|
251
251
|
|
|
252
252
|
<div class="method-source-code" id="to_json-source">
|
|
253
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
253
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 5893</span>
|
|
254
254
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
|
255
255
|
<span class="ruby-identifier">hash</span> = {}
|
|
256
256
|
<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>
|
data/doc/SDM/AmazonEKS.html
CHANGED
|
@@ -320,7 +320,7 @@
|
|
|
320
320
|
|
|
321
321
|
|
|
322
322
|
<div class="method-source-code" id="new-source">
|
|
323
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
323
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 2137</span>
|
|
324
324
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
|
325
325
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
|
326
326
|
,
|
|
@@ -430,7 +430,7 @@
|
|
|
430
430
|
|
|
431
431
|
|
|
432
432
|
<div class="method-source-code" id="to_json-source">
|
|
433
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
433
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 2209</span>
|
|
434
434
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
|
435
435
|
<span class="ruby-identifier">hash</span> = {}
|
|
436
436
|
<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>
|
data/doc/SDM/AmazonES.html
CHANGED
|
@@ -294,7 +294,7 @@
|
|
|
294
294
|
|
|
295
295
|
|
|
296
296
|
<div class="method-source-code" id="new-source">
|
|
297
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
297
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 1435</span>
|
|
298
298
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
|
299
299
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
|
300
300
|
,
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
|
|
395
395
|
|
|
396
396
|
<div class="method-source-code" id="to_json-source">
|
|
397
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
397
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 1497</span>
|
|
398
398
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
|
399
399
|
<span class="ruby-identifier">hash</span> = {}
|
|
400
400
|
<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>
|
data/doc/SDM/Athena.html
CHANGED
|
@@ -294,7 +294,7 @@
|
|
|
294
294
|
|
|
295
295
|
|
|
296
296
|
<div class="method-source-code" id="new-source">
|
|
297
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
297
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 730</span>
|
|
298
298
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
|
299
299
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
|
300
300
|
,
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
|
|
395
395
|
|
|
396
396
|
<div class="method-source-code" id="to_json-source">
|
|
397
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
397
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 792</span>
|
|
398
398
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
|
399
399
|
<span class="ruby-identifier">hash</span> = {}
|
|
400
400
|
<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>
|
data/doc/SDM/AuroraMysql.html
CHANGED
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
|
|
282
282
|
|
|
283
283
|
<div class="method-source-code" id="new-source">
|
|
284
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
284
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 3138</span>
|
|
285
285
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
|
286
286
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
|
287
287
|
,
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
|
|
377
377
|
|
|
378
378
|
<div class="method-source-code" id="to_json-source">
|
|
379
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
379
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 3195</span>
|
|
380
380
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
|
381
381
|
<span class="ruby-identifier">hash</span> = {}
|
|
382
382
|
<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>
|
data/doc/SDM/AuroraPostgres.html
CHANGED
|
@@ -294,7 +294,7 @@
|
|
|
294
294
|
|
|
295
295
|
|
|
296
296
|
<div class="method-source-code" id="new-source">
|
|
297
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
297
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 3688</span>
|
|
298
298
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
|
299
299
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
|
300
300
|
,
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
|
|
395
395
|
|
|
396
396
|
<div class="method-source-code" id="to_json-source">
|
|
397
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
397
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 3750</span>
|
|
398
398
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
|
399
399
|
<span class="ruby-identifier">hash</span> = {}
|
|
400
400
|
<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>
|
data/doc/SDM/BigQuery.html
CHANGED
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
|
|
269
269
|
|
|
270
270
|
<div class="method-source-code" id="new-source">
|
|
271
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
271
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 904</span>
|
|
272
272
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
|
273
273
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
|
274
274
|
,
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
|
|
359
359
|
|
|
360
360
|
<div class="method-source-code" id="to_json-source">
|
|
361
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
361
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 956</span>
|
|
362
362
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
|
363
363
|
<span class="ruby-identifier">hash</span> = {}
|
|
364
364
|
<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>
|
data/doc/SDM/Cassandra.html
CHANGED
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
|
|
282
282
|
|
|
283
283
|
<div class="method-source-code" id="new-source">
|
|
284
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
284
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 988</span>
|
|
285
285
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
|
286
286
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
|
287
287
|
,
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
|
|
377
377
|
|
|
378
378
|
<div class="method-source-code" id="to_json-source">
|
|
379
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
379
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 1045</span>
|
|
380
380
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
|
381
381
|
<span class="ruby-identifier">hash</span> = {}
|
|
382
382
|
<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>
|
data/doc/SDM/Citus.html
CHANGED
|
@@ -294,7 +294,7 @@
|
|
|
294
294
|
|
|
295
295
|
|
|
296
296
|
<div class="method-source-code" id="new-source">
|
|
297
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
297
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4072</span>
|
|
298
298
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
|
299
299
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
|
300
300
|
,
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
|
|
395
395
|
|
|
396
396
|
<div class="method-source-code" id="to_json-source">
|
|
397
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
397
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4134</span>
|
|
398
398
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
|
399
399
|
<span class="ruby-identifier">hash</span> = {}
|
|
400
400
|
<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>
|
data/doc/SDM/Clustrix.html
CHANGED
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
|
|
282
282
|
|
|
283
283
|
<div class="method-source-code" id="new-source">
|
|
284
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
284
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 3227</span>
|
|
285
285
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
|
286
286
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
|
287
287
|
,
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
|
|
377
377
|
|
|
378
378
|
<div class="method-source-code" id="to_json-source">
|
|
379
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
379
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 3284</span>
|
|
380
380
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
|
381
381
|
<span class="ruby-identifier">hash</span> = {}
|
|
382
382
|
<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>
|
data/doc/SDM/Cockroach.html
CHANGED
|
@@ -294,7 +294,7 @@
|
|
|
294
294
|
|
|
295
295
|
|
|
296
296
|
<div class="method-source-code" id="new-source">
|
|
297
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
297
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 3880</span>
|
|
298
298
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
|
299
299
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
|
300
300
|
,
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
|
|
395
395
|
|
|
396
396
|
<div class="method-source-code" id="to_json-source">
|
|
397
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
|
397
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 3942</span>
|
|
398
398
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
|
399
399
|
<span class="ruby-identifier">hash</span> = {}
|
|
400
400
|
<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>
|
data/doc/SDM/ControlPanel.html
CHANGED
|
@@ -79,6 +79,8 @@
|
|
|
79
79
|
|
|
80
80
|
<li ><a href="#method-i-get_sshca_public_key">#get_sshca_public_key</a>
|
|
81
81
|
|
|
82
|
+
<li ><a href="#method-i-verify_jwt">#verify_jwt</a>
|
|
83
|
+
|
|
82
84
|
</ul>
|
|
83
85
|
</div>
|
|
84
86
|
|
|
@@ -218,6 +220,66 @@
|
|
|
218
220
|
|
|
219
221
|
|
|
220
222
|
|
|
223
|
+
</div>
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
<div id="method-i-verify_jwt" class="method-detail ">
|
|
227
|
+
|
|
228
|
+
<div class="method-heading">
|
|
229
|
+
<span class="method-name">verify_jwt</span><span
|
|
230
|
+
class="method-args">( token \ , deadline:nil)</span>
|
|
231
|
+
|
|
232
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
233
|
+
|
|
234
|
+
</div>
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
<div class="method-description">
|
|
238
|
+
|
|
239
|
+
<p>VerifyJWT reports whether the given JWT token (x-sdm-token) is valid.</p>
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
<div class="method-source-code" id="verify_jwt-source">
|
|
245
|
+
<pre><span class="ruby-comment"># File lib/svc.rb, line 540</span>
|
|
246
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">verify_jwt</span>(
|
|
247
|
+
<span class="ruby-identifier">token</span> \
|
|
248
|
+
,
|
|
249
|
+
<span class="ruby-value">deadline:</span><span class="ruby-keyword">nil</span>)
|
|
250
|
+
<span class="ruby-identifier">req</span> = <span class="ruby-constant">V1</span><span class="ruby-operator">::</span><span class="ruby-constant">ControlPanelVerifyJWTRequest</span>.<span class="ruby-identifier">new</span>()
|
|
251
|
+
|
|
252
|
+
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">token</span> = (<span class="ruby-identifier">token</span>)
|
|
253
|
+
<span class="ruby-identifier">tries</span> = <span class="ruby-value">0</span>
|
|
254
|
+
<span class="ruby-identifier">plumbing_response</span> = <span class="ruby-keyword">nil</span>
|
|
255
|
+
<span class="ruby-identifier">loop</span> <span class="ruby-keyword">do</span>
|
|
256
|
+
<span class="ruby-keyword">begin</span>
|
|
257
|
+
<span class="ruby-identifier">plumbing_response</span> = <span class="ruby-ivar">@stub</span>.<span class="ruby-identifier">verify_jwt</span>(<span class="ruby-identifier">req</span>, <span class="ruby-value">metadata:</span> <span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">get_metadata</span>(<span class="ruby-string">'ControlPanel.VerifyJWT'</span>, <span class="ruby-identifier">req</span>), <span class="ruby-value">deadline:</span><span class="ruby-identifier">deadline</span>)
|
|
258
|
+
<span class="ruby-keyword">rescue</span> <span class="ruby-operator">=></span> <span class="ruby-identifier">exception</span>
|
|
259
|
+
<span class="ruby-keyword">if</span> (<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">shouldRetry</span>(<span class="ruby-identifier">tries</span>, <span class="ruby-identifier">exception</span>))
|
|
260
|
+
<span class="ruby-identifier">tries</span><span class="ruby-operator">+</span><span class="ruby-operator">+</span>
|
|
261
|
+
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">jitterSleep</span>(<span class="ruby-identifier">tries</span>)
|
|
262
|
+
<span class="ruby-keyword">next</span>
|
|
263
|
+
<span class="ruby-keyword">end</span>
|
|
264
|
+
<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>)
|
|
265
|
+
<span class="ruby-keyword">end</span>
|
|
266
|
+
<span class="ruby-keyword">break</span>
|
|
267
|
+
<span class="ruby-keyword">end</span>
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
<span class="ruby-identifier">resp</span> = <span class="ruby-constant">ControlPanelVerifyJWTResponse</span>.<span class="ruby-identifier">new</span>()
|
|
271
|
+
<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>)
|
|
272
|
+
<span class="ruby-identifier">resp</span>.<span class="ruby-identifier">valid</span> = (<span class="ruby-identifier">plumbing_response</span>.<span class="ruby-identifier">valid</span>)
|
|
273
|
+
<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>)
|
|
274
|
+
<span class="ruby-identifier">resp</span>
|
|
275
|
+
<span class="ruby-keyword">end</span></pre>
|
|
276
|
+
</div>
|
|
277
|
+
|
|
278
|
+
</div>
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
221
283
|
</div>
|
|
222
284
|
|
|
223
285
|
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
|
|
3
|
+
<html>
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
|
|
7
|
+
<title>class SDM::ControlPanelVerifyJWTResponse - RDoc Documentation</title>
|
|
8
|
+
|
|
9
|
+
<script type="text/javascript">
|
|
10
|
+
var rdoc_rel_prefix = "../";
|
|
11
|
+
var index_rel_prefix = "../";
|
|
12
|
+
</script>
|
|
13
|
+
|
|
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>
|
|
19
|
+
|
|
20
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
|
21
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
<body id="top" role="document" class="class">
|
|
27
|
+
<nav role="navigation">
|
|
28
|
+
<div id="project-navigation">
|
|
29
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
|
30
|
+
<h2>
|
|
31
|
+
<a href="../index.html" rel="home">Home</a>
|
|
32
|
+
</h2>
|
|
33
|
+
|
|
34
|
+
<div id="table-of-contents-navigation">
|
|
35
|
+
<a href="../table_of_contents.html#pages">Pages</a>
|
|
36
|
+
<a href="../table_of_contents.html#classes">Classes</a>
|
|
37
|
+
<a href="../table_of_contents.html#methods">Methods</a>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
|
42
|
+
<form action="#" method="get" accept-charset="utf-8">
|
|
43
|
+
<div id="search-field-wrapper">
|
|
44
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
|
45
|
+
aria-autocomplete="list" aria-controls="search-results"
|
|
46
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
|
47
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
|
48
|
+
</div>
|
|
49
|
+
|
|
50
|
+
<ul id="search-results" aria-label="Search Results"
|
|
51
|
+
aria-busy="false" aria-expanded="false"
|
|
52
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
|
53
|
+
</form>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
</div>
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
<div id="class-metadata">
|
|
61
|
+
|
|
62
|
+
<div id="parent-class-section" class="nav-section">
|
|
63
|
+
<h3>Parent</h3>
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
<p class="link"><a href="../Object.html">Object</a>
|
|
67
|
+
|
|
68
|
+
</div>
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
<!-- Method Quickref -->
|
|
73
|
+
<div id="method-list-section" class="nav-section">
|
|
74
|
+
<h3>Methods</h3>
|
|
75
|
+
|
|
76
|
+
<ul class="link-list" role="directory">
|
|
77
|
+
|
|
78
|
+
<li ><a href="#method-c-new">::new</a>
|
|
79
|
+
|
|
80
|
+
<li ><a href="#method-i-to_json">#to_json</a>
|
|
81
|
+
|
|
82
|
+
</ul>
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
</div>
|
|
86
|
+
</nav>
|
|
87
|
+
|
|
88
|
+
<main role="main" aria-labelledby="class-SDM::ControlPanelVerifyJWTResponse">
|
|
89
|
+
<h1 id="class-SDM::ControlPanelVerifyJWTResponse" class="class">
|
|
90
|
+
class SDM::ControlPanelVerifyJWTResponse
|
|
91
|
+
</h1>
|
|
92
|
+
|
|
93
|
+
<section class="description">
|
|
94
|
+
|
|
95
|
+
<p><a href="ControlPanelVerifyJWTResponse.html"><code>ControlPanelVerifyJWTResponse</code></a> reports whether x-sdm-token is valid.</p>
|
|
96
|
+
|
|
97
|
+
</section>
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
<section class="attribute-method-details" class="method-section">
|
|
109
|
+
<header>
|
|
110
|
+
<h3>Attributes</h3>
|
|
111
|
+
</header>
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
<div id="attribute-i-meta" class="method-detail">
|
|
115
|
+
<div class="method-heading attribute-method-heading">
|
|
116
|
+
<span class="method-name">meta</span><span
|
|
117
|
+
class="attribute-access-type">[RW]</span>
|
|
118
|
+
</div>
|
|
119
|
+
|
|
120
|
+
<div class="method-description">
|
|
121
|
+
|
|
122
|
+
<p>Reserved for future use.</p>
|
|
123
|
+
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
|
|
127
|
+
<div id="attribute-i-rate_limit" class="method-detail">
|
|
128
|
+
<div class="method-heading attribute-method-heading">
|
|
129
|
+
<span class="method-name">rate_limit</span><span
|
|
130
|
+
class="attribute-access-type">[RW]</span>
|
|
131
|
+
</div>
|
|
132
|
+
|
|
133
|
+
<div class="method-description">
|
|
134
|
+
|
|
135
|
+
<p>Rate limit information.</p>
|
|
136
|
+
|
|
137
|
+
</div>
|
|
138
|
+
</div>
|
|
139
|
+
|
|
140
|
+
<div id="attribute-i-valid" class="method-detail">
|
|
141
|
+
<div class="method-heading attribute-method-heading">
|
|
142
|
+
<span class="method-name">valid</span><span
|
|
143
|
+
class="attribute-access-type">[RW]</span>
|
|
144
|
+
</div>
|
|
145
|
+
|
|
146
|
+
<div class="method-description">
|
|
147
|
+
|
|
148
|
+
<p>Reports if the given token is valid.</p>
|
|
149
|
+
|
|
150
|
+
</div>
|
|
151
|
+
</div>
|
|
152
|
+
|
|
153
|
+
</section>
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
158
|
+
<header>
|
|
159
|
+
<h3>Public Class Methods</h3>
|
|
160
|
+
</header>
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
<div id="method-c-new" class="method-detail ">
|
|
164
|
+
|
|
165
|
+
<div class="method-heading">
|
|
166
|
+
<span class="method-name">new</span><span
|
|
167
|
+
class="method-args">( meta:nil \ , valid:nil \ , rate_limit:nil \ )</span>
|
|
168
|
+
|
|
169
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
170
|
+
|
|
171
|
+
</div>
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
<div class="method-description">
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
<div class="method-source-code" id="new-source">
|
|
182
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 679</span>
|
|
183
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
|
184
|
+
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
|
185
|
+
,
|
|
186
|
+
<span class="ruby-value">valid:</span><span class="ruby-keyword">nil</span> \
|
|
187
|
+
,
|
|
188
|
+
<span class="ruby-value">rate_limit:</span><span class="ruby-keyword">nil</span> \
|
|
189
|
+
)
|
|
190
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">meta</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
|
191
|
+
<span class="ruby-ivar">@meta</span> = <span class="ruby-identifier">meta</span>
|
|
192
|
+
<span class="ruby-keyword">end</span>
|
|
193
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">valid</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
|
194
|
+
<span class="ruby-ivar">@valid</span> = <span class="ruby-identifier">valid</span>
|
|
195
|
+
<span class="ruby-keyword">end</span>
|
|
196
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">rate_limit</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
|
197
|
+
<span class="ruby-ivar">@rate_limit</span> = <span class="ruby-identifier">rate_limit</span>
|
|
198
|
+
<span class="ruby-keyword">end</span>
|
|
199
|
+
<span class="ruby-keyword">end</span></pre>
|
|
200
|
+
</div>
|
|
201
|
+
|
|
202
|
+
</div>
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
</div>
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
</section>
|
|
211
|
+
|
|
212
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
213
|
+
<header>
|
|
214
|
+
<h3>Public Instance Methods</h3>
|
|
215
|
+
</header>
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
<div id="method-i-to_json" class="method-detail ">
|
|
219
|
+
|
|
220
|
+
<div class="method-heading">
|
|
221
|
+
<span class="method-name">to_json</span><span
|
|
222
|
+
class="method-args">(options={})</span>
|
|
223
|
+
|
|
224
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
225
|
+
|
|
226
|
+
</div>
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
<div class="method-description">
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
<div class="method-source-code" id="to_json-source">
|
|
237
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 696</span>
|
|
238
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
|
239
|
+
<span class="ruby-identifier">hash</span> = {}
|
|
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>
|
|
241
|
+
<span class="ruby-identifier">hash</span>[<span class="ruby-identifier">var</span>.<span class="ruby-identifier">id2name</span>.<span class="ruby-identifier">delete_prefix</span>(<span class="ruby-string">'@'</span>)] = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variable_get</span> <span class="ruby-identifier">var</span>
|
|
242
|
+
<span class="ruby-keyword">end</span>
|
|
243
|
+
<span class="ruby-identifier">hash</span>.<span class="ruby-identifier">to_json</span>
|
|
244
|
+
<span class="ruby-keyword">end</span></pre>
|
|
245
|
+
</div>
|
|
246
|
+
|
|
247
|
+
</div>
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
</div>
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
</section>
|
|
256
|
+
|
|
257
|
+
</section>
|
|
258
|
+
|
|
259
|
+
</main>
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
<footer id="validator-badges" role="contentinfo">
|
|
263
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
264
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
|
265
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
266
|
+
</footer>
|
|
267
|
+
|