strongdm 1.0.26 → 1.0.30
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-2a1c5a06b136f3cf06883c00f082bae3158e9ac6.idx +0 -0
- data/.git/objects/pack/pack-2a1c5a06b136f3cf06883c00f082bae3158e9ac6.pack +0 -0
- data/.git/packed-refs +30 -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 +8 -13
- data/doc/Object.html +13 -26
- data/doc/README_md.html +12 -14
- data/doc/SDM/AKS.html +50 -122
- data/doc/SDM/AKSBasicAuth.html +44 -113
- data/doc/SDM/AKSServiceAccount.html +42 -108
- data/doc/SDM/AKSServiceAccountUserImpersonation.html +42 -108
- data/doc/SDM/AKSUserImpersonation.html +50 -122
- data/doc/SDM/AWS.html +45 -114
- data/doc/SDM/AWSStore.html +15 -63
- data/doc/SDM/AccountAttachment.html +21 -66
- data/doc/SDM/AccountAttachmentCreateResponse.html +21 -66
- data/doc/SDM/AccountAttachmentDeleteResponse.html +15 -57
- data/doc/SDM/AccountAttachmentGetResponse.html +21 -66
- data/doc/SDM/AccountAttachments.html +15 -88
- data/doc/SDM/AccountCreateResponse.html +24 -72
- data/doc/SDM/AccountDeleteResponse.html +15 -57
- data/doc/SDM/AccountGetResponse.html +21 -66
- data/doc/SDM/AccountGrant.html +21 -72
- data/doc/SDM/AccountGrantCreateResponse.html +21 -66
- data/doc/SDM/AccountGrantDeleteResponse.html +15 -57
- data/doc/SDM/AccountGrantGetResponse.html +21 -66
- data/doc/SDM/AccountGrants.html +15 -88
- data/doc/SDM/AccountUpdateResponse.html +21 -66
- data/doc/SDM/Accounts.html +18 -104
- data/doc/SDM/AlreadyExistsError.html +12 -33
- data/doc/SDM/AmazonEKS.html +53 -134
- data/doc/SDM/AmazonEKSUserImpersonation.html +53 -134
- data/doc/SDM/AmazonES.html +50 -125
- data/doc/SDM/AmazonMQAMQP091.html +47 -119
- data/doc/SDM/Athena.html +43 -118
- data/doc/SDM/AuroraMysql.html +46 -118
- data/doc/SDM/AuroraPostgres.html +48 -123
- data/doc/SDM/AuthenticationError.html +12 -33
- data/doc/SDM/BadRequestError.html +12 -33
- data/doc/SDM/BigQuery.html +37 -106
- data/doc/SDM/Cassandra.html +45 -117
- data/doc/SDM/Citus.html +48 -123
- data/doc/SDM/Client.html +27 -142
- data/doc/SDM/Clustrix.html +46 -118
- data/doc/SDM/Cockroach.html +48 -123
- data/doc/SDM/ControlPanel.html +14 -61
- data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +15 -60
- data/doc/SDM/ControlPanelVerifyJWTResponse.html +21 -66
- data/doc/SDM/CreateResponseMetadata.html +15 -49
- data/doc/SDM/DB2LUW.html +46 -118
- data/doc/SDM/DB2i.html +45 -117
- data/doc/SDM/DeadlineExceededError.html +12 -33
- data/doc/SDM/DeleteResponseMetadata.html +15 -49
- data/doc/SDM/{AmazonMQRabbitMQAMQP091.html → DocumentDBHost.html} +56 -131
- data/doc/SDM/DocumentDBReplicaSet.html +367 -0
- data/doc/SDM/Druid.html +44 -113
- data/doc/SDM/DynamoDB.html +51 -126
- data/doc/SDM/Elastic.html +45 -117
- data/doc/SDM/ElasticacheRedis.html +41 -110
- data/doc/SDM/Gateway.html +31 -88
- data/doc/SDM/GetResponseMetadata.html +15 -49
- data/doc/SDM/GoogleGKE.html +43 -109
- data/doc/SDM/GoogleGKEUserImpersonation.html +43 -109
- data/doc/SDM/Greenplum.html +48 -123
- data/doc/SDM/HTTPAuth.html +49 -121
- data/doc/SDM/HTTPBasicAuth.html +51 -126
- data/doc/SDM/HTTPNoAuth.html +47 -116
- data/doc/SDM/InternalError.html +12 -33
- data/doc/SDM/Kubernetes.html +50 -122
- data/doc/SDM/KubernetesBasicAuth.html +44 -113
- data/doc/SDM/KubernetesServiceAccount.html +42 -108
- data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +42 -108
- data/doc/SDM/KubernetesUserImpersonation.html +50 -122
- data/doc/SDM/Maria.html +46 -118
- data/doc/SDM/Memcached.html +39 -102
- data/doc/SDM/Memsql.html +46 -118
- data/doc/SDM/MongoHost.html +47 -122
- data/doc/SDM/MongoLegacyHost.html +48 -126
- data/doc/SDM/MongoLegacyReplicaset.html +51 -132
- data/doc/SDM/MongoReplicaSet.html +51 -132
- data/doc/SDM/Mysql.html +46 -118
- data/doc/SDM/{SecretStore.html → Neptune.html} +88 -84
- data/doc/SDM/NeptuneIAM.html +382 -0
- data/doc/SDM/NodeCreateResponse.html +21 -69
- data/doc/SDM/NodeDeleteResponse.html +15 -57
- data/doc/SDM/NodeGetResponse.html +15 -60
- data/doc/SDM/NodeUpdateResponse.html +15 -60
- data/doc/SDM/Nodes.html +16 -102
- data/doc/SDM/NotFoundError.html +12 -33
- data/doc/SDM/Oracle.html +45 -120
- data/doc/SDM/PermissionError.html +12 -33
- data/doc/SDM/Plumbing.html +2285 -7858
- data/doc/SDM/Postgres.html +48 -123
- data/doc/SDM/Presto.html +45 -120
- data/doc/SDM/RDP.html +45 -114
- data/doc/SDM/RPCError.html +12 -38
- data/doc/SDM/RabbitMQAMQP091.html +47 -119
- data/doc/SDM/RateLimitError.html +12 -38
- data/doc/SDM/RateLimitMetadata.html +21 -69
- data/doc/SDM/RawTCP.html +39 -102
- data/doc/SDM/Redis.html +41 -107
- data/doc/SDM/Redshift.html +48 -123
- data/doc/SDM/Relay.html +21 -72
- data/doc/SDM/ResourceCreateResponse.html +21 -66
- data/doc/SDM/ResourceDeleteResponse.html +15 -57
- data/doc/SDM/ResourceGetResponse.html +21 -66
- data/doc/SDM/ResourceUpdateResponse.html +21 -66
- data/doc/SDM/Resources.html +16 -115
- data/doc/SDM/Role.html +26 -77
- data/doc/SDM/RoleAttachment.html +22 -67
- data/doc/SDM/RoleAttachmentCreateResponse.html +21 -66
- data/doc/SDM/RoleAttachmentDeleteResponse.html +15 -57
- data/doc/SDM/RoleAttachmentGetResponse.html +21 -66
- data/doc/SDM/RoleAttachments.html +15 -88
- data/doc/SDM/RoleCreateResponse.html +21 -66
- data/doc/SDM/RoleDeleteResponse.html +15 -57
- data/doc/SDM/RoleGetResponse.html +21 -66
- data/doc/SDM/RoleGrant.html +15 -60
- data/doc/SDM/RoleGrantCreateResponse.html +21 -66
- data/doc/SDM/RoleGrantDeleteResponse.html +15 -57
- data/doc/SDM/RoleGrantGetResponse.html +21 -66
- data/doc/SDM/RoleGrants.html +15 -88
- data/doc/SDM/RoleUpdateResponse.html +21 -66
- data/doc/SDM/Roles.html +16 -102
- data/doc/SDM/SQLServer.html +48 -126
- data/doc/SDM/SSH.html +46 -118
- data/doc/SDM/SSHCert.html +43 -112
- data/doc/SDM/SSHCustomerKey.html +46 -118
- data/doc/SDM/SecretStoreCreateResponse.html +21 -66
- data/doc/SDM/SecretStoreDeleteResponse.html +15 -57
- data/doc/SDM/SecretStoreGetResponse.html +21 -66
- data/doc/SDM/SecretStoreUpdateResponse.html +21 -66
- data/doc/SDM/SecretStores.html +16 -102
- data/doc/SDM/Service.html +15 -63
- data/doc/SDM/SingleStore.html +46 -118
- data/doc/SDM/Snowflake.html +46 -118
- data/doc/SDM/Sybase.html +44 -113
- data/doc/SDM/SybaseIQ.html +44 -113
- data/doc/SDM/Tag.html +15 -57
- data/doc/SDM/Teradata.html +45 -114
- data/doc/SDM/UpdateResponseMetadata.html +15 -49
- data/doc/SDM/User.html +21 -75
- data/doc/SDM/VaultTLSStore.html +45 -87
- data/doc/SDM/VaultTokenStore.html +30 -63
- data/doc/SDM.html +7 -17
- data/doc/V1/AccountAttachments/Service.html +11 -20
- data/doc/V1/AccountAttachments.html +7 -17
- data/doc/V1/AccountGrants/Service.html +11 -20
- data/doc/V1/AccountGrants.html +7 -17
- data/doc/V1/Accounts/Service.html +12 -21
- data/doc/V1/Accounts.html +7 -17
- data/doc/V1/ControlPanel/Service.html +11 -20
- data/doc/V1/ControlPanel.html +7 -17
- data/doc/V1/Nodes/Service.html +13 -22
- data/doc/V1/Nodes.html +7 -17
- data/doc/V1/Resources/Service.html +11 -20
- data/doc/V1/Resources.html +7 -17
- data/doc/V1/RoleAttachments/Service.html +11 -20
- data/doc/V1/RoleAttachments.html +7 -17
- data/doc/V1/RoleGrants/Service.html +11 -20
- data/doc/V1/RoleGrants.html +7 -17
- data/doc/V1/Roles/Service.html +11 -20
- data/doc/V1/Roles.html +7 -17
- data/doc/V1/SecretStores/Service.html +11 -20
- data/doc/V1/SecretStores.html +7 -17
- data/doc/V1/Tags.html +7 -17
- data/doc/V1.html +19 -800
- data/doc/created.rid +37 -49
- data/doc/css/rdoc.css +55 -6
- data/doc/examples/Gemfile.html +8 -13
- data/doc/index.html +12 -190
- data/doc/js/darkfish.js +22 -99
- data/doc/js/navigation.js +4 -40
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +32 -31
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +6 -6
- data/doc/js/searcher.js.gz +0 -0
- data/doc/lib/version.html +9 -14
- data/doc/table_of_contents.html +668 -916
- data/lib/grpc/account_attachments_services_pb.rb +4 -4
- data/lib/grpc/account_grants_services_pb.rb +4 -4
- data/lib/grpc/accounts_services_pb.rb +5 -5
- data/lib/grpc/control_panel_services_pb.rb +2 -2
- data/lib/grpc/drivers_pb.rb +453 -389
- data/lib/grpc/nodes_services_pb.rb +5 -5
- data/lib/grpc/options_pb.rb +1 -0
- data/lib/grpc/plumbing.rb +3100 -2848
- data/lib/grpc/resources_services_pb.rb +6 -6
- data/lib/grpc/role_attachments_services_pb.rb +4 -4
- data/lib/grpc/role_grants_services_pb.rb +4 -4
- data/lib/grpc/roles_services_pb.rb +5 -5
- data/lib/grpc/secret_store_types_pb.rb +3 -1
- data/lib/grpc/secret_stores_services_pb.rb +5 -5
- data/lib/models/porcelain.rb +4076 -3759
- data/lib/strongdm.rb +8 -1
- data/lib/svc.rb +23 -23
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- data/strongdm.gemspec +5 -5
- metadata +281 -292
- 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 -116
- data/doc/V1/AccessRules.html +0 -110
- data/doc/V1/Audits/Service.html +0 -119
- data/doc/V1/Audits.html +0 -113
- data/doc/V1/BuildsPrivate/Service.html +0 -116
- data/doc/V1/BuildsPrivate.html +0 -110
- data/doc/V1/DemoProvisioningRequests/Service.html +0 -116
- data/doc/V1/DemoProvisioningRequests.html +0 -110
- data/doc/V1/Permissions/Service.html +0 -119
- data/doc/V1/SecretStoreHealths/Service.html +0 -116
- data/doc/V1/SecretStoreHealths.html +0 -110
- 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 -116
data/doc/SDM/Relay.html
CHANGED
@@ -11,15 +11,16 @@
|
|
11
11
|
var index_rel_prefix = "../";
|
12
12
|
</script>
|
13
13
|
|
14
|
-
<script src="../js/
|
15
|
-
<script src="../js/
|
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>
|
16
19
|
|
17
20
|
<link href="../css/fonts.css" rel="stylesheet">
|
18
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
19
22
|
|
20
23
|
|
21
|
-
|
22
|
-
|
23
24
|
<body id="top" role="document" class="class">
|
24
25
|
<nav role="navigation">
|
25
26
|
<div id="project-navigation">
|
@@ -56,26 +57,23 @@
|
|
56
57
|
|
57
58
|
<div id="class-metadata">
|
58
59
|
|
59
|
-
|
60
|
+
|
61
|
+
<div id="parent-class-section" class="nav-section">
|
60
62
|
<h3>Parent</h3>
|
61
63
|
|
62
|
-
|
63
64
|
<p class="link"><a href="../Object.html">Object</a>
|
64
|
-
|
65
65
|
</div>
|
66
66
|
|
67
67
|
|
68
68
|
|
69
|
-
|
69
|
+
|
70
|
+
<!-- Method Quickref -->
|
70
71
|
<div id="method-list-section" class="nav-section">
|
71
72
|
<h3>Methods</h3>
|
72
73
|
|
73
74
|
<ul class="link-list" role="directory">
|
74
|
-
|
75
75
|
<li ><a href="#method-c-new">::new</a>
|
76
|
-
|
77
76
|
<li ><a href="#method-i-to_json">#to_json</a>
|
78
|
-
|
79
77
|
</ul>
|
80
78
|
</div>
|
81
79
|
|
@@ -93,21 +91,15 @@
|
|
93
91
|
|
94
92
|
</section>
|
95
93
|
|
96
|
-
|
97
94
|
<section id="5Buntitled-5D" class="documentation-section">
|
98
|
-
|
99
95
|
|
100
|
-
|
101
96
|
|
102
|
-
|
103
97
|
|
104
|
-
|
105
98
|
<section class="attribute-method-details" class="method-section">
|
106
99
|
<header>
|
107
100
|
<h3>Attributes</h3>
|
108
101
|
</header>
|
109
102
|
|
110
|
-
|
111
103
|
<div id="attribute-i-gateway_filter" class="method-detail">
|
112
104
|
<div class="method-heading attribute-method-heading">
|
113
105
|
<span class="method-name">gateway_filter</span><span
|
@@ -115,12 +107,9 @@
|
|
115
107
|
</div>
|
116
108
|
|
117
109
|
<div class="method-description">
|
118
|
-
|
119
110
|
<p>GatewayFilter can be used to restrict the peering between relays and gateways.</p>
|
120
|
-
|
121
111
|
</div>
|
122
112
|
</div>
|
123
|
-
|
124
113
|
<div id="attribute-i-id" class="method-detail">
|
125
114
|
<div class="method-heading attribute-method-heading">
|
126
115
|
<span class="method-name">id</span><span
|
@@ -128,12 +117,9 @@
|
|
128
117
|
</div>
|
129
118
|
|
130
119
|
<div class="method-description">
|
131
|
-
|
132
120
|
<p>Unique identifier of the <a href="Relay.html"><code>Relay</code></a>.</p>
|
133
|
-
|
134
121
|
</div>
|
135
122
|
</div>
|
136
|
-
|
137
123
|
<div id="attribute-i-name" class="method-detail">
|
138
124
|
<div class="method-heading attribute-method-heading">
|
139
125
|
<span class="method-name">name</span><span
|
@@ -141,12 +127,9 @@
|
|
141
127
|
</div>
|
142
128
|
|
143
129
|
<div class="method-description">
|
144
|
-
|
145
130
|
<p>Unique human-readable name of the <a href="Relay.html"><code>Relay</code></a>. Node names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create.</p>
|
146
|
-
|
147
131
|
</div>
|
148
132
|
</div>
|
149
|
-
|
150
133
|
<div id="attribute-i-state" class="method-detail">
|
151
134
|
<div class="method-heading attribute-method-heading">
|
152
135
|
<span class="method-name">state</span><span
|
@@ -154,12 +137,9 @@
|
|
154
137
|
</div>
|
155
138
|
|
156
139
|
<div class="method-description">
|
157
|
-
|
158
140
|
<p>The current state of the relay. One of: “new”, “verifying_restart”, “awaiting_restart”, “restarting”, “started”, “stopped”, “dead”, “unknown”.</p>
|
159
|
-
|
160
141
|
</div>
|
161
142
|
</div>
|
162
|
-
|
163
143
|
<div id="attribute-i-tags" class="method-detail">
|
164
144
|
<div class="method-heading attribute-method-heading">
|
165
145
|
<span class="method-name">tags</span><span
|
@@ -167,43 +147,32 @@
|
|
167
147
|
</div>
|
168
148
|
|
169
149
|
<div class="method-description">
|
170
|
-
|
171
150
|
<p>Tags is a map of key, value pairs.</p>
|
172
|
-
|
173
151
|
</div>
|
174
152
|
</div>
|
175
|
-
|
176
153
|
</section>
|
177
|
-
|
178
154
|
|
179
|
-
|
155
|
+
|
180
156
|
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
181
157
|
<header>
|
182
158
|
<h3>Public Class Methods</h3>
|
183
159
|
</header>
|
184
160
|
|
185
|
-
|
186
161
|
<div id="method-c-new" class="method-detail ">
|
187
|
-
|
188
162
|
<div class="method-heading">
|
189
163
|
<span class="method-name">new</span><span
|
190
|
-
class="method-args">(
|
191
|
-
|
164
|
+
class="method-args">( gateway_filter:nil \ , id:nil \ , name:nil \ , state:nil \ , tags:nil \ )</span>
|
192
165
|
<span class="method-click-advice">click to toggle source</span>
|
193
|
-
|
194
166
|
</div>
|
195
|
-
|
196
167
|
|
197
168
|
<div class="method-description">
|
198
169
|
|
199
|
-
|
200
|
-
|
201
|
-
|
202
170
|
|
203
|
-
|
204
171
|
<div class="method-source-code" id="new-source">
|
205
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
172
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 6095</span>
|
206
173
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
174
|
+
<span class="ruby-value">gateway_filter:</span><span class="ruby-keyword">nil</span> \
|
175
|
+
,
|
207
176
|
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
208
177
|
,
|
209
178
|
<span class="ruby-value">name:</span><span class="ruby-keyword">nil</span> \
|
@@ -211,9 +180,10 @@
|
|
211
180
|
<span class="ruby-value">state:</span><span class="ruby-keyword">nil</span> \
|
212
181
|
,
|
213
182
|
<span class="ruby-value">tags:</span><span class="ruby-keyword">nil</span> \
|
214
|
-
,
|
215
|
-
<span class="ruby-value">gateway_filter:</span><span class="ruby-keyword">nil</span> \
|
216
183
|
)
|
184
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">gateway_filter</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
185
|
+
<span class="ruby-ivar">@gateway_filter</span> = <span class="ruby-identifier">gateway_filter</span>
|
186
|
+
<span class="ruby-keyword">end</span>
|
217
187
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">id</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
218
188
|
<span class="ruby-ivar">@id</span> = <span class="ruby-identifier">id</span>
|
219
189
|
<span class="ruby-keyword">end</span>
|
@@ -226,48 +196,32 @@
|
|
226
196
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">tags</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
227
197
|
<span class="ruby-ivar">@tags</span> = <span class="ruby-identifier">tags</span>
|
228
198
|
<span class="ruby-keyword">end</span>
|
229
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">gateway_filter</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
230
|
-
<span class="ruby-ivar">@gateway_filter</span> = <span class="ruby-identifier">gateway_filter</span>
|
231
|
-
<span class="ruby-keyword">end</span>
|
232
199
|
<span class="ruby-keyword">end</span></pre>
|
233
200
|
</div>
|
234
|
-
|
235
201
|
</div>
|
236
202
|
|
237
|
-
|
238
203
|
|
239
|
-
|
240
204
|
</div>
|
241
205
|
|
242
|
-
|
243
206
|
</section>
|
244
|
-
|
207
|
+
|
245
208
|
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
246
209
|
<header>
|
247
210
|
<h3>Public Instance Methods</h3>
|
248
211
|
</header>
|
249
212
|
|
250
|
-
|
251
213
|
<div id="method-i-to_json" class="method-detail ">
|
252
|
-
|
253
214
|
<div class="method-heading">
|
254
215
|
<span class="method-name">to_json</span><span
|
255
216
|
class="method-args">(options={})</span>
|
256
|
-
|
257
217
|
<span class="method-click-advice">click to toggle source</span>
|
258
|
-
|
259
218
|
</div>
|
260
|
-
|
261
219
|
|
262
220
|
<div class="method-description">
|
263
221
|
|
264
|
-
|
265
|
-
|
266
|
-
|
267
222
|
|
268
|
-
|
269
223
|
<div class="method-source-code" id="to_json-source">
|
270
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
224
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 6122</span>
|
271
225
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
272
226
|
<span class="ruby-identifier">hash</span> = {}
|
273
227
|
<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>
|
@@ -276,25 +230,20 @@
|
|
276
230
|
<span class="ruby-identifier">hash</span>.<span class="ruby-identifier">to_json</span>
|
277
231
|
<span class="ruby-keyword">end</span></pre>
|
278
232
|
</div>
|
279
|
-
|
280
233
|
</div>
|
281
234
|
|
282
|
-
|
283
235
|
|
284
|
-
|
285
236
|
</div>
|
286
237
|
|
287
|
-
|
288
238
|
</section>
|
289
|
-
|
290
|
-
</section>
|
291
239
|
|
240
|
+
</section>
|
292
241
|
</main>
|
293
242
|
|
294
243
|
|
295
244
|
<footer id="validator-badges" role="contentinfo">
|
296
245
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
297
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
246
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.1.
|
298
247
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
299
248
|
</footer>
|
300
249
|
|
@@ -11,15 +11,16 @@
|
|
11
11
|
var index_rel_prefix = "../";
|
12
12
|
</script>
|
13
13
|
|
14
|
-
<script src="../js/
|
15
|
-
<script src="../js/
|
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>
|
16
19
|
|
17
20
|
<link href="../css/fonts.css" rel="stylesheet">
|
18
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
19
22
|
|
20
23
|
|
21
|
-
|
22
|
-
|
23
24
|
<body id="top" role="document" class="class">
|
24
25
|
<nav role="navigation">
|
25
26
|
<div id="project-navigation">
|
@@ -56,26 +57,23 @@
|
|
56
57
|
|
57
58
|
<div id="class-metadata">
|
58
59
|
|
59
|
-
|
60
|
+
|
61
|
+
<div id="parent-class-section" class="nav-section">
|
60
62
|
<h3>Parent</h3>
|
61
63
|
|
62
|
-
|
63
64
|
<p class="link"><a href="../Object.html">Object</a>
|
64
|
-
|
65
65
|
</div>
|
66
66
|
|
67
67
|
|
68
68
|
|
69
|
-
|
69
|
+
|
70
|
+
<!-- Method Quickref -->
|
70
71
|
<div id="method-list-section" class="nav-section">
|
71
72
|
<h3>Methods</h3>
|
72
73
|
|
73
74
|
<ul class="link-list" role="directory">
|
74
|
-
|
75
75
|
<li ><a href="#method-c-new">::new</a>
|
76
|
-
|
77
76
|
<li ><a href="#method-i-to_json">#to_json</a>
|
78
|
-
|
79
77
|
</ul>
|
80
78
|
</div>
|
81
79
|
|
@@ -93,21 +91,15 @@
|
|
93
91
|
|
94
92
|
</section>
|
95
93
|
|
96
|
-
|
97
94
|
<section id="5Buntitled-5D" class="documentation-section">
|
98
|
-
|
99
95
|
|
100
|
-
|
101
96
|
|
102
|
-
|
103
97
|
|
104
|
-
|
105
98
|
<section class="attribute-method-details" class="method-section">
|
106
99
|
<header>
|
107
100
|
<h3>Attributes</h3>
|
108
101
|
</header>
|
109
102
|
|
110
|
-
|
111
103
|
<div id="attribute-i-meta" class="method-detail">
|
112
104
|
<div class="method-heading attribute-method-heading">
|
113
105
|
<span class="method-name">meta</span><span
|
@@ -115,12 +107,9 @@
|
|
115
107
|
</div>
|
116
108
|
|
117
109
|
<div class="method-description">
|
118
|
-
|
119
110
|
<p>Reserved for future use.</p>
|
120
|
-
|
121
111
|
</div>
|
122
112
|
</div>
|
123
|
-
|
124
113
|
<div id="attribute-i-rate_limit" class="method-detail">
|
125
114
|
<div class="method-heading attribute-method-heading">
|
126
115
|
<span class="method-name">rate_limit</span><span
|
@@ -128,12 +117,9 @@
|
|
128
117
|
</div>
|
129
118
|
|
130
119
|
<div class="method-description">
|
131
|
-
|
132
120
|
<p>Rate limit information.</p>
|
133
|
-
|
134
121
|
</div>
|
135
122
|
</div>
|
136
|
-
|
137
123
|
<div id="attribute-i-resource" class="method-detail">
|
138
124
|
<div class="method-heading attribute-method-heading">
|
139
125
|
<span class="method-name">resource</span><span
|
@@ -141,97 +127,71 @@
|
|
141
127
|
</div>
|
142
128
|
|
143
129
|
<div class="method-description">
|
144
|
-
|
145
130
|
<p>The created Resource.</p>
|
146
|
-
|
147
131
|
</div>
|
148
132
|
</div>
|
149
|
-
|
150
133
|
</section>
|
151
|
-
|
152
134
|
|
153
|
-
|
135
|
+
|
154
136
|
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
155
137
|
<header>
|
156
138
|
<h3>Public Class Methods</h3>
|
157
139
|
</header>
|
158
140
|
|
159
|
-
|
160
141
|
<div id="method-c-new" class="method-detail ">
|
161
|
-
|
162
142
|
<div class="method-heading">
|
163
143
|
<span class="method-name">new</span><span
|
164
|
-
class="method-args">( meta:nil \ ,
|
165
|
-
|
144
|
+
class="method-args">( meta:nil \ , rate_limit:nil \ , resource:nil \ )</span>
|
166
145
|
<span class="method-click-advice">click to toggle source</span>
|
167
|
-
|
168
146
|
</div>
|
169
|
-
|
170
147
|
|
171
148
|
<div class="method-description">
|
172
149
|
|
173
|
-
|
174
|
-
|
175
|
-
|
176
150
|
|
177
|
-
|
178
151
|
<div class="method-source-code" id="new-source">
|
179
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
152
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 6138</span>
|
180
153
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
181
154
|
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
182
|
-
,
|
183
|
-
<span class="ruby-value">resource:</span><span class="ruby-keyword">nil</span> \
|
184
155
|
,
|
185
156
|
<span class="ruby-value">rate_limit:</span><span class="ruby-keyword">nil</span> \
|
157
|
+
,
|
158
|
+
<span class="ruby-value">resource:</span><span class="ruby-keyword">nil</span> \
|
186
159
|
)
|
187
160
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">meta</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
188
161
|
<span class="ruby-ivar">@meta</span> = <span class="ruby-identifier">meta</span>
|
189
162
|
<span class="ruby-keyword">end</span>
|
190
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">resource</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
191
|
-
<span class="ruby-ivar">@resource</span> = <span class="ruby-identifier">resource</span>
|
192
|
-
<span class="ruby-keyword">end</span>
|
193
163
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">rate_limit</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
194
164
|
<span class="ruby-ivar">@rate_limit</span> = <span class="ruby-identifier">rate_limit</span>
|
195
165
|
<span class="ruby-keyword">end</span>
|
166
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">resource</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
167
|
+
<span class="ruby-ivar">@resource</span> = <span class="ruby-identifier">resource</span>
|
168
|
+
<span class="ruby-keyword">end</span>
|
196
169
|
<span class="ruby-keyword">end</span></pre>
|
197
170
|
</div>
|
198
|
-
|
199
171
|
</div>
|
200
172
|
|
201
|
-
|
202
173
|
|
203
|
-
|
204
174
|
</div>
|
205
175
|
|
206
|
-
|
207
176
|
</section>
|
208
|
-
|
177
|
+
|
209
178
|
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
210
179
|
<header>
|
211
180
|
<h3>Public Instance Methods</h3>
|
212
181
|
</header>
|
213
182
|
|
214
|
-
|
215
183
|
<div id="method-i-to_json" class="method-detail ">
|
216
|
-
|
217
184
|
<div class="method-heading">
|
218
185
|
<span class="method-name">to_json</span><span
|
219
186
|
class="method-args">(options={})</span>
|
220
|
-
|
221
187
|
<span class="method-click-advice">click to toggle source</span>
|
222
|
-
|
223
188
|
</div>
|
224
|
-
|
225
189
|
|
226
190
|
<div class="method-description">
|
227
191
|
|
228
|
-
|
229
|
-
|
230
|
-
|
231
192
|
|
232
|
-
|
233
193
|
<div class="method-source-code" id="to_json-source">
|
234
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line
|
194
|
+
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 6155</span>
|
235
195
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
236
196
|
<span class="ruby-identifier">hash</span> = {}
|
237
197
|
<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>
|
@@ -240,25 +200,20 @@
|
|
240
200
|
<span class="ruby-identifier">hash</span>.<span class="ruby-identifier">to_json</span>
|
241
201
|
<span class="ruby-keyword">end</span></pre>
|
242
202
|
</div>
|
243
|
-
|
244
203
|
</div>
|
245
204
|
|
246
|
-
|
247
205
|
|
248
|
-
|
249
206
|
</div>
|
250
207
|
|
251
|
-
|
252
208
|
</section>
|
253
|
-
|
254
|
-
</section>
|
255
209
|
|
210
|
+
</section>
|
256
211
|
</main>
|
257
212
|
|
258
213
|
|
259
214
|
<footer id="validator-badges" role="contentinfo">
|
260
215
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
261
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.
|
216
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.1.
|
262
217
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
263
218
|
</footer>
|
264
219
|
|