doc/SDM/Relay.html in strongdm-1.0.22 vs doc/SDM/Relay.html in strongdm-1.0.23
- old
+ new
@@ -203,11 +203,11 @@
<div class="method-source-code" id="new-source">
- <pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 6229</span>
+ <pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 6421</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">name:</span><span class="ruby-keyword">nil</span> \
,
@@ -268,10 +268,10 @@
<div class="method-source-code" id="to_json-source">
- <pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 6256</span>
+ <pre><span class="ruby-comment"># File lib/models/porcelain.rb, line 6448</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>