strongdm 1.0.34 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.git/ORIG_HEAD +1 -1
- data/.git/config +0 -3
- data/.git/index +0 -0
- data/.git/logs/HEAD +3 -4
- data/.git/logs/refs/heads/master +2 -2
- data/.git/logs/refs/remotes/origin/HEAD +1 -1
- data/.git/objects/pack/pack-ae9c31d15ecb69c51d515e053295673b38840788.idx +0 -0
- data/.git/objects/pack/{pack-802051e74a1de9449b3bc69f695b0b5e55e448e5.pack → pack-ae9c31d15ecb69c51d515e053295673b38840788.pack} +0 -0
- data/.git/packed-refs +5 -2
- data/.git/refs/heads/master +1 -1
- data/.yardopts +9 -0
- data/README.md +18 -6
- data/lib/errors/errors.rb +1 -1
- data/lib/grpc/account_attachments_services_pb.rb +1 -1
- data/lib/grpc/accounts_services_pb.rb +2 -2
- data/lib/grpc/drivers_pb.rb +41 -0
- data/lib/grpc/nodes_services_pb.rb +1 -1
- data/lib/grpc/options_pb.rb +35 -41
- data/lib/grpc/plumbing.rb +1235 -982
- data/lib/grpc/resources_services_pb.rb +3 -1
- data/lib/grpc/role_attachments_services_pb.rb +10 -0
- data/lib/grpc/role_grants_services_pb.rb +10 -0
- data/lib/grpc/roles_services_pb.rb +4 -6
- data/lib/grpc/secret_store_types_pb.rb +17 -0
- data/lib/grpc/secret_stores_services_pb.rb +1 -1
- data/lib/models/porcelain.rb +1255 -2961
- data/lib/strongdm.rb +53 -16
- data/lib/svc.rb +163 -14
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +5 -224
- data/.git/FETCH_HEAD +0 -2
- data/.git/logs/refs/heads/development +0 -1
- data/.git/objects/pack/pack-802051e74a1de9449b3bc69f695b0b5e55e448e5.idx +0 -0
- data/.git/refs/heads/development +0 -1
- data/doc/LICENSE.html +0 -187
- data/doc/Object.html +0 -114
- data/doc/README_md.html +0 -146
- data/doc/SDM/AKS.html +0 -352
- data/doc/SDM/AKSBasicAuth.html +0 -337
- data/doc/SDM/AKSServiceAccount.html +0 -322
- data/doc/SDM/AKSServiceAccountUserImpersonation.html +0 -322
- data/doc/SDM/AKSUserImpersonation.html +0 -352
- data/doc/SDM/AWS.html +0 -337
- data/doc/SDM/AWSStore.html +0 -232
- data/doc/SDM/AccountAttachment.html +0 -219
- data/doc/SDM/AccountAttachmentCreateResponse.html +0 -219
- data/doc/SDM/AccountAttachmentDeleteResponse.html +0 -204
- data/doc/SDM/AccountAttachmentGetResponse.html +0 -219
- data/doc/SDM/AccountAttachments.html +0 -354
- data/doc/SDM/AccountCreateResponse.html +0 -234
- data/doc/SDM/AccountDeleteResponse.html +0 -204
- data/doc/SDM/AccountGetResponse.html +0 -219
- data/doc/SDM/AccountGrant.html +0 -249
- data/doc/SDM/AccountGrantCreateResponse.html +0 -219
- data/doc/SDM/AccountGrantDeleteResponse.html +0 -204
- data/doc/SDM/AccountGrantGetResponse.html +0 -219
- data/doc/SDM/AccountGrants.html +0 -354
- data/doc/SDM/AccountUpdateResponse.html +0 -219
- data/doc/SDM/Accounts.html +0 -409
- data/doc/SDM/AlreadyExistsError.html +0 -140
- data/doc/SDM/AmazonEKS.html +0 -397
- data/doc/SDM/AmazonEKSUserImpersonation.html +0 -397
- data/doc/SDM/AmazonES.html +0 -367
- data/doc/SDM/AmazonMQAMQP091.html +0 -352
- data/doc/SDM/Athena.html +0 -367
- data/doc/SDM/AuroraMysql.html +0 -352
- data/doc/SDM/AuroraPostgres.html +0 -367
- data/doc/SDM/AuthenticationError.html +0 -140
- data/doc/SDM/Azure.html +0 -307
- data/doc/SDM/AzureCertificate.html +0 -307
- data/doc/SDM/AzurePostgres.html +0 -367
- data/doc/SDM/AzureStore.html +0 -232
- data/doc/SDM/BadRequestError.html +0 -140
- data/doc/SDM/BigQuery.html +0 -337
- data/doc/SDM/Cassandra.html +0 -352
- data/doc/SDM/Citus.html +0 -367
- data/doc/SDM/Client.html +0 -443
- data/doc/SDM/Clustrix.html +0 -352
- data/doc/SDM/Cockroach.html +0 -367
- data/doc/SDM/ControlPanel.html +0 -248
- data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +0 -219
- data/doc/SDM/ControlPanelVerifyJWTResponse.html +0 -219
- data/doc/SDM/CreateResponseMetadata.html +0 -169
- data/doc/SDM/DB2LUW.html +0 -352
- data/doc/SDM/DB2i.html +0 -352
- data/doc/SDM/DeadlineExceededError.html +0 -140
- data/doc/SDM/DeleteResponseMetadata.html +0 -169
- data/doc/SDM/DocumentDBHost.html +0 -352
- data/doc/SDM/DocumentDBReplicaSet.html +0 -367
- data/doc/SDM/Druid.html +0 -337
- data/doc/SDM/DynamoDB.html +0 -367
- data/doc/SDM/Elastic.html +0 -352
- data/doc/SDM/ElasticacheRedis.html +0 -337
- data/doc/SDM/GCP.html +0 -292
- data/doc/SDM/Gateway.html +0 -279
- data/doc/SDM/GetResponseMetadata.html +0 -169
- data/doc/SDM/GoogleGKE.html +0 -322
- data/doc/SDM/GoogleGKEUserImpersonation.html +0 -322
- data/doc/SDM/Greenplum.html +0 -367
- data/doc/SDM/HTTPAuth.html +0 -352
- data/doc/SDM/HTTPBasicAuth.html +0 -367
- data/doc/SDM/HTTPNoAuth.html +0 -337
- data/doc/SDM/InternalError.html +0 -140
- data/doc/SDM/Kubernetes.html +0 -352
- data/doc/SDM/KubernetesBasicAuth.html +0 -337
- data/doc/SDM/KubernetesServiceAccount.html +0 -322
- data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +0 -322
- data/doc/SDM/KubernetesUserImpersonation.html +0 -352
- data/doc/SDM/Maria.html +0 -352
- data/doc/SDM/Memcached.html +0 -307
- data/doc/SDM/Memsql.html +0 -352
- data/doc/SDM/MongoHost.html +0 -367
- data/doc/SDM/MongoLegacyHost.html +0 -382
- data/doc/SDM/MongoLegacyReplicaset.html +0 -397
- data/doc/SDM/MongoReplicaSet.html +0 -397
- data/doc/SDM/MongoShardedCluster.html +0 -352
- data/doc/SDM/Mysql.html +0 -352
- data/doc/SDM/Neptune.html +0 -307
- data/doc/SDM/NeptuneIAM.html +0 -382
- data/doc/SDM/NodeCreateResponse.html +0 -234
- data/doc/SDM/NodeDeleteResponse.html +0 -204
- data/doc/SDM/NodeGetResponse.html +0 -219
- data/doc/SDM/NodeUpdateResponse.html +0 -219
- data/doc/SDM/Nodes.html +0 -409
- data/doc/SDM/NotFoundError.html +0 -140
- data/doc/SDM/Oracle.html +0 -367
- data/doc/SDM/PermissionError.html +0 -140
- data/doc/SDM/Plumbing.html +0 -16086
- data/doc/SDM/Postgres.html +0 -367
- data/doc/SDM/Presto.html +0 -367
- data/doc/SDM/RDP.html +0 -352
- data/doc/SDM/RPCError.html +0 -157
- data/doc/SDM/RabbitMQAMQP091.html +0 -352
- data/doc/SDM/RateLimitError.html +0 -157
- data/doc/SDM/RateLimitMetadata.html +0 -234
- data/doc/SDM/RawTCP.html +0 -307
- data/doc/SDM/Redis.html +0 -322
- data/doc/SDM/Redshift.html +0 -367
- data/doc/SDM/Relay.html +0 -249
- data/doc/SDM/ResourceCreateResponse.html +0 -219
- data/doc/SDM/ResourceDeleteResponse.html +0 -204
- data/doc/SDM/ResourceGetResponse.html +0 -219
- data/doc/SDM/ResourceUpdateResponse.html +0 -219
- data/doc/SDM/Resources.html +0 -456
- data/doc/SDM/Role.html +0 -249
- data/doc/SDM/RoleAttachment.html +0 -219
- data/doc/SDM/RoleAttachmentCreateResponse.html +0 -219
- data/doc/SDM/RoleAttachmentDeleteResponse.html +0 -204
- data/doc/SDM/RoleAttachmentGetResponse.html +0 -219
- data/doc/SDM/RoleAttachments.html +0 -354
- data/doc/SDM/RoleCreateResponse.html +0 -219
- data/doc/SDM/RoleDeleteResponse.html +0 -204
- data/doc/SDM/RoleGetResponse.html +0 -219
- data/doc/SDM/RoleGrant.html +0 -219
- data/doc/SDM/RoleGrantCreateResponse.html +0 -219
- data/doc/SDM/RoleGrantDeleteResponse.html +0 -204
- data/doc/SDM/RoleGrantGetResponse.html +0 -219
- data/doc/SDM/RoleGrants.html +0 -354
- data/doc/SDM/RoleUpdateResponse.html +0 -219
- data/doc/SDM/Roles.html +0 -403
- data/doc/SDM/SQLServer.html +0 -382
- data/doc/SDM/SSH.html +0 -352
- data/doc/SDM/SSHCert.html +0 -337
- data/doc/SDM/SSHCustomerKey.html +0 -352
- data/doc/SDM/SecretStoreCreateResponse.html +0 -219
- data/doc/SDM/SecretStoreDeleteResponse.html +0 -204
- data/doc/SDM/SecretStoreGetResponse.html +0 -219
- data/doc/SDM/SecretStoreUpdateResponse.html +0 -219
- data/doc/SDM/SecretStores.html +0 -403
- data/doc/SDM/Service.html +0 -234
- data/doc/SDM/SingleStore.html +0 -352
- data/doc/SDM/Snowflake.html +0 -352
- data/doc/SDM/Sybase.html +0 -337
- data/doc/SDM/SybaseIQ.html +0 -337
- data/doc/SDM/Tag.html +0 -202
- data/doc/SDM/Teradata.html +0 -337
- data/doc/SDM/UpdateResponseMetadata.html +0 -169
- data/doc/SDM/User.html +0 -264
- data/doc/SDM/VaultTLSStore.html +0 -292
- data/doc/SDM/VaultTokenStore.html +0 -247
- data/doc/SDM.html +0 -122
- data/doc/V1/AccountAttachments/Service.html +0 -107
- data/doc/V1/AccountAttachments.html +0 -100
- data/doc/V1/AccountGrants/Service.html +0 -107
- data/doc/V1/AccountGrants.html +0 -100
- data/doc/V1/Accounts/Service.html +0 -112
- data/doc/V1/Accounts.html +0 -100
- data/doc/V1/ControlPanel/Service.html +0 -107
- data/doc/V1/ControlPanel.html +0 -100
- data/doc/V1/Nodes/Service.html +0 -112
- data/doc/V1/Nodes.html +0 -100
- data/doc/V1/Resources/Service.html +0 -105
- data/doc/V1/Resources.html +0 -100
- data/doc/V1/RoleAttachments/Service.html +0 -107
- data/doc/V1/RoleAttachments.html +0 -100
- data/doc/V1/RoleGrants/Service.html +0 -107
- data/doc/V1/RoleGrants.html +0 -100
- data/doc/V1/Roles/Service.html +0 -107
- data/doc/V1/Roles.html +0 -100
- data/doc/V1/SecretStores/Service.html +0 -107
- data/doc/V1/SecretStores.html +0 -100
- data/doc/V1/Tags.html +0 -100
- data/doc/V1.html +0 -506
- data/doc/created.rid +0 -37
- data/doc/css/fonts.css +0 -167
- data/doc/css/rdoc.css +0 -639
- data/doc/examples/Gemfile.html +0 -89
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +0 -257
- data/doc/js/darkfish.js +0 -84
- data/doc/js/navigation.js +0 -105
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +0 -110
- data/doc/js/search_index.js +0 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +0 -229
- data/doc/js/searcher.js.gz +0 -0
- data/doc/lib/version.html +0 -92
- data/doc/table_of_contents.html +0 -4680
- data/examples/Gemfile +0 -3
- data/examples/listUsers.rb +0 -21
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
|
|
3
|
-
<html>
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="UTF-8">
|
|
6
|
-
|
|
7
|
-
<title>class SDM::RoleDeleteResponse - 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::RoleDeleteResponse">
|
|
84
|
-
<h1 id="class-SDM::RoleDeleteResponse" class="class">
|
|
85
|
-
class SDM::RoleDeleteResponse
|
|
86
|
-
</h1>
|
|
87
|
-
|
|
88
|
-
<section class="description">
|
|
89
|
-
|
|
90
|
-
<p><a href="RoleDeleteResponse.html"><code>RoleDeleteResponse</code></a> returns information about a <a href="Role.html"><code>Role</code></a> that was deleted.</p>
|
|
91
|
-
|
|
92
|
-
</section>
|
|
93
|
-
|
|
94
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
<section class="attribute-method-details" class="method-section">
|
|
99
|
-
<header>
|
|
100
|
-
<h3>Attributes</h3>
|
|
101
|
-
</header>
|
|
102
|
-
|
|
103
|
-
<div id="attribute-i-meta" class="method-detail">
|
|
104
|
-
<div class="method-heading attribute-method-heading">
|
|
105
|
-
<span class="method-name">meta</span><span
|
|
106
|
-
class="attribute-access-type">[RW]</span>
|
|
107
|
-
</div>
|
|
108
|
-
|
|
109
|
-
<div class="method-description">
|
|
110
|
-
<p>Reserved for future use.</p>
|
|
111
|
-
</div>
|
|
112
|
-
</div>
|
|
113
|
-
<div id="attribute-i-rate_limit" class="method-detail">
|
|
114
|
-
<div class="method-heading attribute-method-heading">
|
|
115
|
-
<span class="method-name">rate_limit</span><span
|
|
116
|
-
class="attribute-access-type">[RW]</span>
|
|
117
|
-
</div>
|
|
118
|
-
|
|
119
|
-
<div class="method-description">
|
|
120
|
-
<p>Rate limit information.</p>
|
|
121
|
-
</div>
|
|
122
|
-
</div>
|
|
123
|
-
</section>
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
127
|
-
<header>
|
|
128
|
-
<h3>Public Class Methods</h3>
|
|
129
|
-
</header>
|
|
130
|
-
|
|
131
|
-
<div id="method-c-new" class="method-detail ">
|
|
132
|
-
<div class="method-heading">
|
|
133
|
-
<span class="method-name">new</span><span
|
|
134
|
-
class="method-args">( meta:nil \ , rate_limit:nil \ )</span>
|
|
135
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
136
|
-
</div>
|
|
137
|
-
|
|
138
|
-
<div class="method-description">
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
<div class="method-source-code" id="new-source">
|
|
142
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 6932</span>
|
|
143
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
|
144
|
-
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
|
145
|
-
,
|
|
146
|
-
<span class="ruby-value">rate_limit:</span><span class="ruby-keyword">nil</span> \
|
|
147
|
-
)
|
|
148
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">meta</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
|
149
|
-
<span class="ruby-ivar">@meta</span> = <span class="ruby-identifier">meta</span>
|
|
150
|
-
<span class="ruby-keyword">end</span>
|
|
151
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">rate_limit</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
|
152
|
-
<span class="ruby-ivar">@rate_limit</span> = <span class="ruby-identifier">rate_limit</span>
|
|
153
|
-
<span class="ruby-keyword">end</span>
|
|
154
|
-
<span class="ruby-keyword">end</span></pre>
|
|
155
|
-
</div>
|
|
156
|
-
</div>
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
</div>
|
|
160
|
-
|
|
161
|
-
</section>
|
|
162
|
-
|
|
163
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
164
|
-
<header>
|
|
165
|
-
<h3>Public Instance Methods</h3>
|
|
166
|
-
</header>
|
|
167
|
-
|
|
168
|
-
<div id="method-i-to_json" class="method-detail ">
|
|
169
|
-
<div class="method-heading">
|
|
170
|
-
<span class="method-name">to_json</span><span
|
|
171
|
-
class="method-args">(options={})</span>
|
|
172
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
173
|
-
</div>
|
|
174
|
-
|
|
175
|
-
<div class="method-description">
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
<div class="method-source-code" id="to_json-source">
|
|
179
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 6944</span>
|
|
180
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
|
181
|
-
<span class="ruby-identifier">hash</span> = {}
|
|
182
|
-
<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>
|
|
183
|
-
<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>
|
|
184
|
-
<span class="ruby-keyword">end</span>
|
|
185
|
-
<span class="ruby-identifier">hash</span>.<span class="ruby-identifier">to_json</span>
|
|
186
|
-
<span class="ruby-keyword">end</span></pre>
|
|
187
|
-
</div>
|
|
188
|
-
</div>
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
</div>
|
|
192
|
-
|
|
193
|
-
</section>
|
|
194
|
-
|
|
195
|
-
</section>
|
|
196
|
-
</main>
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
<footer id="validator-badges" role="contentinfo">
|
|
200
|
-
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
201
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.1.
|
|
202
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
203
|
-
</footer>
|
|
204
|
-
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
|
|
3
|
-
<html>
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="UTF-8">
|
|
6
|
-
|
|
7
|
-
<title>class SDM::RoleGetResponse - 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::RoleGetResponse">
|
|
84
|
-
<h1 id="class-SDM::RoleGetResponse" class="class">
|
|
85
|
-
class SDM::RoleGetResponse
|
|
86
|
-
</h1>
|
|
87
|
-
|
|
88
|
-
<section class="description">
|
|
89
|
-
|
|
90
|
-
<p><a href="RoleGetResponse.html"><code>RoleGetResponse</code></a> returns a requested <a href="Role.html"><code>Role</code></a>.</p>
|
|
91
|
-
|
|
92
|
-
</section>
|
|
93
|
-
|
|
94
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
<section class="attribute-method-details" class="method-section">
|
|
99
|
-
<header>
|
|
100
|
-
<h3>Attributes</h3>
|
|
101
|
-
</header>
|
|
102
|
-
|
|
103
|
-
<div id="attribute-i-meta" class="method-detail">
|
|
104
|
-
<div class="method-heading attribute-method-heading">
|
|
105
|
-
<span class="method-name">meta</span><span
|
|
106
|
-
class="attribute-access-type">[RW]</span>
|
|
107
|
-
</div>
|
|
108
|
-
|
|
109
|
-
<div class="method-description">
|
|
110
|
-
<p>Reserved for future use.</p>
|
|
111
|
-
</div>
|
|
112
|
-
</div>
|
|
113
|
-
<div id="attribute-i-rate_limit" class="method-detail">
|
|
114
|
-
<div class="method-heading attribute-method-heading">
|
|
115
|
-
<span class="method-name">rate_limit</span><span
|
|
116
|
-
class="attribute-access-type">[RW]</span>
|
|
117
|
-
</div>
|
|
118
|
-
|
|
119
|
-
<div class="method-description">
|
|
120
|
-
<p>Rate limit information.</p>
|
|
121
|
-
</div>
|
|
122
|
-
</div>
|
|
123
|
-
<div id="attribute-i-role" class="method-detail">
|
|
124
|
-
<div class="method-heading attribute-method-heading">
|
|
125
|
-
<span class="method-name">role</span><span
|
|
126
|
-
class="attribute-access-type">[RW]</span>
|
|
127
|
-
</div>
|
|
128
|
-
|
|
129
|
-
<div class="method-description">
|
|
130
|
-
<p>The requested <a href="Role.html"><code>Role</code></a>.</p>
|
|
131
|
-
</div>
|
|
132
|
-
</div>
|
|
133
|
-
</section>
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
137
|
-
<header>
|
|
138
|
-
<h3>Public Class Methods</h3>
|
|
139
|
-
</header>
|
|
140
|
-
|
|
141
|
-
<div id="method-c-new" class="method-detail ">
|
|
142
|
-
<div class="method-heading">
|
|
143
|
-
<span class="method-name">new</span><span
|
|
144
|
-
class="method-args">( meta:nil \ , rate_limit:nil \ , role:nil \ )</span>
|
|
145
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
146
|
-
</div>
|
|
147
|
-
|
|
148
|
-
<div class="method-description">
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
<div class="method-source-code" id="new-source">
|
|
152
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 6960</span>
|
|
153
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
|
154
|
-
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
|
155
|
-
,
|
|
156
|
-
<span class="ruby-value">rate_limit:</span><span class="ruby-keyword">nil</span> \
|
|
157
|
-
,
|
|
158
|
-
<span class="ruby-value">role:</span><span class="ruby-keyword">nil</span> \
|
|
159
|
-
)
|
|
160
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">meta</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
|
161
|
-
<span class="ruby-ivar">@meta</span> = <span class="ruby-identifier">meta</span>
|
|
162
|
-
<span class="ruby-keyword">end</span>
|
|
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>
|
|
164
|
-
<span class="ruby-ivar">@rate_limit</span> = <span class="ruby-identifier">rate_limit</span>
|
|
165
|
-
<span class="ruby-keyword">end</span>
|
|
166
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">role</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
|
167
|
-
<span class="ruby-ivar">@role</span> = <span class="ruby-identifier">role</span>
|
|
168
|
-
<span class="ruby-keyword">end</span>
|
|
169
|
-
<span class="ruby-keyword">end</span></pre>
|
|
170
|
-
</div>
|
|
171
|
-
</div>
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
</div>
|
|
175
|
-
|
|
176
|
-
</section>
|
|
177
|
-
|
|
178
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
179
|
-
<header>
|
|
180
|
-
<h3>Public Instance Methods</h3>
|
|
181
|
-
</header>
|
|
182
|
-
|
|
183
|
-
<div id="method-i-to_json" class="method-detail ">
|
|
184
|
-
<div class="method-heading">
|
|
185
|
-
<span class="method-name">to_json</span><span
|
|
186
|
-
class="method-args">(options={})</span>
|
|
187
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
188
|
-
</div>
|
|
189
|
-
|
|
190
|
-
<div class="method-description">
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
<div class="method-source-code" id="to_json-source">
|
|
194
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 6977</span>
|
|
195
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
|
196
|
-
<span class="ruby-identifier">hash</span> = {}
|
|
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>
|
|
198
|
-
<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>
|
|
199
|
-
<span class="ruby-keyword">end</span>
|
|
200
|
-
<span class="ruby-identifier">hash</span>.<span class="ruby-identifier">to_json</span>
|
|
201
|
-
<span class="ruby-keyword">end</span></pre>
|
|
202
|
-
</div>
|
|
203
|
-
</div>
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
</div>
|
|
207
|
-
|
|
208
|
-
</section>
|
|
209
|
-
|
|
210
|
-
</section>
|
|
211
|
-
</main>
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
<footer id="validator-badges" role="contentinfo">
|
|
215
|
-
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
216
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.1.
|
|
217
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
218
|
-
</footer>
|
|
219
|
-
|
data/doc/SDM/RoleGrant.html
DELETED
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
|
|
3
|
-
<html>
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="UTF-8">
|
|
6
|
-
|
|
7
|
-
<title>class SDM::RoleGrant - 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::RoleGrant">
|
|
84
|
-
<h1 id="class-SDM::RoleGrant" class="class">
|
|
85
|
-
class SDM::RoleGrant
|
|
86
|
-
</h1>
|
|
87
|
-
|
|
88
|
-
<section class="description">
|
|
89
|
-
|
|
90
|
-
<p>A <a href="RoleGrant.html"><code>RoleGrant</code></a> connects a resource to a role, granting members of the role access to that resource.</p>
|
|
91
|
-
|
|
92
|
-
</section>
|
|
93
|
-
|
|
94
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
<section class="attribute-method-details" class="method-section">
|
|
99
|
-
<header>
|
|
100
|
-
<h3>Attributes</h3>
|
|
101
|
-
</header>
|
|
102
|
-
|
|
103
|
-
<div id="attribute-i-id" class="method-detail">
|
|
104
|
-
<div class="method-heading attribute-method-heading">
|
|
105
|
-
<span class="method-name">id</span><span
|
|
106
|
-
class="attribute-access-type">[RW]</span>
|
|
107
|
-
</div>
|
|
108
|
-
|
|
109
|
-
<div class="method-description">
|
|
110
|
-
<p>Unique identifier of the <a href="RoleGrant.html"><code>RoleGrant</code></a>.</p>
|
|
111
|
-
</div>
|
|
112
|
-
</div>
|
|
113
|
-
<div id="attribute-i-resource_id" class="method-detail">
|
|
114
|
-
<div class="method-heading attribute-method-heading">
|
|
115
|
-
<span class="method-name">resource_id</span><span
|
|
116
|
-
class="attribute-access-type">[RW]</span>
|
|
117
|
-
</div>
|
|
118
|
-
|
|
119
|
-
<div class="method-description">
|
|
120
|
-
<p>The id of the resource of this <a href="RoleGrant.html"><code>RoleGrant</code></a>.</p>
|
|
121
|
-
</div>
|
|
122
|
-
</div>
|
|
123
|
-
<div id="attribute-i-role_id" class="method-detail">
|
|
124
|
-
<div class="method-heading attribute-method-heading">
|
|
125
|
-
<span class="method-name">role_id</span><span
|
|
126
|
-
class="attribute-access-type">[RW]</span>
|
|
127
|
-
</div>
|
|
128
|
-
|
|
129
|
-
<div class="method-description">
|
|
130
|
-
<p>The id of the attached role of this <a href="RoleGrant.html"><code>RoleGrant</code></a>.</p>
|
|
131
|
-
</div>
|
|
132
|
-
</div>
|
|
133
|
-
</section>
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
137
|
-
<header>
|
|
138
|
-
<h3>Public Class Methods</h3>
|
|
139
|
-
</header>
|
|
140
|
-
|
|
141
|
-
<div id="method-c-new" class="method-detail ">
|
|
142
|
-
<div class="method-heading">
|
|
143
|
-
<span class="method-name">new</span><span
|
|
144
|
-
class="method-args">( id:nil \ , resource_id:nil \ , role_id:nil \ )</span>
|
|
145
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
146
|
-
</div>
|
|
147
|
-
|
|
148
|
-
<div class="method-description">
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
<div class="method-source-code" id="new-source">
|
|
152
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 6993</span>
|
|
153
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
|
154
|
-
<span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
|
|
155
|
-
,
|
|
156
|
-
<span class="ruby-value">resource_id:</span><span class="ruby-keyword">nil</span> \
|
|
157
|
-
,
|
|
158
|
-
<span class="ruby-value">role_id:</span><span class="ruby-keyword">nil</span> \
|
|
159
|
-
)
|
|
160
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">id</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
|
161
|
-
<span class="ruby-ivar">@id</span> = <span class="ruby-identifier">id</span>
|
|
162
|
-
<span class="ruby-keyword">end</span>
|
|
163
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">resource_id</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
|
164
|
-
<span class="ruby-ivar">@resource_id</span> = <span class="ruby-identifier">resource_id</span>
|
|
165
|
-
<span class="ruby-keyword">end</span>
|
|
166
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">role_id</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
|
167
|
-
<span class="ruby-ivar">@role_id</span> = <span class="ruby-identifier">role_id</span>
|
|
168
|
-
<span class="ruby-keyword">end</span>
|
|
169
|
-
<span class="ruby-keyword">end</span></pre>
|
|
170
|
-
</div>
|
|
171
|
-
</div>
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
</div>
|
|
175
|
-
|
|
176
|
-
</section>
|
|
177
|
-
|
|
178
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
179
|
-
<header>
|
|
180
|
-
<h3>Public Instance Methods</h3>
|
|
181
|
-
</header>
|
|
182
|
-
|
|
183
|
-
<div id="method-i-to_json" class="method-detail ">
|
|
184
|
-
<div class="method-heading">
|
|
185
|
-
<span class="method-name">to_json</span><span
|
|
186
|
-
class="method-args">(options={})</span>
|
|
187
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
188
|
-
</div>
|
|
189
|
-
|
|
190
|
-
<div class="method-description">
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
<div class="method-source-code" id="to_json-source">
|
|
194
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 7010</span>
|
|
195
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
|
196
|
-
<span class="ruby-identifier">hash</span> = {}
|
|
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>
|
|
198
|
-
<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>
|
|
199
|
-
<span class="ruby-keyword">end</span>
|
|
200
|
-
<span class="ruby-identifier">hash</span>.<span class="ruby-identifier">to_json</span>
|
|
201
|
-
<span class="ruby-keyword">end</span></pre>
|
|
202
|
-
</div>
|
|
203
|
-
</div>
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
</div>
|
|
207
|
-
|
|
208
|
-
</section>
|
|
209
|
-
|
|
210
|
-
</section>
|
|
211
|
-
</main>
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
<footer id="validator-badges" role="contentinfo">
|
|
215
|
-
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
216
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.1.
|
|
217
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
218
|
-
</footer>
|
|
219
|
-
|