strongdm 1.0.28 → 1.0.32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. checksums.yaml +4 -4
  2. data/.git/FETCH_HEAD +2 -2
  3. data/.git/ORIG_HEAD +1 -1
  4. data/.git/index +0 -0
  5. data/.git/logs/HEAD +4 -4
  6. data/.git/logs/refs/heads/development +1 -1
  7. data/.git/logs/refs/heads/master +2 -2
  8. data/.git/logs/refs/remotes/origin/HEAD +1 -1
  9. data/.git/objects/pack/pack-760024d2d3e635c44bfe6b54af80a8b21674032d.idx +0 -0
  10. data/.git/objects/pack/{pack-c145f7f05d162f9c48a04d57dee32a2d1473598c.pack → pack-760024d2d3e635c44bfe6b54af80a8b21674032d.pack} +0 -0
  11. data/.git/packed-refs +6 -2
  12. data/.git/refs/heads/development +1 -1
  13. data/.git/refs/heads/master +1 -1
  14. data/doc/SDM/AKS.html +36 -36
  15. data/doc/SDM/AKSBasicAuth.html +30 -30
  16. data/doc/SDM/AKSServiceAccount.html +28 -28
  17. data/doc/SDM/AKSServiceAccountUserImpersonation.html +28 -28
  18. data/doc/SDM/AKSUserImpersonation.html +36 -36
  19. data/doc/SDM/AWS.html +32 -32
  20. data/doc/SDM/AWSStore.html +2 -2
  21. data/doc/SDM/AccountAttachment.html +8 -8
  22. data/doc/SDM/AccountAttachmentCreateResponse.html +8 -8
  23. data/doc/SDM/AccountAttachmentDeleteResponse.html +2 -2
  24. data/doc/SDM/AccountAttachmentGetResponse.html +8 -8
  25. data/doc/SDM/AccountAttachments.html +2 -2
  26. data/doc/SDM/AccountCreateResponse.html +11 -11
  27. data/doc/SDM/AccountDeleteResponse.html +2 -2
  28. data/doc/SDM/AccountGetResponse.html +8 -8
  29. data/doc/SDM/AccountGrant.html +8 -8
  30. data/doc/SDM/AccountGrantCreateResponse.html +8 -8
  31. data/doc/SDM/AccountGrantDeleteResponse.html +2 -2
  32. data/doc/SDM/AccountGrantGetResponse.html +8 -8
  33. data/doc/SDM/AccountGrants.html +2 -2
  34. data/doc/SDM/AccountUpdateResponse.html +8 -8
  35. data/doc/SDM/Accounts.html +4 -4
  36. data/doc/SDM/AmazonEKS.html +39 -39
  37. data/doc/SDM/AmazonEKSUserImpersonation.html +39 -39
  38. data/doc/SDM/AmazonES.html +37 -37
  39. data/doc/SDM/AmazonMQAMQP091.html +34 -34
  40. data/doc/SDM/Athena.html +30 -30
  41. data/doc/SDM/AuroraMysql.html +33 -33
  42. data/doc/SDM/AuroraPostgres.html +35 -35
  43. data/doc/SDM/Azure.html +307 -0
  44. data/doc/SDM/AzureCertificate.html +307 -0
  45. data/doc/SDM/AzurePostgres.html +367 -0
  46. data/doc/SDM/BigQuery.html +24 -24
  47. data/doc/SDM/Cassandra.html +32 -32
  48. data/doc/SDM/Citus.html +35 -35
  49. data/doc/SDM/Clustrix.html +33 -33
  50. data/doc/SDM/Cockroach.html +35 -35
  51. data/doc/SDM/ControlPanel.html +1 -1
  52. data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +2 -2
  53. data/doc/SDM/ControlPanelVerifyJWTResponse.html +8 -8
  54. data/doc/SDM/CreateResponseMetadata.html +2 -2
  55. data/doc/SDM/DB2LUW.html +33 -33
  56. data/doc/SDM/DB2i.html +32 -32
  57. data/doc/SDM/DeleteResponseMetadata.html +2 -2
  58. data/doc/SDM/DocumentDBHost.html +352 -0
  59. data/doc/SDM/DocumentDBReplicaSet.html +367 -0
  60. data/doc/SDM/Druid.html +31 -31
  61. data/doc/SDM/DynamoDB.html +38 -38
  62. data/doc/SDM/Elastic.html +32 -32
  63. data/doc/SDM/ElasticacheRedis.html +28 -28
  64. data/doc/SDM/GCP.html +292 -0
  65. data/doc/SDM/Gateway.html +18 -18
  66. data/doc/SDM/GetResponseMetadata.html +2 -2
  67. data/doc/SDM/GoogleGKE.html +29 -29
  68. data/doc/SDM/GoogleGKEUserImpersonation.html +29 -29
  69. data/doc/SDM/Greenplum.html +35 -35
  70. data/doc/SDM/HTTPAuth.html +36 -36
  71. data/doc/SDM/HTTPBasicAuth.html +38 -38
  72. data/doc/SDM/HTTPNoAuth.html +34 -34
  73. data/doc/SDM/Kubernetes.html +36 -36
  74. data/doc/SDM/KubernetesBasicAuth.html +30 -30
  75. data/doc/SDM/KubernetesServiceAccount.html +28 -28
  76. data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +28 -28
  77. data/doc/SDM/KubernetesUserImpersonation.html +36 -36
  78. data/doc/SDM/Maria.html +33 -33
  79. data/doc/SDM/Memcached.html +26 -26
  80. data/doc/SDM/Memsql.html +33 -33
  81. data/doc/SDM/MongoHost.html +34 -34
  82. data/doc/SDM/MongoLegacyHost.html +35 -35
  83. data/doc/SDM/MongoLegacyReplicaset.html +38 -38
  84. data/doc/SDM/MongoReplicaSet.html +38 -38
  85. data/doc/SDM/Mysql.html +33 -33
  86. data/doc/SDM/Neptune.html +307 -0
  87. data/doc/SDM/NeptuneIAM.html +382 -0
  88. data/doc/SDM/NodeCreateResponse.html +8 -8
  89. data/doc/SDM/NodeDeleteResponse.html +2 -2
  90. data/doc/SDM/NodeGetResponse.html +2 -2
  91. data/doc/SDM/NodeUpdateResponse.html +2 -2
  92. data/doc/SDM/Nodes.html +1 -1
  93. data/doc/SDM/Oracle.html +32 -32
  94. data/doc/SDM/Plumbing.html +3048 -1974
  95. data/doc/SDM/Postgres.html +35 -35
  96. data/doc/SDM/Presto.html +32 -32
  97. data/doc/SDM/RDP.html +32 -32
  98. data/doc/SDM/RabbitMQAMQP091.html +34 -34
  99. data/doc/SDM/RateLimitMetadata.html +8 -8
  100. data/doc/SDM/RawTCP.html +26 -26
  101. data/doc/SDM/Redis.html +28 -28
  102. data/doc/SDM/Redshift.html +35 -35
  103. data/doc/SDM/Relay.html +8 -8
  104. data/doc/SDM/ResourceCreateResponse.html +8 -8
  105. data/doc/SDM/ResourceDeleteResponse.html +2 -2
  106. data/doc/SDM/ResourceGetResponse.html +8 -8
  107. data/doc/SDM/ResourceUpdateResponse.html +8 -8
  108. data/doc/SDM/Resources.html +3 -3
  109. data/doc/SDM/Role.html +13 -13
  110. data/doc/SDM/RoleAttachment.html +9 -9
  111. data/doc/SDM/RoleAttachmentCreateResponse.html +8 -8
  112. data/doc/SDM/RoleAttachmentDeleteResponse.html +2 -2
  113. data/doc/SDM/RoleAttachmentGetResponse.html +8 -8
  114. data/doc/SDM/RoleAttachments.html +2 -2
  115. data/doc/SDM/RoleCreateResponse.html +8 -8
  116. data/doc/SDM/RoleDeleteResponse.html +2 -2
  117. data/doc/SDM/RoleGetResponse.html +8 -8
  118. data/doc/SDM/RoleGrant.html +2 -2
  119. data/doc/SDM/RoleGrantCreateResponse.html +8 -8
  120. data/doc/SDM/RoleGrantDeleteResponse.html +2 -2
  121. data/doc/SDM/RoleGrantGetResponse.html +8 -8
  122. data/doc/SDM/RoleGrants.html +2 -2
  123. data/doc/SDM/RoleUpdateResponse.html +8 -8
  124. data/doc/SDM/Roles.html +3 -3
  125. data/doc/SDM/SQLServer.html +35 -35
  126. data/doc/SDM/SSH.html +33 -33
  127. data/doc/SDM/SSHCert.html +30 -30
  128. data/doc/SDM/SSHCustomerKey.html +33 -33
  129. data/doc/SDM/SecretStoreCreateResponse.html +8 -8
  130. data/doc/SDM/SecretStoreDeleteResponse.html +2 -2
  131. data/doc/SDM/SecretStoreGetResponse.html +8 -8
  132. data/doc/SDM/SecretStoreUpdateResponse.html +8 -8
  133. data/doc/SDM/SecretStores.html +3 -3
  134. data/doc/SDM/Service.html +2 -2
  135. data/doc/SDM/SingleStore.html +33 -33
  136. data/doc/SDM/Snowflake.html +33 -33
  137. data/doc/SDM/Sybase.html +31 -31
  138. data/doc/SDM/SybaseIQ.html +31 -31
  139. data/doc/SDM/Tag.html +2 -2
  140. data/doc/SDM/Teradata.html +32 -32
  141. data/doc/SDM/UpdateResponseMetadata.html +2 -2
  142. data/doc/SDM/User.html +8 -8
  143. data/doc/SDM/VaultTLSStore.html +33 -18
  144. data/doc/SDM/VaultTokenStore.html +18 -3
  145. data/doc/V1.html +16 -0
  146. data/doc/created.rid +37 -37
  147. data/doc/index.html +8 -0
  148. data/doc/js/navigation.js.gz +0 -0
  149. data/doc/js/search_index.js +1 -1
  150. data/doc/js/search_index.js.gz +0 -0
  151. data/doc/js/searcher.js.gz +0 -0
  152. data/doc/lib/version.html +1 -1
  153. data/doc/table_of_contents.html +779 -515
  154. data/lib/grpc/drivers_pb.rb +504 -385
  155. data/lib/grpc/plumbing.rb +3295 -2813
  156. data/lib/grpc/secret_store_types_pb.rb +3 -1
  157. data/lib/models/porcelain.rb +4313 -3705
  158. data/lib/strongdm.rb +1 -1
  159. data/lib/svc.rb +23 -23
  160. data/lib/version +1 -1
  161. data/lib/version.rb +1 -1
  162. metadata +12 -4
  163. data/.git/objects/pack/pack-c145f7f05d162f9c48a04d57dee32a2d1473598c.idx +0 -0
