strongdm 1.0.26 → 1.0.27
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-e59f6bedc3261325378736e7cec548f841834e55.idx +0 -0
- data/.git/objects/pack/pack-e59f6bedc3261325378736e7cec548f841834e55.pack +0 -0
- data/.git/packed-refs +27 -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/Object.html +10 -0
- data/doc/SDM/Client.html +11 -6
- data/doc/V1.html +0 -200
- data/doc/created.rid +38 -49
- data/doc/index.html +0 -16
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/lib/version.html +1 -1
- data/doc/strongdm_gemspec.html +1 -1
- data/doc/table_of_contents.html +0 -40
- data/lib/strongdm.rb +8 -1
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- data/strongdm.gemspec +1 -1
- metadata +274 -269
- 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/SDM/AmazonMQRabbitMQAMQP091.html +0 -427
- data/doc/SDM/SecretStore.html +0 -303
- 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
@@ -1,249 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta charset="UTF-8">
|
6
|
-
|
7
|
-
<title>class SDM::AccessRuleDeleteResponse - RDoc Documentation</title>
|
8
|
-
|
9
|
-
<script type="text/javascript">
|
10
|
-
var rdoc_rel_prefix = "../";
|
11
|
-
var index_rel_prefix = "../";
|
12
|
-
</script>
|
13
|
-
|
14
|
-
<script src="../js/navigation.js" defer></script>
|
15
|
-
<script src="../js/search.js" defer></script>
|
16
|
-
<script src="../js/search_index.js" defer></script>
|
17
|
-
<script src="../js/searcher.js" defer></script>
|
18
|
-
<script src="../js/darkfish.js" defer></script>
|
19
|
-
|
20
|
-
<link href="../css/fonts.css" rel="stylesheet">
|
21
|
-
<link href="../css/rdoc.css" rel="stylesheet">
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
<body id="top" role="document" class="class">
|
27
|
-
<nav role="navigation">
|
28
|
-
<div id="project-navigation">
|
29
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
30
|
-
<h2>
|
31
|
-
<a href="../index.html" rel="home">Home</a>
|
32
|
-
</h2>
|
33
|
-
|
34
|
-
<div id="table-of-contents-navigation">
|
35
|
-
<a href="../table_of_contents.html#pages">Pages</a>
|
36
|
-
<a href="../table_of_contents.html#classes">Classes</a>
|
37
|
-
<a href="../table_of_contents.html#methods">Methods</a>
|
38
|
-
</div>
|
39
|
-
</div>
|
40
|
-
|
41
|
-
<div id="search-section" role="search" class="project-section initially-hidden">
|
42
|
-
<form action="#" method="get" accept-charset="utf-8">
|
43
|
-
<div id="search-field-wrapper">
|
44
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
45
|
-
aria-autocomplete="list" aria-controls="search-results"
|
46
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
47
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
48
|
-
</div>
|
49
|
-
|
50
|
-
<ul id="search-results" aria-label="Search Results"
|
51
|
-
aria-busy="false" aria-expanded="false"
|
52
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
53
|
-
</form>
|
54
|
-
</div>
|
55
|
-
|
56
|
-
</div>
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
<div id="class-metadata">
|
61
|
-
|
62
|
-
<div id="parent-class-section" class="nav-section">
|
63
|
-
<h3>Parent</h3>
|
64
|
-
|
65
|
-
|
66
|
-
<p class="link"><a href="../Object.html">Object</a>
|
67
|
-
|
68
|
-
</div>
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
<!-- Method Quickref -->
|
73
|
-
<div id="method-list-section" class="nav-section">
|
74
|
-
<h3>Methods</h3>
|
75
|
-
|
76
|
-
<ul class="link-list" role="directory">
|
77
|
-
|
78
|
-
<li ><a href="#method-c-new">::new</a>
|
79
|
-
|
80
|
-
<li ><a href="#method-i-to_json">#to_json</a>
|
81
|
-
|
82
|
-
</ul>
|
83
|
-
</div>
|
84
|
-
|
85
|
-
</div>
|
86
|
-
</nav>
|
87
|
-
|
88
|
-
<main role="main" aria-labelledby="class-SDM::AccessRuleDeleteResponse">
|
89
|
-
<h1 id="class-SDM::AccessRuleDeleteResponse" class="class">
|
90
|
-
class SDM::AccessRuleDeleteResponse
|
91
|
-
</h1>
|
92
|
-
|
93
|
-
<section class="description">
|
94
|
-
|
95
|
-
<p><a href="AccessRuleDeleteResponse.html"><code>AccessRuleDeleteResponse</code></a> returns information about a AccessRule that was deleted.</p>
|
96
|
-
|
97
|
-
</section>
|
98
|
-
|
99
|
-
|
100
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
<section class="attribute-method-details" class="method-section">
|
109
|
-
<header>
|
110
|
-
<h3>Attributes</h3>
|
111
|
-
</header>
|
112
|
-
|
113
|
-
|
114
|
-
<div id="attribute-i-meta" class="method-detail">
|
115
|
-
<div class="method-heading attribute-method-heading">
|
116
|
-
<span class="method-name">meta</span><span
|
117
|
-
class="attribute-access-type">[RW]</span>
|
118
|
-
</div>
|
119
|
-
|
120
|
-
<div class="method-description">
|
121
|
-
|
122
|
-
<p>Reserved for future use.</p>
|
123
|
-
|
124
|
-
</div>
|
125
|
-
</div>
|
126
|
-
|
127
|
-
<div id="attribute-i-rate_limit" class="method-detail">
|
128
|
-
<div class="method-heading attribute-method-heading">
|
129
|
-
<span class="method-name">rate_limit</span><span
|
130
|
-
class="attribute-access-type">[RW]</span>
|
131
|
-
</div>
|
132
|
-
|
133
|
-
<div class="method-description">
|
134
|
-
|
135
|
-
<p>Rate limit information.</p>
|
136
|
-
|
137
|
-
</div>
|
138
|
-
</div>
|
139
|
-
|
140
|
-
</section>
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
145
|
-
<header>
|
146
|
-
<h3>Public Class Methods</h3>
|
147
|
-
</header>
|
148
|
-
|
149
|
-
|
150
|
-
<div id="method-c-new" class="method-detail ">
|
151
|
-
|
152
|
-
<div class="method-heading">
|
153
|
-
<span class="method-name">new</span><span
|
154
|
-
class="method-args">( meta:nil \ , rate_limit:nil \ )</span>
|
155
|
-
|
156
|
-
<span class="method-click-advice">click to toggle source</span>
|
157
|
-
|
158
|
-
</div>
|
159
|
-
|
160
|
-
|
161
|
-
<div class="method-description">
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
<div class="method-source-code" id="new-source">
|
169
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 153</span>
|
170
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
171
|
-
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
172
|
-
,
|
173
|
-
<span class="ruby-value">rate_limit:</span><span class="ruby-keyword">nil</span> \
|
174
|
-
)
|
175
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">meta</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
176
|
-
<span class="ruby-ivar">@meta</span> = <span class="ruby-identifier">meta</span>
|
177
|
-
<span class="ruby-keyword">end</span>
|
178
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">rate_limit</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
179
|
-
<span class="ruby-ivar">@rate_limit</span> = <span class="ruby-identifier">rate_limit</span>
|
180
|
-
<span class="ruby-keyword">end</span>
|
181
|
-
<span class="ruby-keyword">end</span></pre>
|
182
|
-
</div>
|
183
|
-
|
184
|
-
</div>
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
</div>
|
190
|
-
|
191
|
-
|
192
|
-
</section>
|
193
|
-
|
194
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
195
|
-
<header>
|
196
|
-
<h3>Public Instance Methods</h3>
|
197
|
-
</header>
|
198
|
-
|
199
|
-
|
200
|
-
<div id="method-i-to_json" class="method-detail ">
|
201
|
-
|
202
|
-
<div class="method-heading">
|
203
|
-
<span class="method-name">to_json</span><span
|
204
|
-
class="method-args">(options={})</span>
|
205
|
-
|
206
|
-
<span class="method-click-advice">click to toggle source</span>
|
207
|
-
|
208
|
-
</div>
|
209
|
-
|
210
|
-
|
211
|
-
<div class="method-description">
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
<div class="method-source-code" id="to_json-source">
|
219
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 165</span>
|
220
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
221
|
-
<span class="ruby-identifier">hash</span> = {}
|
222
|
-
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
223
|
-
<span class="ruby-identifier">hash</span>[<span class="ruby-identifier">var</span>.<span class="ruby-identifier">id2name</span>.<span class="ruby-identifier">delete_prefix</span>(<span class="ruby-string">'@'</span>)] = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variable_get</span> <span class="ruby-identifier">var</span>
|
224
|
-
<span class="ruby-keyword">end</span>
|
225
|
-
<span class="ruby-identifier">hash</span>.<span class="ruby-identifier">to_json</span>
|
226
|
-
<span class="ruby-keyword">end</span></pre>
|
227
|
-
</div>
|
228
|
-
|
229
|
-
</div>
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
</div>
|
235
|
-
|
236
|
-
|
237
|
-
</section>
|
238
|
-
|
239
|
-
</section>
|
240
|
-
|
241
|
-
</main>
|
242
|
-
|
243
|
-
|
244
|
-
<footer id="validator-badges" role="contentinfo">
|
245
|
-
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
246
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
247
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
248
|
-
</footer>
|
249
|
-
|
@@ -1,267 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta charset="UTF-8">
|
6
|
-
|
7
|
-
<title>class SDM::AccessRuleUpdateResponse - RDoc Documentation</title>
|
8
|
-
|
9
|
-
<script type="text/javascript">
|
10
|
-
var rdoc_rel_prefix = "../";
|
11
|
-
var index_rel_prefix = "../";
|
12
|
-
</script>
|
13
|
-
|
14
|
-
<script src="../js/navigation.js" defer></script>
|
15
|
-
<script src="../js/search.js" defer></script>
|
16
|
-
<script src="../js/search_index.js" defer></script>
|
17
|
-
<script src="../js/searcher.js" defer></script>
|
18
|
-
<script src="../js/darkfish.js" defer></script>
|
19
|
-
|
20
|
-
<link href="../css/fonts.css" rel="stylesheet">
|
21
|
-
<link href="../css/rdoc.css" rel="stylesheet">
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
<body id="top" role="document" class="class">
|
27
|
-
<nav role="navigation">
|
28
|
-
<div id="project-navigation">
|
29
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
30
|
-
<h2>
|
31
|
-
<a href="../index.html" rel="home">Home</a>
|
32
|
-
</h2>
|
33
|
-
|
34
|
-
<div id="table-of-contents-navigation">
|
35
|
-
<a href="../table_of_contents.html#pages">Pages</a>
|
36
|
-
<a href="../table_of_contents.html#classes">Classes</a>
|
37
|
-
<a href="../table_of_contents.html#methods">Methods</a>
|
38
|
-
</div>
|
39
|
-
</div>
|
40
|
-
|
41
|
-
<div id="search-section" role="search" class="project-section initially-hidden">
|
42
|
-
<form action="#" method="get" accept-charset="utf-8">
|
43
|
-
<div id="search-field-wrapper">
|
44
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
45
|
-
aria-autocomplete="list" aria-controls="search-results"
|
46
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
47
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
48
|
-
</div>
|
49
|
-
|
50
|
-
<ul id="search-results" aria-label="Search Results"
|
51
|
-
aria-busy="false" aria-expanded="false"
|
52
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
53
|
-
</form>
|
54
|
-
</div>
|
55
|
-
|
56
|
-
</div>
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
<div id="class-metadata">
|
61
|
-
|
62
|
-
<div id="parent-class-section" class="nav-section">
|
63
|
-
<h3>Parent</h3>
|
64
|
-
|
65
|
-
|
66
|
-
<p class="link"><a href="../Object.html">Object</a>
|
67
|
-
|
68
|
-
</div>
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
<!-- Method Quickref -->
|
73
|
-
<div id="method-list-section" class="nav-section">
|
74
|
-
<h3>Methods</h3>
|
75
|
-
|
76
|
-
<ul class="link-list" role="directory">
|
77
|
-
|
78
|
-
<li ><a href="#method-c-new">::new</a>
|
79
|
-
|
80
|
-
<li ><a href="#method-i-to_json">#to_json</a>
|
81
|
-
|
82
|
-
</ul>
|
83
|
-
</div>
|
84
|
-
|
85
|
-
</div>
|
86
|
-
</nav>
|
87
|
-
|
88
|
-
<main role="main" aria-labelledby="class-SDM::AccessRuleUpdateResponse">
|
89
|
-
<h1 id="class-SDM::AccessRuleUpdateResponse" class="class">
|
90
|
-
class SDM::AccessRuleUpdateResponse
|
91
|
-
</h1>
|
92
|
-
|
93
|
-
<section class="description">
|
94
|
-
|
95
|
-
<p><a href="AccessRuleUpdateResponse.html"><code>AccessRuleUpdateResponse</code></a> returns the fields of an Access Rule after it has been updated by a AccessRuleUpdateRequest.</p>
|
96
|
-
|
97
|
-
</section>
|
98
|
-
|
99
|
-
|
100
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
<section class="attribute-method-details" class="method-section">
|
109
|
-
<header>
|
110
|
-
<h3>Attributes</h3>
|
111
|
-
</header>
|
112
|
-
|
113
|
-
|
114
|
-
<div id="attribute-i-access_rule" class="method-detail">
|
115
|
-
<div class="method-heading attribute-method-heading">
|
116
|
-
<span class="method-name">access_rule</span><span
|
117
|
-
class="attribute-access-type">[RW]</span>
|
118
|
-
</div>
|
119
|
-
|
120
|
-
<div class="method-description">
|
121
|
-
|
122
|
-
<p>The updated AccessRule.</p>
|
123
|
-
|
124
|
-
</div>
|
125
|
-
</div>
|
126
|
-
|
127
|
-
<div id="attribute-i-meta" class="method-detail">
|
128
|
-
<div class="method-heading attribute-method-heading">
|
129
|
-
<span class="method-name">meta</span><span
|
130
|
-
class="attribute-access-type">[RW]</span>
|
131
|
-
</div>
|
132
|
-
|
133
|
-
<div class="method-description">
|
134
|
-
|
135
|
-
<p>Reserved for future use.</p>
|
136
|
-
|
137
|
-
</div>
|
138
|
-
</div>
|
139
|
-
|
140
|
-
<div id="attribute-i-rate_limit" class="method-detail">
|
141
|
-
<div class="method-heading attribute-method-heading">
|
142
|
-
<span class="method-name">rate_limit</span><span
|
143
|
-
class="attribute-access-type">[RW]</span>
|
144
|
-
</div>
|
145
|
-
|
146
|
-
<div class="method-description">
|
147
|
-
|
148
|
-
<p>Rate limit information.</p>
|
149
|
-
|
150
|
-
</div>
|
151
|
-
</div>
|
152
|
-
|
153
|
-
</section>
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
158
|
-
<header>
|
159
|
-
<h3>Public Class Methods</h3>
|
160
|
-
</header>
|
161
|
-
|
162
|
-
|
163
|
-
<div id="method-c-new" class="method-detail ">
|
164
|
-
|
165
|
-
<div class="method-heading">
|
166
|
-
<span class="method-name">new</span><span
|
167
|
-
class="method-args">( meta:nil \ , access_rule:nil \ , rate_limit:nil \ )</span>
|
168
|
-
|
169
|
-
<span class="method-click-advice">click to toggle source</span>
|
170
|
-
|
171
|
-
</div>
|
172
|
-
|
173
|
-
|
174
|
-
<div class="method-description">
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
<div class="method-source-code" id="new-source">
|
182
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 123</span>
|
183
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
|
184
|
-
<span class="ruby-value">meta:</span><span class="ruby-keyword">nil</span> \
|
185
|
-
,
|
186
|
-
<span class="ruby-value">access_rule:</span><span class="ruby-keyword">nil</span> \
|
187
|
-
,
|
188
|
-
<span class="ruby-value">rate_limit:</span><span class="ruby-keyword">nil</span> \
|
189
|
-
)
|
190
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">meta</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
191
|
-
<span class="ruby-ivar">@meta</span> = <span class="ruby-identifier">meta</span>
|
192
|
-
<span class="ruby-keyword">end</span>
|
193
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">access_rule</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
194
|
-
<span class="ruby-ivar">@access_rule</span> = <span class="ruby-identifier">access_rule</span>
|
195
|
-
<span class="ruby-keyword">end</span>
|
196
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">rate_limit</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
197
|
-
<span class="ruby-ivar">@rate_limit</span> = <span class="ruby-identifier">rate_limit</span>
|
198
|
-
<span class="ruby-keyword">end</span>
|
199
|
-
<span class="ruby-keyword">end</span></pre>
|
200
|
-
</div>
|
201
|
-
|
202
|
-
</div>
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
</div>
|
208
|
-
|
209
|
-
|
210
|
-
</section>
|
211
|
-
|
212
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
213
|
-
<header>
|
214
|
-
<h3>Public Instance Methods</h3>
|
215
|
-
</header>
|
216
|
-
|
217
|
-
|
218
|
-
<div id="method-i-to_json" class="method-detail ">
|
219
|
-
|
220
|
-
<div class="method-heading">
|
221
|
-
<span class="method-name">to_json</span><span
|
222
|
-
class="method-args">(options={})</span>
|
223
|
-
|
224
|
-
<span class="method-click-advice">click to toggle source</span>
|
225
|
-
|
226
|
-
</div>
|
227
|
-
|
228
|
-
|
229
|
-
<div class="method-description">
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
<div class="method-source-code" id="to_json-source">
|
237
|
-
<pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 140</span>
|
238
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
|
239
|
-
<span class="ruby-identifier">hash</span> = {}
|
240
|
-
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">var</span><span class="ruby-operator">|</span>
|
241
|
-
<span class="ruby-identifier">hash</span>[<span class="ruby-identifier">var</span>.<span class="ruby-identifier">id2name</span>.<span class="ruby-identifier">delete_prefix</span>(<span class="ruby-string">'@'</span>)] = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">instance_variable_get</span> <span class="ruby-identifier">var</span>
|
242
|
-
<span class="ruby-keyword">end</span>
|
243
|
-
<span class="ruby-identifier">hash</span>.<span class="ruby-identifier">to_json</span>
|
244
|
-
<span class="ruby-keyword">end</span></pre>
|
245
|
-
</div>
|
246
|
-
|
247
|
-
</div>
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
</div>
|
253
|
-
|
254
|
-
|
255
|
-
</section>
|
256
|
-
|
257
|
-
</section>
|
258
|
-
|
259
|
-
</main>
|
260
|
-
|
261
|
-
|
262
|
-
<footer id="validator-badges" role="contentinfo">
|
263
|
-
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
264
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
265
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
266
|
-
</footer>
|
267
|
-
|