strongdm 1.0.15 → 1.0.21
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 +21 -3
- data/doc/SDM/AKSBasicAuth.html +21 -3
- data/doc/SDM/AKSServiceAccount.html +21 -3
- data/doc/SDM/AKSServiceAccountUserImpersonation.html +391 -0
- data/doc/SDM/AKSUserImpersonation.html +427 -0
- data/doc/SDM/AWS.html +39 -3
- data/doc/SDM/AWSStore.html +2 -2
- data/doc/SDM/AccountAttachment.html +2 -2
- data/doc/SDM/AccountAttachmentCreateResponse.html +2 -2
- data/doc/SDM/AccountAttachmentDeleteResponse.html +2 -2
- data/doc/SDM/AccountAttachmentGetResponse.html +2 -2
- data/doc/SDM/AccountCreateResponse.html +2 -2
- data/doc/SDM/AccountDeleteResponse.html +2 -2
- data/doc/SDM/AccountGetResponse.html +2 -2
- data/doc/SDM/AccountGrant.html +2 -2
- data/doc/SDM/AccountGrantCreateResponse.html +2 -2
- data/doc/SDM/AccountGrantDeleteResponse.html +2 -2
- data/doc/SDM/AccountGrantGetResponse.html +2 -2
- data/doc/SDM/AccountUpdateResponse.html +2 -2
- data/doc/SDM/AmazonEKS.html +39 -3
- data/doc/SDM/AmazonEKSUserImpersonation.html +481 -0
- data/doc/SDM/AmazonES.html +57 -3
- data/doc/SDM/Athena.html +57 -3
- data/doc/SDM/AuroraMysql.html +21 -3
- data/doc/SDM/AuroraPostgres.html +21 -3
- data/doc/SDM/BigQuery.html +21 -3
- data/doc/SDM/Cassandra.html +21 -3
- data/doc/SDM/Citus.html +21 -3
- data/doc/SDM/Client.html +9 -6
- data/doc/SDM/Clustrix.html +21 -3
- data/doc/SDM/Cockroach.html +21 -3
- data/doc/SDM/ControlPanel.html +62 -0
- data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +2 -2
- data/doc/SDM/ControlPanelVerifyJWTResponse.html +267 -0
- data/doc/SDM/DB2LUW.html +21 -3
- data/doc/SDM/DB2i.html +21 -3
- data/doc/SDM/Druid.html +21 -3
- data/doc/SDM/DynamoDB.html +57 -3
- data/doc/SDM/Elastic.html +21 -3
- data/doc/SDM/ElasticacheRedis.html +21 -3
- data/doc/SDM/Gateway.html +2 -2
- data/doc/SDM/GoogleGKE.html +21 -3
- data/doc/SDM/GoogleGKEUserImpersonation.html +391 -0
- data/doc/SDM/Greenplum.html +21 -3
- data/doc/SDM/HTTPAuth.html +21 -3
- data/doc/SDM/HTTPBasicAuth.html +21 -3
- data/doc/SDM/HTTPNoAuth.html +21 -3
- data/doc/SDM/Kubernetes.html +21 -3
- data/doc/SDM/KubernetesBasicAuth.html +21 -3
- data/doc/SDM/KubernetesServiceAccount.html +21 -3
- data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +391 -0
- data/doc/SDM/KubernetesUserImpersonation.html +427 -0
- data/doc/SDM/Maria.html +21 -3
- data/doc/SDM/Memcached.html +21 -3
- data/doc/SDM/Memsql.html +21 -3
- data/doc/SDM/MongoHost.html +21 -3
- data/doc/SDM/MongoLegacyHost.html +21 -3
- data/doc/SDM/MongoLegacyReplicaset.html +21 -3
- data/doc/SDM/MongoReplicaSet.html +21 -3
- data/doc/SDM/Mysql.html +21 -3
- 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 +21 -3
- data/doc/SDM/Plumbing.html +2575 -825
- data/doc/SDM/Postgres.html +21 -3
- data/doc/SDM/Presto.html +21 -3
- data/doc/SDM/RDP.html +21 -3
- data/doc/SDM/Redis.html +21 -3
- data/doc/SDM/Redshift.html +21 -3
- 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 +74 -6
- 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 +21 -3
- data/doc/SDM/SSH.html +21 -3
- data/doc/SDM/SSHCert.html +21 -3
- data/doc/SDM/SSHCustomerKey.html +427 -0
- 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/Service.html +2 -2
- data/doc/SDM/Snowflake.html +21 -3
- data/doc/SDM/Sybase.html +21 -3
- data/doc/SDM/SybaseIQ.html +21 -3
- data/doc/SDM/Tag.html +247 -0
- data/doc/SDM/Teradata.html +21 -3
- data/doc/SDM/User.html +2 -2
- data/doc/SDM/VaultTLSStore.html +2 -2
- data/doc/SDM/VaultTokenStore.html +2 -2
- data/doc/V1.html +120 -0
- data/doc/V1/BuildsPrivate.html +113 -0
- data/doc/V1/BuildsPrivate/Service.html +119 -0
- data/doc/V1/Permissions/Service.html +119 -0
- data/doc/created.rid +51 -47
- data/doc/index.html +22 -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 -221
- data/lib/grpc/control_panel_pb.rb +11 -0
- data/lib/grpc/control_panel_services_pb.rb +2 -0
- data/lib/grpc/drivers_pb.rb +166 -0
- data/lib/grpc/options_pb.rb +5 -1
- data/lib/grpc/plumbing.rb +616 -4
- data/lib/grpc/resources_pb.rb +12 -0
- data/lib/grpc/resources_services_pb.rb +2 -0
- data/lib/grpc/spec_pb.rb +7 -0
- data/lib/grpc/tags_pb.rb +5 -0
- data/lib/models/porcelain.rb +1074 -81
- data/lib/strongdm.rb +5 -2
- data/lib/svc.rb +67 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +14 -10
- data/lib/grpc/access_rules_pb.rb +0 -115
- data/lib/grpc/access_rules_services_pb.rb +0 -50
- data/lib/grpc/audits_pb.rb +0 -40
- data/lib/grpc/audits_services_pb.rb +0 -37
- data/lib/grpc/demo_provisioning_requests_pb.rb +0 -93
- data/lib/grpc/demo_provisioning_requests_services_pb.rb +0 -49
- data/lib/grpc/secret_store_healths_pb.rb +0 -61
- data/lib/grpc/secret_store_healths_services_pb.rb +0 -39
data/doc/SDM/Citus.html
CHANGED
@@ -122,6 +122,19 @@
|
|
122
122
|
</div>
|
123
123
|
</div>
|
124
124
|
|
125
|
+
<div id="attribute-i-egress_filter" class="method-detail">
|
126
|
+
<div class="method-heading attribute-method-heading">
|
127
|
+
<span class="method-name">egress_filter</span><span
|
128
|
+
class="attribute-access-type">[RW]</span>
|
129
|
+
</div>
|
130
|
+
|
131
|
+
<div class="method-description">
|
132
|
+
|
133
|
+
<p>A filter applied to the routing logic to pin datasource to nodes.</p>
|
134
|
+
|
135
|
+
</div>
|
136
|
+
</div>
|
137
|
+
|
125
138
|
<div id="attribute-i-healthy" class="method-detail">
|
126
139
|
<div class="method-heading attribute-method-heading">
|
127
140
|
<span class="method-name">healthy</span><span
|
@@ -279,7 +292,7 @@
|
|
279
292
|
|
280
293
|
<div class="method-heading">
|
281
294
|
<span class="method-name">new</span><span
|
282
|
-
class="method-args">( id:nil \ , name:nil \ , healthy:nil \ , tags:nil \ , secret_store_id:nil \ , hostname:nil \ , username:nil \ , password:nil \ , database:nil \ , port_override:nil \ , port:nil \ , override_database:nil \ )</span>
|
295
|
+
class="method-args">( id:nil \ , name:nil \ , healthy:nil \ , tags:nil \ , secret_store_id:nil \ , egress_filter:nil \ , hostname:nil \ , username:nil \ , password:nil \ , database:nil \ , port_override:nil \ , port:nil \ , override_database:nil \ )</span>
|
283
296
|
|
284
297
|
<span class="method-click-advice">click to toggle source</span>
|
285
298
|
|
@@ -294,7 +307,7 @@
|
|
294
307
|
|
295
308
|
|
296
309
|
<div class="method-source-code" id="new-source">
|
297
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
310
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4888</span>
|
298
311
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
299
312
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
300
313
|
,
|
@@ -305,6 +318,8 @@
|
|
305
318
|
<span class="ruby-value">tags:</span><span class="ruby-keyword">nil</span> \
|
306
319
|
,
|
307
320
|
<span class="ruby-value">secret_store_id:</span><span class="ruby-keyword">nil</span> \
|
321
|
+
,
|
322
|
+
<span class="ruby-value">egress_filter:</span><span class="ruby-keyword">nil</span> \
|
308
323
|
,
|
309
324
|
<span class="ruby-value">hostname:</span><span class="ruby-keyword">nil</span> \
|
310
325
|
,
|
@@ -335,6 +350,9 @@
|
|
335
350
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">secret_store_id</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
336
351
|
<span class="ruby-ivar">@secret_store_id</span> = <span class="ruby-identifier">secret_store_id</span>
|
337
352
|
<span class="ruby-keyword">end</span>
|
353
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">egress_filter</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
354
|
+
<span class="ruby-ivar">@egress_filter</span> = <span class="ruby-identifier">egress_filter</span>
|
355
|
+
<span class="ruby-keyword">end</span>
|
338
356
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">hostname</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
339
357
|
<span class="ruby-ivar">@hostname</span> = <span class="ruby-identifier">hostname</span>
|
340
358
|
<span class="ruby-keyword">end</span>
|
@@ -394,7 +412,7 @@
|
|
394
412
|
|
395
413
|
|
396
414
|
<div class="method-source-code" id="to_json-source">
|
397
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
415
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4955</span>
|
398
416
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
399
417
|
<span class="ruby-identifier">hash</span> = {}
|
400
418
|
<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/Client.html
CHANGED
@@ -353,8 +353,11 @@
|
|
353
353
|
<div class="method-source-code" id="new-source">
|
354
354
|
<pre><span class="ruby-comment"># File lib/strongdm.rb, line 31</span>
|
355
355
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">api_access_key</span>, <span class="ruby-identifier">api_secret_key</span>, <span class="ruby-value">host:</span><span class="ruby-string">"api.strongdm.com:443"</span>, <span class="ruby-value">insecure:</span><span class="ruby-keyword">false</span>)
|
356
|
-
<span class="ruby-
|
357
|
-
<span class="ruby-
|
356
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">TypeError</span>, <span class="ruby-string">'client access key must be a string'</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">api_access_key</span>.<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">String</span>)
|
357
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">TypeError</span>, <span class="ruby-string">'client secret key must be a string'</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">api_secret_key</span>.<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">String</span>)
|
358
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">TypeError</span>, <span class="ruby-string">'client host must be a string'</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">host</span>.<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">String</span>)
|
359
|
+
<span class="ruby-ivar">@api_access_key</span> = <span class="ruby-identifier">api_access_key</span>.<span class="ruby-identifier">strip</span>
|
360
|
+
<span class="ruby-ivar">@api_secret_key</span> = <span class="ruby-constant">Base64</span>.<span class="ruby-identifier">strict_decode64</span>(<span class="ruby-identifier">api_secret_key</span>.<span class="ruby-identifier">strip</span>)
|
358
361
|
<span class="ruby-ivar">@max_retries</span> = <span class="ruby-constant">DEFAULT_MAX_RETRIES</span>
|
359
362
|
<span class="ruby-ivar">@base_retry_delay</span> = <span class="ruby-constant">DEFAULT_BASE_RETRY_DELAY</span>
|
360
363
|
<span class="ruby-ivar">@max_retry_delay</span> = <span class="ruby-constant">DEFAULT_MAX_RETRY_DELAY</span>
|
@@ -407,7 +410,7 @@
|
|
407
410
|
|
408
411
|
|
409
412
|
<div class="method-source-code" id="get_metadata-source">
|
410
|
-
<pre><span class="ruby-comment"># File lib/strongdm.rb, line
|
413
|
+
<pre><span class="ruby-comment"># File lib/strongdm.rb, line 53</span>
|
411
414
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_metadata</span>(<span class="ruby-identifier">method_name</span>, <span class="ruby-identifier">req</span>)
|
412
415
|
<span class="ruby-keyword">return</span> { <span class="ruby-value">'x-sdm-authentication':</span> <span class="ruby-ivar">@api_access_key</span>,<span class="ruby-value">'x-sdm-signature':</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">sign</span>(<span class="ruby-identifier">method_name</span>, <span class="ruby-identifier">req</span>.<span class="ruby-identifier">to_proto</span>)}
|
413
416
|
<span class="ruby-keyword">end</span></pre>
|
@@ -440,7 +443,7 @@
|
|
440
443
|
|
441
444
|
|
442
445
|
<div class="method-source-code" id="jitterSleep-source">
|
443
|
-
<pre><span class="ruby-comment"># File lib/strongdm.rb, line
|
446
|
+
<pre><span class="ruby-comment"># File lib/strongdm.rb, line 73</span>
|
444
447
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">jitterSleep</span>(<span class="ruby-identifier">iter</span>)
|
445
448
|
<span class="ruby-identifier">dur_max</span> = <span class="ruby-ivar">@base_retry_delay</span> <span class="ruby-operator">*</span> <span class="ruby-value">2</span><span class="ruby-operator">**</span><span class="ruby-identifier">iter</span>
|
446
449
|
<span class="ruby-keyword">if</span> (<span class="ruby-identifier">dur_max</span> <span class="ruby-operator">></span> <span class="ruby-ivar">@max_retry_delay</span>)
|
@@ -478,7 +481,7 @@
|
|
478
481
|
|
479
482
|
|
480
483
|
<div class="method-source-code" id="shouldRetry-source">
|
481
|
-
<pre><span class="ruby-comment"># File lib/strongdm.rb, line
|
484
|
+
<pre><span class="ruby-comment"># File lib/strongdm.rb, line 82</span>
|
482
485
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">shouldRetry</span>(<span class="ruby-identifier">iter</span>, <span class="ruby-identifier">err</span>)
|
483
486
|
<span class="ruby-keyword">if</span> (<span class="ruby-identifier">iter</span> <span class="ruby-operator">>=</span> <span class="ruby-ivar">@max_retries</span><span class="ruby-value">-1</span>)
|
484
487
|
<span class="ruby-keyword">return</span> <span class="ruby-keyword">false</span>
|
@@ -517,7 +520,7 @@
|
|
517
520
|
|
518
521
|
|
519
522
|
<div class="method-source-code" id="sign-source">
|
520
|
-
<pre><span class="ruby-comment"># File lib/strongdm.rb, line
|
523
|
+
<pre><span class="ruby-comment"># File lib/strongdm.rb, line 57</span>
|
521
524
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">sign</span>(<span class="ruby-identifier">method_name</span>, <span class="ruby-identifier">msg_bytes</span>)
|
522
525
|
<span class="ruby-identifier">current_utc_date</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span>.<span class="ruby-identifier">utc</span>
|
523
526
|
<span class="ruby-identifier">date</span> = <span class="ruby-identifier">sprintf</span>(<span class="ruby-string">"%04d-%02d-%02d"</span>,<span class="ruby-identifier">current_utc_date</span>.<span class="ruby-identifier">year</span>, <span class="ruby-identifier">current_utc_date</span>.<span class="ruby-identifier">month</span>, <span class="ruby-identifier">current_utc_date</span>.<span class="ruby-identifier">day</span>)
|
data/doc/SDM/Clustrix.html
CHANGED
@@ -122,6 +122,19 @@
|
|
122
122
|
</div>
|
123
123
|
</div>
|
124
124
|
|
125
|
+
<div id="attribute-i-egress_filter" class="method-detail">
|
126
|
+
<div class="method-heading attribute-method-heading">
|
127
|
+
<span class="method-name">egress_filter</span><span
|
128
|
+
class="attribute-access-type">[RW]</span>
|
129
|
+
</div>
|
130
|
+
|
131
|
+
<div class="method-description">
|
132
|
+
|
133
|
+
<p>A filter applied to the routing logic to pin datasource to nodes.</p>
|
134
|
+
|
135
|
+
</div>
|
136
|
+
</div>
|
137
|
+
|
125
138
|
<div id="attribute-i-healthy" class="method-detail">
|
126
139
|
<div class="method-heading attribute-method-heading">
|
127
140
|
<span class="method-name">healthy</span><span
|
@@ -266,7 +279,7 @@
|
|
266
279
|
|
267
280
|
<div class="method-heading">
|
268
281
|
<span class="method-name">new</span><span
|
269
|
-
class="method-args">( id:nil \ , name:nil \ , healthy:nil \ , tags:nil \ , secret_store_id:nil \ , hostname:nil \ , username:nil \ , password:nil \ , database:nil \ , port_override:nil \ , port:nil \ )</span>
|
282
|
+
class="method-args">( id:nil \ , name:nil \ , healthy:nil \ , tags:nil \ , secret_store_id:nil \ , egress_filter:nil \ , hostname:nil \ , username:nil \ , password:nil \ , database:nil \ , port_override:nil \ , port:nil \ )</span>
|
270
283
|
|
271
284
|
<span class="method-click-advice">click to toggle source</span>
|
272
285
|
|
@@ -281,7 +294,7 @@
|
|
281
294
|
|
282
295
|
|
283
296
|
<div class="method-source-code" id="new-source">
|
284
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
297
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 3980</span>
|
285
298
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
286
299
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
287
300
|
,
|
@@ -292,6 +305,8 @@
|
|
292
305
|
<span class="ruby-value">tags:</span><span class="ruby-keyword">nil</span> \
|
293
306
|
,
|
294
307
|
<span class="ruby-value">secret_store_id:</span><span class="ruby-keyword">nil</span> \
|
308
|
+
,
|
309
|
+
<span class="ruby-value">egress_filter:</span><span class="ruby-keyword">nil</span> \
|
295
310
|
,
|
296
311
|
<span class="ruby-value">hostname:</span><span class="ruby-keyword">nil</span> \
|
297
312
|
,
|
@@ -320,6 +335,9 @@
|
|
320
335
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">secret_store_id</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
321
336
|
<span class="ruby-ivar">@secret_store_id</span> = <span class="ruby-identifier">secret_store_id</span>
|
322
337
|
<span class="ruby-keyword">end</span>
|
338
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">egress_filter</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
339
|
+
<span class="ruby-ivar">@egress_filter</span> = <span class="ruby-identifier">egress_filter</span>
|
340
|
+
<span class="ruby-keyword">end</span>
|
323
341
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">hostname</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
324
342
|
<span class="ruby-ivar">@hostname</span> = <span class="ruby-identifier">hostname</span>
|
325
343
|
<span class="ruby-keyword">end</span>
|
@@ -376,7 +394,7 @@
|
|
376
394
|
|
377
395
|
|
378
396
|
<div class="method-source-code" id="to_json-source">
|
379
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
397
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4042</span>
|
380
398
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
381
399
|
<span class="ruby-identifier">hash</span> = {}
|
382
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/Cockroach.html
CHANGED
@@ -122,6 +122,19 @@
|
|
122
122
|
</div>
|
123
123
|
</div>
|
124
124
|
|
125
|
+
<div id="attribute-i-egress_filter" class="method-detail">
|
126
|
+
<div class="method-heading attribute-method-heading">
|
127
|
+
<span class="method-name">egress_filter</span><span
|
128
|
+
class="attribute-access-type">[RW]</span>
|
129
|
+
</div>
|
130
|
+
|
131
|
+
<div class="method-description">
|
132
|
+
|
133
|
+
<p>A filter applied to the routing logic to pin datasource to nodes.</p>
|
134
|
+
|
135
|
+
</div>
|
136
|
+
</div>
|
137
|
+
|
125
138
|
<div id="attribute-i-healthy" class="method-detail">
|
126
139
|
<div class="method-heading attribute-method-heading">
|
127
140
|
<span class="method-name">healthy</span><span
|
@@ -279,7 +292,7 @@
|
|
279
292
|
|
280
293
|
<div class="method-heading">
|
281
294
|
<span class="method-name">new</span><span
|
282
|
-
class="method-args">( id:nil \ , name:nil \ , healthy:nil \ , tags:nil \ , secret_store_id:nil \ , hostname:nil \ , username:nil \ , password:nil \ , database:nil \ , port_override:nil \ , port:nil \ , override_database:nil \ )</span>
|
295
|
+
class="method-args">( id:nil \ , name:nil \ , healthy:nil \ , tags:nil \ , secret_store_id:nil \ , egress_filter:nil \ , hostname:nil \ , username:nil \ , password:nil \ , database:nil \ , port_override:nil \ , port:nil \ , override_database:nil \ )</span>
|
283
296
|
|
284
297
|
<span class="method-click-advice">click to toggle source</span>
|
285
298
|
|
@@ -294,7 +307,7 @@
|
|
294
307
|
|
295
308
|
|
296
309
|
<div class="method-source-code" id="new-source">
|
297
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
310
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4682</span>
|
298
311
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
299
312
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
300
313
|
,
|
@@ -305,6 +318,8 @@
|
|
305
318
|
<span class="ruby-value">tags:</span><span class="ruby-keyword">nil</span> \
|
306
319
|
,
|
307
320
|
<span class="ruby-value">secret_store_id:</span><span class="ruby-keyword">nil</span> \
|
321
|
+
,
|
322
|
+
<span class="ruby-value">egress_filter:</span><span class="ruby-keyword">nil</span> \
|
308
323
|
,
|
309
324
|
<span class="ruby-value">hostname:</span><span class="ruby-keyword">nil</span> \
|
310
325
|
,
|
@@ -335,6 +350,9 @@
|
|
335
350
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">secret_store_id</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
336
351
|
<span class="ruby-ivar">@secret_store_id</span> = <span class="ruby-identifier">secret_store_id</span>
|
337
352
|
<span class="ruby-keyword">end</span>
|
353
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">egress_filter</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
354
|
+
<span class="ruby-ivar">@egress_filter</span> = <span class="ruby-identifier">egress_filter</span>
|
355
|
+
<span class="ruby-keyword">end</span>
|
338
356
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">hostname</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
339
357
|
<span class="ruby-ivar">@hostname</span> = <span class="ruby-identifier">hostname</span>
|
340
358
|
<span class="ruby-keyword">end</span>
|
@@ -394,7 +412,7 @@
|
|
394
412
|
|
395
413
|
|
396
414
|
<div class="method-source-code" id="to_json-source">
|
397
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
415
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 4749</span>
|
398
416
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
399
417
|
<span class="ruby-identifier">hash</span> = {}
|
400
418
|
<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
|
|
@@ -179,7 +179,7 @@
|
|
179
179
|
|
180
180
|
|
181
181
|
<div class="method-source-code" id="new-source">
|
182
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
182
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 646</span>
|
183
183
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
184
184
|
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
185
185
|
,
|
@@ -234,7 +234,7 @@
|
|
234
234
|
|
235
235
|
|
236
236
|
<div class="method-source-code" id="to_json-source">
|
237
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
237
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 663</span>
|
238
238
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
239
239
|
<span class="ruby-identifier">hash</span> = {}
|
240
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>
|
@@ -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
|
+
|