strongdm 1.0.13 → 1.0.14
Sign up to get free protection for your applications and to get access to all the features.
- 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/AWSStore.html +283 -0
- data/doc/SDM/AccessRuleCreateResponse.html +267 -0
- data/doc/SDM/AccessRuleDeleteResponse.html +249 -0
- data/doc/SDM/AccessRuleUpdateResponse.html +267 -0
- data/doc/SDM/AmazonEKS.html +21 -3
- data/doc/SDM/AmazonES.html +21 -3
- data/doc/SDM/Athena.html +21 -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 +18 -4
- data/doc/SDM/Clustrix.html +21 -3
- data/doc/SDM/Cockroach.html +21 -3
- 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 +21 -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/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/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/Oracle.html +21 -3
- data/doc/SDM/Plumbing.html +2406 -964
- 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/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/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/RoleUpdateResponse.html +2 -2
- data/doc/SDM/SQLServer.html +21 -3
- data/doc/SDM/SSH.html +21 -3
- data/doc/SDM/SSHCert.html +21 -3
- data/doc/SDM/SecretStore.html +303 -0
- data/doc/SDM/SecretStoreCreateResponse.html +267 -0
- data/doc/SDM/SecretStoreDeleteResponse.html +249 -0
- data/doc/SDM/SecretStoreGetResponse.html +267 -0
- data/doc/SDM/SecretStoreUpdateResponse.html +267 -0
- data/doc/SDM/SecretStores.html +492 -0
- data/doc/SDM/Snowflake.html +21 -3
- data/doc/SDM/Sybase.html +21 -3
- data/doc/SDM/SybaseIQ.html +21 -3
- data/doc/SDM/Teradata.html +21 -3
- data/doc/SDM/VaultTLSStore.html +337 -0
- data/doc/SDM/VaultTokenStore.html +283 -0
- data/doc/V1.html +185 -0
- data/doc/V1/AccessRules.html +113 -0
- data/doc/V1/AccessRules/Service.html +119 -0
- data/doc/V1/Audits.html +113 -0
- data/doc/V1/Audits/Service.html +119 -0
- data/doc/V1/SecretStoreHealths.html +113 -0
- data/doc/V1/SecretStoreHealths/Service.html +119 -0
- data/doc/V1/SecretStores.html +113 -0
- data/doc/V1/SecretStores/Service.html +119 -0
- data/doc/created.rid +44 -39
- data/doc/index.html +32 -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/table_of_contents.html +658 -318
- data/lib/grpc/access_rules_pb.rb +115 -0
- data/lib/grpc/access_rules_services_pb.rb +50 -0
- data/lib/grpc/account_attachments_pb.rb +0 -2
- data/lib/grpc/account_grants_pb.rb +0 -2
- data/lib/grpc/accounts_pb.rb +0 -2
- data/lib/grpc/audits_pb.rb +40 -0
- data/lib/grpc/audits_services_pb.rb +37 -0
- data/lib/grpc/control_panel_pb.rb +0 -1
- data/lib/grpc/drivers_pb.rb +48 -1
- data/lib/grpc/nodes_pb.rb +0 -2
- data/lib/grpc/options_pb.rb +18 -0
- data/lib/grpc/plumbing.rb +425 -1
- data/lib/grpc/resources_pb.rb +0 -1
- data/lib/grpc/role_attachments_pb.rb +0 -2
- data/lib/grpc/role_grants_pb.rb +0 -2
- data/lib/grpc/roles_pb.rb +0 -2
- data/lib/grpc/secret_store_healths_pb.rb +59 -0
- data/lib/grpc/secret_store_healths_services_pb.rb +39 -0
- data/lib/grpc/secret_stores_pb.rb +116 -0
- data/lib/grpc/secret_stores_services_pb.rb +44 -0
- data/lib/models/porcelain.rb +554 -0
- data/lib/strongdm.rb +3 -0
- data/lib/svc.rb +172 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +30 -3
- data/lib/grpc/protoc-gen-swagger/options/annotations_pb.rb +0 -15
@@ -0,0 +1,267 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>class SDM::SecretStoreCreateResponse - 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::SecretStoreCreateResponse">
|
89
|
+
<h1 id="class-SDM::SecretStoreCreateResponse" class="class">
|
90
|
+
class SDM::SecretStoreCreateResponse
|
91
|
+
</h1>
|
92
|
+
|
93
|
+
<section class="description">
|
94
|
+
|
95
|
+
<p><a href="SecretStoreCreateResponse.html"><code>SecretStoreCreateResponse</code></a> reports how the <a href="SecretStores.html"><code>SecretStores</code></a> were created in the system.</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-secret_store" class="method-detail">
|
141
|
+
<div class="method-heading attribute-method-heading">
|
142
|
+
<span class="method-name">secret_store</span><span
|
143
|
+
class="attribute-access-type">[RW]</span>
|
144
|
+
</div>
|
145
|
+
|
146
|
+
<div class="method-description">
|
147
|
+
|
148
|
+
<p>The created SecretStore.</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 \ , secret_store: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 5679</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">secret_store:</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">secret_store</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
194
|
+
<span class="ruby-ivar">@secret_store</span> = <span class="ruby-identifier">secret_store</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 5696</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
|
+
|
@@ -0,0 +1,249 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>class SDM::SecretStoreDeleteResponse - 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::SecretStoreDeleteResponse">
|
89
|
+
<h1 id="class-SDM::SecretStoreDeleteResponse" class="class">
|
90
|
+
class SDM::SecretStoreDeleteResponse
|
91
|
+
</h1>
|
92
|
+
|
93
|
+
<section class="description">
|
94
|
+
|
95
|
+
<p><a href="SecretStoreDeleteResponse.html"><code>SecretStoreDeleteResponse</code></a> returns information about a SecretStore that was deleted.</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
|
+
</section>
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
145
|
+
<header>
|
146
|
+
<h3>Public Class Methods</h3>
|
147
|
+
</header>
|
148
|
+
|
149
|
+
|
150
|
+
<div id="method-c-new" class="method-detail ">
|
151
|
+
|
152
|
+
<div class="method-heading">
|
153
|
+
<span class="method-name">new</span><span
|
154
|
+
class="method-args">( meta:nil \ , rate_limit:nil \ )</span>
|
155
|
+
|
156
|
+
<span class="method-click-advice">click to toggle source</span>
|
157
|
+
|
158
|
+
</div>
|
159
|
+
|
160
|
+
|
161
|
+
<div class="method-description">
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
<div class="method-source-code" id="new-source">
|
169
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 5777</span>
|
170
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
171
|
+
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
172
|
+
,
|
173
|
+
<span class="ruby-value">rate_limit:</span><span class="ruby-keyword">nil</span> \
|
174
|
+
)
|
175
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">meta</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
176
|
+
<span class="ruby-ivar">@meta</span> = <span class="ruby-identifier">meta</span>
|
177
|
+
<span class="ruby-keyword">end</span>
|
178
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">rate_limit</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
179
|
+
<span class="ruby-ivar">@rate_limit</span> = <span class="ruby-identifier">rate_limit</span>
|
180
|
+
<span class="ruby-keyword">end</span>
|
181
|
+
<span class="ruby-keyword">end</span></pre>
|
182
|
+
</div>
|
183
|
+
|
184
|
+
</div>
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
</div>
|
190
|
+
|
191
|
+
|
192
|
+
</section>
|
193
|
+
|
194
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
195
|
+
<header>
|
196
|
+
<h3>Public Instance Methods</h3>
|
197
|
+
</header>
|
198
|
+
|
199
|
+
|
200
|
+
<div id="method-i-to_json" class="method-detail ">
|
201
|
+
|
202
|
+
<div class="method-heading">
|
203
|
+
<span class="method-name">to_json</span><span
|
204
|
+
class="method-args">(options={})</span>
|
205
|
+
|
206
|
+
<span class="method-click-advice">click to toggle source</span>
|
207
|
+
|
208
|
+
</div>
|
209
|
+
|
210
|
+
|
211
|
+
<div class="method-description">
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
<div class="method-source-code" id="to_json-source">
|
219
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 5789</span>
|
220
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
221
|
+
<span class="ruby-identifier">hash</span> = {}
|
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>
|
223
|
+
<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>
|
224
|
+
<span class="ruby-keyword">end</span>
|
225
|
+
<span class="ruby-identifier">hash</span>.<span class="ruby-identifier">to_json</span>
|
226
|
+
<span class="ruby-keyword">end</span></pre>
|
227
|
+
</div>
|
228
|
+
|
229
|
+
</div>
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
</div>
|
235
|
+
|
236
|
+
|
237
|
+
</section>
|
238
|
+
|
239
|
+
</section>
|
240
|
+
|
241
|
+
</main>
|
242
|
+
|
243
|
+
|
244
|
+
<footer id="validator-badges" role="contentinfo">
|
245
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
246
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
247
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
248
|
+
</footer>
|
249
|
+
|