@@ -0,0 +1,352 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class SDM::DocumentDBHost - 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
+ <body id="top" role="document" class="class">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="../index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="../table_of_contents.html#pages">Pages</a>
34
+ <a href="../table_of_contents.html#classes">Classes</a>
35
+ <a href="../table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="class-metadata">
59
+
60
+
61
+ <div id="parent-class-section" class="nav-section">
62
+ <h3>Parent</h3>
63
+
64
+ <p class="link"><a href="../Object.html">Object</a>
65
+ </div>
66
+
67
+
68
+
69
+
70
+ <!-- Method Quickref -->
71
+ <div id="method-list-section" class="nav-section">
72
+ <h3>Methods</h3>
73
+
74
+ <ul class="link-list" role="directory">
75
+ <li ><a href="#method-c-new">::new</a>
76
+ <li ><a href="#method-i-to_json">#to_json</a>
77
+ </ul>
78
+ </div>
79
+
80
+ </div>
81
+ </nav>
82
+
83
+ <main role="main" aria-labelledby="class-SDM::DocumentDBHost">
84
+ <h1 id="class-SDM::DocumentDBHost" class="class">
85
+ class SDM::DocumentDBHost
86
+ </h1>
87
+
88
+ <section class="description">
89
+
90
+ </section>
91
+
92
+ <section id="5Buntitled-5D" class="documentation-section">
93
+
94
+
95
+
96
+ <section class="attribute-method-details" class="method-section">
97
+ <header>
98
+ <h3>Attributes</h3>
99
+ </header>
100
+
101
+ <div id="attribute-i-auth_database" class="method-detail">
102
+ <div class="method-heading attribute-method-heading">
103
+ <span class="method-name">auth_database</span><span
104
+ class="attribute-access-type">[RW]</span>
105
+ </div>
106
+
107
+ <div class="method-description">
108
+
109
+ </div>
110
+ </div>
111
+ <div id="attribute-i-egress_filter" class="method-detail">
112
+ <div class="method-heading attribute-method-heading">
113
+ <span class="method-name">egress_filter</span><span
114
+ class="attribute-access-type">[RW]</span>
115
+ </div>
116
+
117
+ <div class="method-description">
118
+ <p>A filter applied to the routing logic to pin datasource to nodes.</p>
119
+ </div>
120
+ </div>
121
+ <div id="attribute-i-healthy" class="method-detail">
122
+ <div class="method-heading attribute-method-heading">
123
+ <span class="method-name">healthy</span><span
124
+ class="attribute-access-type">[RW]</span>
125
+ </div>
126
+
127
+ <div class="method-description">
128
+ <p>True if the datasource is reachable and the credentials are valid.</p>
129
+ </div>
130
+ </div>
131
+ <div id="attribute-i-hostname" class="method-detail">
132
+ <div class="method-heading attribute-method-heading">
133
+ <span class="method-name">hostname</span><span
134
+ class="attribute-access-type">[RW]</span>
135
+ </div>
136
+
137
+ <div class="method-description">
138
+
139
+ </div>
140
+ </div>
141
+ <div id="attribute-i-id" class="method-detail">
142
+ <div class="method-heading attribute-method-heading">
143
+ <span class="method-name">id</span><span
144
+ class="attribute-access-type">[RW]</span>
145
+ </div>
146
+
147
+ <div class="method-description">
148
+ <p>Unique identifier of the Resource.</p>
149
+ </div>
150
+ </div>
151
+ <div id="attribute-i-name" class="method-detail">
152
+ <div class="method-heading attribute-method-heading">
153
+ <span class="method-name">name</span><span
154
+ class="attribute-access-type">[RW]</span>
155
+ </div>
156
+
157
+ <div class="method-description">
158
+ <p>Unique human-readable name of the Resource.</p>
159
+ </div>
160
+ </div>
161
+ <div id="attribute-i-password" class="method-detail">
162
+ <div class="method-heading attribute-method-heading">
163
+ <span class="method-name">password</span><span
164
+ class="attribute-access-type">[RW]</span>
165
+ </div>
166
+
167
+ <div class="method-description">
168
+
169
+ </div>
170
+ </div>
171
+ <div id="attribute-i-port" class="method-detail">
172
+ <div class="method-heading attribute-method-heading">
173
+ <span class="method-name">port</span><span
174
+ class="attribute-access-type">[RW]</span>
175
+ </div>
176
+
177
+ <div class="method-description">
178
+
179
+ </div>
180
+ </div>
181
+ <div id="attribute-i-port_override" class="method-detail">
182
+ <div class="method-heading attribute-method-heading">
183
+ <span class="method-name">port_override</span><span
184
+ class="attribute-access-type">[RW]</span>
185
+ </div>
186
+
187
+ <div class="method-description">
188
+
189
+ </div>
190
+ </div>
191
+ <div id="attribute-i-secret_store_id" class="method-detail">
192
+ <div class="method-heading attribute-method-heading">
193
+ <span class="method-name">secret_store_id</span><span
194
+ class="attribute-access-type">[RW]</span>
195
+ </div>
196
+
197
+ <div class="method-description">
198
+ <p>ID of the secret store containing credentials for this resource, if any.</p>
199
+ </div>
200
+ </div>
201
+ <div id="attribute-i-tags" class="method-detail">
202
+ <div class="method-heading attribute-method-heading">
203
+ <span class="method-name">tags</span><span
204
+ class="attribute-access-type">[RW]</span>
205
+ </div>
206
+
207
+ <div class="method-description">
208
+ <p>Tags is a map of key, value pairs.</p>
209
+ </div>
210
+ </div>
211
+ <div id="attribute-i-username" class="method-detail">
212
+ <div class="method-heading attribute-method-heading">
213
+ <span class="method-name">username</span><span
214
+ class="attribute-access-type">[RW]</span>
215
+ </div>
216
+
217
+ <div class="method-description">
218
+
219
+ </div>
220
+ </div>
221
+ </section>
222
+
223
+
224
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
225
+ <header>
226
+ <h3>Public Class Methods</h3>
227
+ </header>
228
+
229
+ <div id="method-c-new" class="method-detail ">
230
+ <div class="method-heading">
231
+ <span class="method-name">new</span><span
232
+ class="method-args">( auth_database:nil \ , egress_filter:nil \ , healthy:nil \ , hostname:nil \ , id:nil \ , name:nil \ , password:nil \ , port:nil \ , port_override:nil \ , secret_store_id:nil \ , tags:nil \ , username:nil \ )</span>
233
+ <span class="method-click-advice">click to toggle source</span>
234
+ </div>
235
+
236
+ <div class="method-description">
237
+
238
+
239
+ <div class="method-source-code" id="new-source">
240
+ <pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 2780</span>
241
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
242
+ <span class="ruby-value">auth_database:</span><span class="ruby-keyword">nil</span> \
243
+ ,
244
+ <span class="ruby-value">egress_filter:</span><span class="ruby-keyword">nil</span> \
245
+ ,
246
+ <span class="ruby-value">healthy:</span><span class="ruby-keyword">nil</span> \
247
+ ,
248
+ <span class="ruby-value">hostname:</span><span class="ruby-keyword">nil</span> \
249
+ ,
250
+ <span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
251
+ ,
252
+ <span class="ruby-value">name:</span><span class="ruby-keyword">nil</span> \
253
+ ,
254
+ <span class="ruby-value">password:</span><span class="ruby-keyword">nil</span> \
255
+ ,
256
+ <span class="ruby-value">port:</span><span class="ruby-keyword">nil</span> \
257
+ ,
258
+ <span class="ruby-value">port_override:</span><span class="ruby-keyword">nil</span> \
259
+ ,
260
+ <span class="ruby-value">secret_store_id:</span><span class="ruby-keyword">nil</span> \
261
+ ,
262
+ <span class="ruby-value">tags:</span><span class="ruby-keyword">nil</span> \
263
+ ,
264
+ <span class="ruby-value">username:</span><span class="ruby-keyword">nil</span> \
265
+ )
266
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">auth_database</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
267
+ <span class="ruby-ivar">@auth_database</span> = <span class="ruby-identifier">auth_database</span>
268
+ <span class="ruby-keyword">end</span>
269
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">egress_filter</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
270
+ <span class="ruby-ivar">@egress_filter</span> = <span class="ruby-identifier">egress_filter</span>
271
+ <span class="ruby-keyword">end</span>
272
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">healthy</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
273
+ <span class="ruby-ivar">@healthy</span> = <span class="ruby-identifier">healthy</span>
274
+ <span class="ruby-keyword">end</span>
275
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">hostname</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
276
+ <span class="ruby-ivar">@hostname</span> = <span class="ruby-identifier">hostname</span>
277
+ <span class="ruby-keyword">end</span>
278
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">id</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
279
+ <span class="ruby-ivar">@id</span> = <span class="ruby-identifier">id</span>
280
+ <span class="ruby-keyword">end</span>
281
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">name</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
282
+ <span class="ruby-ivar">@name</span> = <span class="ruby-identifier">name</span>
283
+ <span class="ruby-keyword">end</span>
284
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">password</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
285
+ <span class="ruby-ivar">@password</span> = <span class="ruby-identifier">password</span>
286
+ <span class="ruby-keyword">end</span>
287
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">port</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
288
+ <span class="ruby-ivar">@port</span> = <span class="ruby-identifier">port</span>
289
+ <span class="ruby-keyword">end</span>
290
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">port_override</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
291
+ <span class="ruby-ivar">@port_override</span> = <span class="ruby-identifier">port_override</span>
292
+ <span class="ruby-keyword">end</span>
293
+ <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>
294
+ <span class="ruby-ivar">@secret_store_id</span> = <span class="ruby-identifier">secret_store_id</span>
295
+ <span class="ruby-keyword">end</span>
296
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">tags</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
297
+ <span class="ruby-ivar">@tags</span> = <span class="ruby-identifier">tags</span>
298
+ <span class="ruby-keyword">end</span>
299
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">username</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
300
+ <span class="ruby-ivar">@username</span> = <span class="ruby-identifier">username</span>
301
+ <span class="ruby-keyword">end</span>
302
+ <span class="ruby-keyword">end</span></pre>
303
+ </div>
304
+ </div>
305
+
306
+
307
+ </div>
308
+
309
+ </section>
310
+
311
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
312
+ <header>
313
+ <h3>Public Instance Methods</h3>
314
+ </header>
315
+
316
+ <div id="method-i-to_json" class="method-detail ">
317
+ <div class="method-heading">
318
+ <span class="method-name">to_json</span><span
319
+ class="method-args">(options={})</span>
320
+ <span class="method-click-advice">click to toggle source</span>
321
+ </div>
322
+
323
+ <div class="method-description">
324
+
325
+
326
+ <div class="method-source-code" id="to_json-source">
327
+ <pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 2842</span>
328
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
329
+ <span class="ruby-identifier">hash</span> = {}
330
+ <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>
331
+ <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">&#39;@&#39;</span>)] = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variable_get</span> <span class="ruby-identifier">var</span>
332
+ <span class="ruby-keyword">end</span>
333
+ <span class="ruby-identifier">hash</span>.<span class="ruby-identifier">to_json</span>
334
+ <span class="ruby-keyword">end</span></pre>
335
+ </div>
336
+ </div>
337
+
338
+
339
+ </div>
340
+
341
+ </section>
342
+
343
+ </section>
344
+ </main>
345
+
346
+
347
+ <footer id="validator-badges" role="contentinfo">
348
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
349
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.1.
350
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
351
+ </footer>
352
+