strongdm 1.0.23 → 1.0.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.git/FETCH_HEAD +2 -0
- data/.git/HEAD +1 -0
- data/.git/ORIG_HEAD +1 -0
- data/.git/config +14 -0
- data/.git/description +1 -0
- data/.git/hooks/applypatch-msg.sample +15 -0
- data/.git/hooks/commit-msg.sample +24 -0
- data/.git/hooks/fsmonitor-watchman.sample +114 -0
- data/.git/hooks/post-update.sample +8 -0
- data/.git/hooks/pre-applypatch.sample +14 -0
- data/.git/hooks/pre-commit.sample +49 -0
- data/.git/hooks/pre-push.sample +53 -0
- data/.git/hooks/pre-rebase.sample +169 -0
- data/.git/hooks/pre-receive.sample +24 -0
- data/.git/hooks/prepare-commit-msg.sample +42 -0
- data/.git/hooks/update.sample +128 -0
- data/.git/index +0 -0
- data/.git/info/exclude +6 -0
- data/.git/logs/HEAD +4 -0
- data/.git/logs/refs/heads/development +1 -0
- data/.git/logs/refs/heads/master +2 -0
- data/.git/logs/refs/remotes/origin/HEAD +1 -0
- data/.git/objects/pack/pack-c145f7f05d162f9c48a04d57dee32a2d1473598c.idx +0 -0
- data/.git/objects/pack/pack-c145f7f05d162f9c48a04d57dee32a2d1473598c.pack +0 -0
- data/.git/packed-refs +28 -0
- data/.git/refs/heads/development +1 -0
- data/.git/refs/heads/master +1 -0
- data/.git/refs/remotes/origin/HEAD +1 -0
- data/doc/LICENSE.html +3 -9
- data/doc/Object.html +8 -24
- data/doc/README_md.html +7 -10
- data/doc/SDM/AKS.html +9 -84
- data/doc/SDM/AKSBasicAuth.html +9 -81
- data/doc/SDM/AKSServiceAccount.html +9 -78
- data/doc/SDM/AKSServiceAccountUserImpersonation.html +9 -78
- data/doc/SDM/AKSUserImpersonation.html +9 -84
- data/doc/SDM/AWS.html +8 -80
- data/doc/SDM/AWSStore.html +10 -61
- data/doc/SDM/AccountAttachment.html +8 -56
- data/doc/SDM/AccountAttachmentCreateResponse.html +8 -56
- data/doc/SDM/AccountAttachmentDeleteResponse.html +8 -53
- data/doc/SDM/AccountAttachmentGetResponse.html +8 -56
- data/doc/SDM/AccountAttachments.html +8 -84
- data/doc/SDM/AccountCreateResponse.html +8 -59
- data/doc/SDM/AccountDeleteResponse.html +8 -53
- data/doc/SDM/AccountGetResponse.html +8 -56
- data/doc/SDM/AccountGrant.html +8 -62
- data/doc/SDM/AccountGrantCreateResponse.html +8 -56
- data/doc/SDM/AccountGrantDeleteResponse.html +8 -53
- data/doc/SDM/AccountGrantGetResponse.html +8 -56
- data/doc/SDM/AccountGrants.html +8 -84
- data/doc/SDM/AccountUpdateResponse.html +8 -56
- data/doc/SDM/Accounts.html +9 -98
- data/doc/SDM/AlreadyExistsError.html +7 -31
- data/doc/SDM/AmazonEKS.html +9 -93
- data/doc/SDM/AmazonEKSUserImpersonation.html +9 -93
- data/doc/SDM/AmazonES.html +8 -86
- data/doc/SDM/AmazonMQAMQP091.html +8 -83
- data/doc/SDM/Athena.html +8 -86
- data/doc/SDM/AuroraMysql.html +8 -83
- data/doc/SDM/AuroraPostgres.html +10 -88
- data/doc/SDM/AuthenticationError.html +7 -31
- data/doc/SDM/BadRequestError.html +7 -31
- data/doc/SDM/BigQuery.html +8 -80
- data/doc/SDM/Cassandra.html +8 -83
- data/doc/SDM/Citus.html +10 -88
- data/doc/SDM/Client.html +22 -140
- data/doc/SDM/Clustrix.html +8 -83
- data/doc/SDM/Cockroach.html +10 -88
- data/doc/SDM/ControlPanel.html +8 -58
- data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +8 -56
- data/doc/SDM/ControlPanelVerifyJWTResponse.html +8 -56
- data/doc/SDM/CreateResponseMetadata.html +8 -45
- data/doc/SDM/DB2LUW.html +8 -83
- data/doc/SDM/DB2i.html +8 -83
- data/doc/SDM/DeadlineExceededError.html +7 -31
- data/doc/SDM/DeleteResponseMetadata.html +8 -45
- data/doc/SDM/Druid.html +8 -80
- data/doc/SDM/DynamoDB.html +8 -86
- data/doc/SDM/Elastic.html +8 -83
- data/doc/SDM/ElasticacheRedis.html +10 -82
- data/doc/SDM/Gateway.html +10 -70
- data/doc/SDM/GetResponseMetadata.html +8 -45
- data/doc/SDM/GoogleGKE.html +9 -78
- data/doc/SDM/GoogleGKEUserImpersonation.html +9 -78
- data/doc/SDM/Greenplum.html +10 -88
- data/doc/SDM/HTTPAuth.html +8 -83
- data/doc/SDM/HTTPBasicAuth.html +8 -86
- data/doc/SDM/HTTPNoAuth.html +8 -80
- data/doc/SDM/InternalError.html +7 -31
- data/doc/SDM/Kubernetes.html +9 -84
- data/doc/SDM/KubernetesBasicAuth.html +9 -81
- data/doc/SDM/KubernetesServiceAccount.html +9 -78
- data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +9 -78
- data/doc/SDM/KubernetesUserImpersonation.html +9 -84
- data/doc/SDM/Maria.html +8 -83
- data/doc/SDM/Memcached.html +8 -74
- data/doc/SDM/Memsql.html +8 -83
- data/doc/SDM/MongoHost.html +8 -86
- data/doc/SDM/MongoLegacyHost.html +8 -89
- data/doc/SDM/MongoLegacyReplicaset.html +8 -92
- data/doc/SDM/MongoReplicaSet.html +8 -92
- data/doc/SDM/Mysql.html +8 -83
- data/doc/SDM/NodeCreateResponse.html +10 -61
- data/doc/SDM/NodeDeleteResponse.html +10 -55
- data/doc/SDM/NodeGetResponse.html +10 -58
- data/doc/SDM/NodeUpdateResponse.html +10 -58
- data/doc/SDM/Nodes.html +10 -99
- data/doc/SDM/NotFoundError.html +7 -31
- data/doc/SDM/Oracle.html +10 -88
- data/doc/SDM/PermissionError.html +7 -31
- data/doc/SDM/Plumbing.html +641 -6393
- data/doc/SDM/Postgres.html +10 -88
- data/doc/SDM/Presto.html +10 -88
- data/doc/SDM/RDP.html +10 -82
- data/doc/SDM/RPCError.html +7 -36
- data/doc/SDM/RabbitMQAMQP091.html +8 -83
- data/doc/SDM/RateLimitError.html +7 -36
- data/doc/SDM/RateLimitMetadata.html +8 -59
- data/doc/SDM/{SecretStore.html → RawTCP.html} +90 -86
- data/doc/SDM/Redis.html +10 -79
- data/doc/SDM/Redshift.html +10 -88
- data/doc/SDM/Relay.html +10 -64
- data/doc/SDM/ResourceCreateResponse.html +10 -58
- data/doc/SDM/ResourceDeleteResponse.html +10 -55
- data/doc/SDM/ResourceGetResponse.html +10 -58
- data/doc/SDM/ResourceUpdateResponse.html +10 -58
- data/doc/SDM/Resources.html +8 -110
- data/doc/SDM/Role.html +26 -62
- data/doc/SDM/RoleAttachment.html +10 -58
- data/doc/SDM/RoleAttachmentCreateResponse.html +10 -58
- data/doc/SDM/RoleAttachmentDeleteResponse.html +10 -55
- data/doc/SDM/RoleAttachmentGetResponse.html +10 -58
- data/doc/SDM/RoleAttachments.html +8 -84
- data/doc/SDM/RoleCreateResponse.html +10 -58
- data/doc/SDM/RoleDeleteResponse.html +10 -55
- data/doc/SDM/RoleGetResponse.html +10 -58
- data/doc/SDM/RoleGrant.html +10 -58
- data/doc/SDM/RoleGrantCreateResponse.html +10 -58
- data/doc/SDM/RoleGrantDeleteResponse.html +10 -55
- data/doc/SDM/RoleGrantGetResponse.html +10 -58
- data/doc/SDM/RoleGrants.html +8 -84
- data/doc/SDM/RoleUpdateResponse.html +10 -58
- data/doc/SDM/Roles.html +8 -97
- data/doc/SDM/SQLServer.html +10 -91
- data/doc/SDM/SSH.html +10 -85
- data/doc/SDM/SSHCert.html +10 -82
- data/doc/SDM/SSHCustomerKey.html +10 -85
- data/doc/SDM/SecretStoreCreateResponse.html +10 -58
- data/doc/SDM/SecretStoreDeleteResponse.html +10 -55
- data/doc/SDM/SecretStoreGetResponse.html +10 -58
- data/doc/SDM/SecretStoreUpdateResponse.html +10 -58
- data/doc/SDM/SecretStores.html +8 -97
- data/doc/SDM/Service.html +8 -59
- data/doc/SDM/{AmazonMQRabbitMQAMQP091.html → SingleStore.html} +38 -113
- data/doc/SDM/Snowflake.html +10 -85
- data/doc/SDM/Sybase.html +10 -82
- data/doc/SDM/SybaseIQ.html +10 -82
- data/doc/SDM/Tag.html +8 -53
- data/doc/SDM/Teradata.html +10 -82
- data/doc/SDM/UpdateResponseMetadata.html +8 -45
- data/doc/SDM/User.html +8 -65
- data/doc/SDM/VaultTLSStore.html +10 -70
- data/doc/SDM/VaultTokenStore.html +10 -61
- data/doc/SDM.html +2 -15
- data/doc/V1/AccountAttachments/Service.html +7 -19
- data/doc/V1/AccountAttachments.html +2 -15
- data/doc/V1/AccountGrants/Service.html +7 -19
- data/doc/V1/AccountGrants.html +2 -15
- data/doc/V1/Accounts/Service.html +8 -20
- data/doc/V1/Accounts.html +2 -15
- data/doc/V1/ControlPanel/Service.html +7 -19
- data/doc/V1/ControlPanel.html +2 -15
- data/doc/V1/Nodes/Service.html +9 -21
- data/doc/V1/Nodes.html +2 -15
- data/doc/V1/Resources/Service.html +7 -19
- data/doc/V1/Resources.html +2 -15
- data/doc/V1/RoleAttachments/Service.html +7 -19
- data/doc/V1/RoleAttachments.html +2 -15
- data/doc/V1/RoleGrants/Service.html +7 -19
- data/doc/V1/RoleGrants.html +2 -15
- data/doc/V1/Roles/Service.html +7 -19
- data/doc/V1/Roles.html +2 -15
- data/doc/V1/SecretStores/Service.html +7 -19
- data/doc/V1/SecretStores.html +2 -15
- data/doc/V1/Tags.html +2 -15
- data/doc/V1.html +10 -802
- data/doc/created.rid +37 -56
- data/doc/css/rdoc.css +21 -1
- data/doc/examples/Gemfile.html +3 -9
- data/doc/index.html +5 -188
- 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 +4 -10
- data/doc/table_of_contents.html +398 -716
- data/lib/grpc/account_attachments_services_pb.rb +1 -1
- data/lib/grpc/account_grants_services_pb.rb +1 -1
- data/lib/grpc/accounts_services_pb.rb +1 -1
- data/lib/grpc/control_panel_services_pb.rb +1 -1
- data/lib/grpc/drivers_pb.rb +29 -0
- data/lib/grpc/nodes_services_pb.rb +1 -1
- data/lib/grpc/options_pb.rb +10 -14
- data/lib/grpc/plumbing.rb +120 -0
- data/lib/grpc/resources_services_pb.rb +1 -1
- data/lib/grpc/role_attachments_services_pb.rb +1 -1
- data/lib/grpc/role_grants_services_pb.rb +1 -1
- data/lib/grpc/roles_pb.rb +1 -0
- data/lib/grpc/roles_services_pb.rb +1 -1
- data/lib/grpc/secret_stores_services_pb.rb +1 -1
- data/lib/models/porcelain.rb +176 -14
- data/lib/strongdm.rb +8 -1
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- data/strongdm.gemspec +5 -5
- metadata +279 -291
- data/doc/Google/Protobuf.html +0 -95
- data/doc/Google.html +0 -95
- data/doc/SDM/AccessRuleCreateResponse.html +0 -267
- data/doc/SDM/AccessRuleDeleteResponse.html +0 -249
- data/doc/SDM/AccessRuleUpdateResponse.html +0 -267
- data/doc/SDM/AccountAttachmentCreateOptions.html +0 -231
- data/doc/V1/AccessRules/Service.html +0 -119
- data/doc/V1/AccessRules.html +0 -113
- data/doc/V1/Audits/Service.html +0 -119
- data/doc/V1/Audits.html +0 -113
- data/doc/V1/BuildsPrivate/Service.html +0 -119
- data/doc/V1/BuildsPrivate.html +0 -113
- data/doc/V1/DemoProvisioningRequests/Service.html +0 -119
- data/doc/V1/DemoProvisioningRequests.html +0 -113
- data/doc/V1/Permissions/Service.html +0 -119
- data/doc/V1/SecretStoreHealths/Service.html +0 -119
- data/doc/V1/SecretStoreHealths.html +0 -113
- data/doc/examples/Gemfile_lock.html +0 -122
- data/doc/examples/README_md.html +0 -105
- data/doc/examples/okta-sync/Gemfile.html +0 -105
- data/doc/examples/okta-sync/Gemfile_lock.html +0 -146
- data/doc/js/jquery.js +0 -4
- data/doc/strongdm_gemspec.html +0 -119
@@ -21,8 +21,6 @@
|
|
21
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
22
22
|
|
23
23
|
|
24
|
-
|
25
|
-
|
26
24
|
<body id="top" role="document" class="class">
|
27
25
|
<nav role="navigation">
|
28
26
|
<div id="project-navigation">
|
@@ -59,26 +57,23 @@
|
|
59
57
|
|
60
58
|
<div id="class-metadata">
|
61
59
|
|
62
|
-
|
60
|
+
|
61
|
+
<div id="parent-class-section" class="nav-section">
|
63
62
|
<h3>Parent</h3>
|
64
63
|
|
65
|
-
|
66
64
|
<p class="link"><a href="../Object.html">Object</a>
|
67
|
-
|
68
65
|
</div>
|
69
66
|
|
70
67
|
|
71
68
|
|
72
|
-
|
69
|
+
|
70
|
+
<!-- Method Quickref -->
|
73
71
|
<div id="method-list-section" class="nav-section">
|
74
72
|
<h3>Methods</h3>
|
75
73
|
|
76
74
|
<ul class="link-list" role="directory">
|
77
|
-
|
78
75
|
<li ><a href="#method-c-new">::new</a>
|
79
|
-
|
80
76
|
<li ><a href="#method-i-to_json">#to_json</a>
|
81
|
-
|
82
77
|
</ul>
|
83
78
|
</div>
|
84
79
|
|
@@ -94,21 +89,15 @@
|
|
94
89
|
|
95
90
|
</section>
|
96
91
|
|
97
|
-
|
98
92
|
<section id="5Buntitled-5D" class="documentation-section">
|
99
|
-
|
100
93
|
|
101
|
-
|
102
94
|
|
103
|
-
|
104
95
|
|
105
|
-
|
106
96
|
<section class="attribute-method-details" class="method-section">
|
107
97
|
<header>
|
108
98
|
<h3>Attributes</h3>
|
109
99
|
</header>
|
110
100
|
|
111
|
-
|
112
101
|
<div id="attribute-i-egress_filter" class="method-detail">
|
113
102
|
<div class="method-heading attribute-method-heading">
|
114
103
|
<span class="method-name">egress_filter</span><span
|
@@ -116,12 +105,9 @@
|
|
116
105
|
</div>
|
117
106
|
|
118
107
|
<div class="method-description">
|
119
|
-
|
120
108
|
<p>A filter applied to the routing logic to pin datasource to nodes.</p>
|
121
|
-
|
122
109
|
</div>
|
123
110
|
</div>
|
124
|
-
|
125
111
|
<div id="attribute-i-healthy" class="method-detail">
|
126
112
|
<div class="method-heading attribute-method-heading">
|
127
113
|
<span class="method-name">healthy</span><span
|
@@ -129,12 +115,9 @@
|
|
129
115
|
</div>
|
130
116
|
|
131
117
|
<div class="method-description">
|
132
|
-
|
133
118
|
<p>True if the datasource is reachable and the credentials are valid.</p>
|
134
|
-
|
135
119
|
</div>
|
136
120
|
</div>
|
137
|
-
|
138
121
|
<div id="attribute-i-hostname" class="method-detail">
|
139
122
|
<div class="method-heading attribute-method-heading">
|
140
123
|
<span class="method-name">hostname</span><span
|
@@ -143,11 +126,8 @@
|
|
143
126
|
|
144
127
|
<div class="method-description">
|
145
128
|
|
146
|
-
|
147
|
-
|
148
129
|
</div>
|
149
130
|
</div>
|
150
|
-
|
151
131
|
<div id="attribute-i-id" class="method-detail">
|
152
132
|
<div class="method-heading attribute-method-heading">
|
153
133
|
<span class="method-name">id</span><span
|
@@ -155,12 +135,9 @@
|
|
155
135
|
</div>
|
156
136
|
|
157
137
|
<div class="method-description">
|
158
|
-
|
159
138
|
<p>Unique identifier of the Resource.</p>
|
160
|
-
|
161
139
|
</div>
|
162
140
|
</div>
|
163
|
-
|
164
141
|
<div id="attribute-i-name" class="method-detail">
|
165
142
|
<div class="method-heading attribute-method-heading">
|
166
143
|
<span class="method-name">name</span><span
|
@@ -168,12 +145,9 @@
|
|
168
145
|
</div>
|
169
146
|
|
170
147
|
<div class="method-description">
|
171
|
-
|
172
148
|
<p>Unique human-readable name of the Resource.</p>
|
173
|
-
|
174
149
|
</div>
|
175
150
|
</div>
|
176
|
-
|
177
151
|
<div id="attribute-i-password" class="method-detail">
|
178
152
|
<div class="method-heading attribute-method-heading">
|
179
153
|
<span class="method-name">password</span><span
|
@@ -182,11 +156,8 @@
|
|
182
156
|
|
183
157
|
<div class="method-description">
|
184
158
|
|
185
|
-
|
186
|
-
|
187
159
|
</div>
|
188
160
|
</div>
|
189
|
-
|
190
161
|
<div id="attribute-i-port" class="method-detail">
|
191
162
|
<div class="method-heading attribute-method-heading">
|
192
163
|
<span class="method-name">port</span><span
|
@@ -195,11 +166,8 @@
|
|
195
166
|
|
196
167
|
<div class="method-description">
|
197
168
|
|
198
|
-
|
199
|
-
|
200
169
|
</div>
|
201
170
|
</div>
|
202
|
-
|
203
171
|
<div id="attribute-i-port_override" class="method-detail">
|
204
172
|
<div class="method-heading attribute-method-heading">
|
205
173
|
<span class="method-name">port_override</span><span
|
@@ -208,11 +176,8 @@
|
|
208
176
|
|
209
177
|
<div class="method-description">
|
210
178
|
|
211
|
-
|
212
|
-
|
213
179
|
</div>
|
214
180
|
</div>
|
215
|
-
|
216
181
|
<div id="attribute-i-secret_store_id" class="method-detail">
|
217
182
|
<div class="method-heading attribute-method-heading">
|
218
183
|
<span class="method-name">secret_store_id</span><span
|
@@ -220,12 +185,9 @@
|
|
220
185
|
</div>
|
221
186
|
|
222
187
|
<div class="method-description">
|
223
|
-
|
224
188
|
<p>ID of the secret store containing credentials for this resource, if any.</p>
|
225
|
-
|
226
189
|
</div>
|
227
190
|
</div>
|
228
|
-
|
229
191
|
<div id="attribute-i-tags" class="method-detail">
|
230
192
|
<div class="method-heading attribute-method-heading">
|
231
193
|
<span class="method-name">tags</span><span
|
@@ -233,12 +195,9 @@
|
|
233
195
|
</div>
|
234
196
|
|
235
197
|
<div class="method-description">
|
236
|
-
|
237
198
|
<p>Tags is a map of key, value pairs.</p>
|
238
|
-
|
239
199
|
</div>
|
240
200
|
</div>
|
241
|
-
|
242
201
|
<div id="attribute-i-tls_required" class="method-detail">
|
243
202
|
<div class="method-heading attribute-method-heading">
|
244
203
|
<span class="method-name">tls_required</span><span
|
@@ -247,11 +206,8 @@
|
|
247
206
|
|
248
207
|
<div class="method-description">
|
249
208
|
|
250
|
-
|
251
|
-
|
252
209
|
</div>
|
253
210
|
</div>
|
254
|
-
|
255
211
|
<div id="attribute-i-username" class="method-detail">
|
256
212
|
<div class="method-heading attribute-method-heading">
|
257
213
|
<span class="method-name">username</span><span
|
@@ -260,39 +216,26 @@
|
|
260
216
|
|
261
217
|
<div class="method-description">
|
262
218
|
|
263
|
-
|
264
|
-
|
265
219
|
</div>
|
266
220
|
</div>
|
267
|
-
|
268
221
|
</section>
|
269
|
-
|
270
222
|
|
271
|
-
|
223
|
+
|
272
224
|
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
273
225
|
<header>
|
274
226
|
<h3>Public Class Methods</h3>
|
275
227
|
</header>
|
276
228
|
|
277
|
-
|
278
229
|
<div id="method-c-new" class="method-detail ">
|
279
|
-
|
280
230
|
<div class="method-heading">
|
281
231
|
<span class="method-name">new</span><span
|
282
232
|
class="method-args">( id:nil \ , name:nil \ , healthy:nil \ , tags:nil \ , secret_store_id:nil \ , egress_filter:nil \ , hostname:nil \ , port_override:nil \ , port:nil \ , username:nil \ , password:nil \ , tls_required:nil \ )</span>
|
283
|
-
|
284
233
|
<span class="method-click-advice">click to toggle source</span>
|
285
|
-
|
286
234
|
</div>
|
287
|
-
|
288
235
|
|
289
236
|
<div class="method-description">
|
290
237
|
|
291
|
-
|
292
|
-
|
293
|
-
|
294
238
|
|
295
|
-
|
296
239
|
<div class="method-source-code" id="new-source">
|
297
240
|
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 730</span>
|
298
241
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
@@ -358,41 +301,28 @@
|
|
358
301
|
<span class="ruby-keyword">end</span>
|
359
302
|
<span class="ruby-keyword">end</span></pre>
|
360
303
|
</div>
|
361
|
-
|
362
304
|
</div>
|
363
305
|
|
364
|
-
|
365
306
|
|
366
|
-
|
367
307
|
</div>
|
368
308
|
|
369
|
-
|
370
309
|
</section>
|
371
|
-
|
310
|
+
|
372
311
|
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
373
312
|
<header>
|
374
313
|
<h3>Public Instance Methods</h3>
|
375
314
|
</header>
|
376
315
|
|
377
|
-
|
378
316
|
<div id="method-i-to_json" class="method-detail ">
|
379
|
-
|
380
317
|
<div class="method-heading">
|
381
318
|
<span class="method-name">to_json</span><span
|
382
319
|
class="method-args">(options={})</span>
|
383
|
-
|
384
320
|
<span class="method-click-advice">click to toggle source</span>
|
385
|
-
|
386
321
|
</div>
|
387
|
-
|
388
322
|
|
389
323
|
<div class="method-description">
|
390
324
|
|
391
|
-
|
392
|
-
|
393
|
-
|
394
325
|
|
395
|
-
|
396
326
|
<div class="method-source-code" id="to_json-source">
|
397
327
|
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 792</span>
|
398
328
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
@@ -403,25 +333,20 @@
|
|
403
333
|
<span class="ruby-identifier">hash</span>.<span class="ruby-identifier">to_json</span>
|
404
334
|
<span class="ruby-keyword">end</span></pre>
|
405
335
|
</div>
|
406
|
-
|
407
336
|
</div>
|
408
337
|
|
409
|
-
|
410
338
|
|
411
|
-
|
412
339
|
</div>
|
413
340
|
|
414
|
-
|
415
341
|
</section>
|
416
|
-
|
417
|
-
</section>
|
418
342
|
|
343
|
+
</section>
|
419
344
|
</main>
|
420
345
|
|
421
346
|
|
422
347
|
<footer id="validator-badges" role="contentinfo">
|
423
348
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
424
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
349
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.1.
|
425
350
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
426
351
|
</footer>
|
427
352
|
|
data/doc/SDM/RateLimitError.html
CHANGED
@@ -21,8 +21,6 @@
|
|
21
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
22
22
|
|
23
23
|
|
24
|
-
|
25
|
-
|
26
24
|
<body id="top" role="document" class="class">
|
27
25
|
<nav role="navigation">
|
28
26
|
<div id="project-navigation">
|
@@ -59,24 +57,22 @@
|
|
59
57
|
|
60
58
|
<div id="class-metadata">
|
61
59
|
|
62
|
-
|
60
|
+
|
61
|
+
<div id="parent-class-section" class="nav-section">
|
63
62
|
<h3>Parent</h3>
|
64
63
|
|
65
|
-
|
66
64
|
<p class="link"><a href="RPCError.html">SDM::RPCError</a>
|
67
|
-
|
68
65
|
</div>
|
69
66
|
|
70
67
|
|
71
68
|
|
72
|
-
|
69
|
+
|
70
|
+
<!-- Method Quickref -->
|
73
71
|
<div id="method-list-section" class="nav-section">
|
74
72
|
<h3>Methods</h3>
|
75
73
|
|
76
74
|
<ul class="link-list" role="directory">
|
77
|
-
|
78
75
|
<li class="calls-super" ><a href="#method-c-new">::new</a>
|
79
|
-
|
80
76
|
</ul>
|
81
77
|
</div>
|
82
78
|
|
@@ -94,21 +90,15 @@
|
|
94
90
|
|
95
91
|
</section>
|
96
92
|
|
97
|
-
|
98
93
|
<section id="5Buntitled-5D" class="documentation-section">
|
99
|
-
|
100
94
|
|
101
|
-
|
102
95
|
|
103
|
-
|
104
96
|
|
105
|
-
|
106
97
|
<section class="attribute-method-details" class="method-section">
|
107
98
|
<header>
|
108
99
|
<h3>Attributes</h3>
|
109
100
|
</header>
|
110
101
|
|
111
|
-
|
112
102
|
<div id="attribute-i-rate_limit" class="method-detail">
|
113
103
|
<div class="method-heading attribute-method-heading">
|
114
104
|
<span class="method-name">rate_limit</span><span
|
@@ -117,44 +107,30 @@
|
|
117
107
|
|
118
108
|
<div class="method-description">
|
119
109
|
|
120
|
-
|
121
|
-
|
122
110
|
</div>
|
123
111
|
</div>
|
124
|
-
|
125
112
|
</section>
|
126
|
-
|
127
113
|
|
128
|
-
|
114
|
+
|
129
115
|
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
130
116
|
<header>
|
131
117
|
<h3>Public Class Methods</h3>
|
132
118
|
</header>
|
133
119
|
|
134
|
-
|
135
120
|
<div id="method-c-new" class="method-detail ">
|
136
|
-
|
137
121
|
<div class="method-heading">
|
138
122
|
<span class="method-name">new</span><span
|
139
123
|
class="method-args">(msg, rate_limit)</span>
|
140
|
-
|
141
124
|
<span class="method-click-advice">click to toggle source</span>
|
142
|
-
|
143
125
|
</div>
|
144
|
-
|
145
126
|
|
146
127
|
<div class="method-description">
|
147
128
|
|
148
|
-
|
149
|
-
|
150
|
-
|
151
129
|
<div class="method-calls-super">
|
152
130
|
Calls superclass method
|
153
131
|
<a href="RPCError.html#method-c-new"><code>SDM::RPCError::new</code></a>
|
154
132
|
</div>
|
155
|
-
|
156
133
|
|
157
|
-
|
158
134
|
<div class="method-source-code" id="new-source">
|
159
135
|
<pre><span class="ruby-comment"># File lib/errors/errors.rb, line 80</span>
|
160
136
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">msg</span>, <span class="ruby-identifier">rate_limit</span>)
|
@@ -162,25 +138,20 @@
|
|
162
138
|
<span class="ruby-keyword">super</span>(<span class="ruby-identifier">msg</span>, <span class="ruby-value">8</span>)
|
163
139
|
<span class="ruby-keyword">end</span></pre>
|
164
140
|
</div>
|
165
|
-
|
166
141
|
</div>
|
167
142
|
|
168
|
-
|
169
143
|
|
170
|
-
|
171
144
|
</div>
|
172
145
|
|
173
|
-
|
174
146
|
</section>
|
175
|
-
|
176
|
-
</section>
|
177
147
|
|
148
|
+
</section>
|
178
149
|
</main>
|
179
150
|
|
180
151
|
|
181
152
|
<footer id="validator-badges" role="contentinfo">
|
182
153
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
183
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
154
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.1.
|
184
155
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
185
156
|
</footer>
|
186
157
|
|
@@ -21,8 +21,6 @@
|
|
21
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
22
22
|
|
23
23
|
|
24
|
-
|
25
|
-
|
26
24
|
<body id="top" role="document" class="class">
|
27
25
|
<nav role="navigation">
|
28
26
|
<div id="project-navigation">
|
@@ -59,26 +57,23 @@
|
|
59
57
|
|
60
58
|
<div id="class-metadata">
|
61
59
|
|
62
|
-
|
60
|
+
|
61
|
+
<div id="parent-class-section" class="nav-section">
|
63
62
|
<h3>Parent</h3>
|
64
63
|
|
65
|
-
|
66
64
|
<p class="link"><a href="../Object.html">Object</a>
|
67
|
-
|
68
65
|
</div>
|
69
66
|
|
70
67
|
|
71
68
|
|
72
|
-
|
69
|
+
|
70
|
+
<!-- Method Quickref -->
|
73
71
|
<div id="method-list-section" class="nav-section">
|
74
72
|
<h3>Methods</h3>
|
75
73
|
|
76
74
|
<ul class="link-list" role="directory">
|
77
|
-
|
78
75
|
<li ><a href="#method-c-new">::new</a>
|
79
|
-
|
80
76
|
<li ><a href="#method-i-to_json">#to_json</a>
|
81
|
-
|
82
77
|
</ul>
|
83
78
|
</div>
|
84
79
|
|
@@ -96,21 +91,15 @@
|
|
96
91
|
|
97
92
|
</section>
|
98
93
|
|
99
|
-
|
100
94
|
<section id="5Buntitled-5D" class="documentation-section">
|
101
|
-
|
102
95
|
|
103
|
-
|
104
96
|
|
105
|
-
|
106
97
|
|
107
|
-
|
108
98
|
<section class="attribute-method-details" class="method-section">
|
109
99
|
<header>
|
110
100
|
<h3>Attributes</h3>
|
111
101
|
</header>
|
112
102
|
|
113
|
-
|
114
103
|
<div id="attribute-i-bucket" class="method-detail">
|
115
104
|
<div class="method-heading attribute-method-heading">
|
116
105
|
<span class="method-name">bucket</span><span
|
@@ -118,12 +107,9 @@
|
|
118
107
|
</div>
|
119
108
|
|
120
109
|
<div class="method-description">
|
121
|
-
|
122
110
|
<p>The bucket this user/token is associated with, which may be shared between multiple users/tokens.</p>
|
123
|
-
|
124
111
|
</div>
|
125
112
|
</div>
|
126
|
-
|
127
113
|
<div id="attribute-i-limit" class="method-detail">
|
128
114
|
<div class="method-heading attribute-method-heading">
|
129
115
|
<span class="method-name">limit</span><span
|
@@ -131,12 +117,9 @@
|
|
131
117
|
</div>
|
132
118
|
|
133
119
|
<div class="method-description">
|
134
|
-
|
135
120
|
<p>How many total requests the user/token is authorized to make before being rate limited.</p>
|
136
|
-
|
137
121
|
</div>
|
138
122
|
</div>
|
139
|
-
|
140
123
|
<div id="attribute-i-remaining" class="method-detail">
|
141
124
|
<div class="method-heading attribute-method-heading">
|
142
125
|
<span class="method-name">remaining</span><span
|
@@ -144,12 +127,9 @@
|
|
144
127
|
</div>
|
145
128
|
|
146
129
|
<div class="method-description">
|
147
|
-
|
148
130
|
<p>How many remaining requests out of the limit are still avaialable.</p>
|
149
|
-
|
150
131
|
</div>
|
151
132
|
</div>
|
152
|
-
|
153
133
|
<div id="attribute-i-reset_at" class="method-detail">
|
154
134
|
<div class="method-heading attribute-method-heading">
|
155
135
|
<span class="method-name">reset_at</span><span
|
@@ -157,40 +137,27 @@
|
|
157
137
|
</div>
|
158
138
|
|
159
139
|
<div class="method-description">
|
160
|
-
|
161
140
|
<p>The time when remaining will be reset to limit.</p>
|
162
|
-
|
163
141
|
</div>
|
164
142
|
</div>
|
165
|
-
|
166
143
|
</section>
|
167
|
-
|
168
144
|
|
169
|
-
|
145
|
+
|
170
146
|
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
171
147
|
<header>
|
172
148
|
<h3>Public Class Methods</h3>
|
173
149
|
</header>
|
174
150
|
|
175
|
-
|
176
151
|
<div id="method-c-new" class="method-detail ">
|
177
|
-
|
178
152
|
<div class="method-heading">
|
179
153
|
<span class="method-name">new</span><span
|
180
154
|
class="method-args">( limit:nil \ , remaining:nil \ , reset_at:nil \ , bucket:nil \ )</span>
|
181
|
-
|
182
155
|
<span class="method-click-advice">click to toggle source</span>
|
183
|
-
|
184
156
|
</div>
|
185
|
-
|
186
157
|
|
187
158
|
<div class="method-description">
|
188
159
|
|
189
|
-
|
190
|
-
|
191
|
-
|
192
160
|
|
193
|
-
|
194
161
|
<div class="method-source-code" id="new-source">
|
195
162
|
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 84</span>
|
196
163
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
@@ -216,41 +183,28 @@
|
|
216
183
|
<span class="ruby-keyword">end</span>
|
217
184
|
<span class="ruby-keyword">end</span></pre>
|
218
185
|
</div>
|
219
|
-
|
220
186
|
</div>
|
221
187
|
|
222
|
-
|
223
188
|
|
224
|
-
|
225
189
|
</div>
|
226
190
|
|
227
|
-
|
228
191
|
</section>
|
229
|
-
|
192
|
+
|
230
193
|
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
231
194
|
<header>
|
232
195
|
<h3>Public Instance Methods</h3>
|
233
196
|
</header>
|
234
197
|
|
235
|
-
|
236
198
|
<div id="method-i-to_json" class="method-detail ">
|
237
|
-
|
238
199
|
<div class="method-heading">
|
239
200
|
<span class="method-name">to_json</span><span
|
240
201
|
class="method-args">(options={})</span>
|
241
|
-
|
242
202
|
<span class="method-click-advice">click to toggle source</span>
|
243
|
-
|
244
203
|
</div>
|
245
|
-
|
246
204
|
|
247
205
|
<div class="method-description">
|
248
206
|
|
249
|
-
|
250
|
-
|
251
|
-
|
252
207
|
|
253
|
-
|
254
208
|
<div class="method-source-code" id="to_json-source">
|
255
209
|
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 106</span>
|
256
210
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
@@ -261,25 +215,20 @@
|
|
261
215
|
<span class="ruby-identifier">hash</span>.<span class="ruby-identifier">to_json</span>
|
262
216
|
<span class="ruby-keyword">end</span></pre>
|
263
217
|
</div>
|
264
|
-
|
265
218
|
</div>
|
266
219
|
|
267
|
-
|
268
220
|
|
269
|
-
|
270
221
|
</div>
|
271
222
|
|
272
|
-
|
273
223
|
</section>
|
274
|
-
|
275
|
-
</section>
|
276
224
|
|
225
|
+
</section>
|
277
226
|
</main>
|
278
227
|
|
279
228
|
|
280
229
|
<footer id="validator-badges" role="contentinfo">
|
281
230
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
282
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
231
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.1.
|
283
232
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
284
233
|
</footer>
|
285
234
|
|