./doc/SDM/RoleAttachment.html in strongdm-1.0.28 vs ./doc/SDM/RoleAttachment.html in strongdm-1.0.29
- old
+ new
@@ -139,34 +139,34 @@
</header>
<div id="method-c-new" class="method-detail ">
<div class="method-heading">
<span class="method-name">new</span><span
- class="method-args">( id:nil \ , composite_role_id:nil \ , attached_role_id:nil \ )</span>
+ class="method-args">( attached_role_id:nil \ , composite_role_id:nil \ , id:nil \ )</span>
<span class="method-click-advice">click to toggle source</span>
</div>
<div class="method-description">
<div class="method-source-code" id="new-source">
- <pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 6917</span>
+ <pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 5927</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(
- <span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
+ <span class="ruby-value">attached_role_id:</span><span class="ruby-keyword">nil</span> \
,
<span class="ruby-value">composite_role_id:</span><span class="ruby-keyword">nil</span> \
,
- <span class="ruby-value">attached_role_id:</span><span class="ruby-keyword">nil</span> \
+ <span class="ruby-value">id:</span><span class="ruby-keyword">nil</span> \
)
- <span class="ruby-keyword">if</span> <span class="ruby-identifier">id</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
- <span class="ruby-ivar">@id</span> = <span class="ruby-identifier">id</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">attached_role_id</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
+ <span class="ruby-ivar">@attached_role_id</span> = <span class="ruby-identifier">attached_role_id</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">if</span> <span class="ruby-identifier">composite_role_id</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
<span class="ruby-ivar">@composite_role_id</span> = <span class="ruby-identifier">composite_role_id</span>
<span class="ruby-keyword">end</span>
- <span class="ruby-keyword">if</span> <span class="ruby-identifier">attached_role_id</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
- <span class="ruby-ivar">@attached_role_id</span> = <span class="ruby-identifier">attached_role_id</span>
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">id</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
+ <span class="ruby-ivar">@id</span> = <span class="ruby-identifier">id</span>
<span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
</div>
</div>
@@ -189,10 +189,10 @@
<div class="method-description">
<div class="method-source-code" id="to_json-source">
- <pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 6934</span>
+ <pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 5944</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_json</span>(<span class="ruby-identifier">options</span>={})
<span class="ruby-identifier">hash</span> = {}
<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>
<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>
<span class="ruby-keyword">end</span>