html/classes/GoogleCalendar/Event.html in gcalapi-0.1.0 vs html/classes/GoogleCalendar/Event.html in gcalapi-0.1.1
- old
+ new
@@ -407,10 +407,10 @@
<pre>
<span class="ruby-comment cmt"># File lib/googlecalendar/event.rb, line 149</span>
149: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">destroy!</span>
150: <span class="ruby-identifier">ret</span> = <span class="ruby-keyword kw">nil</span>
151: <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">status</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">:old</span>
-152: <span class="ruby-identifier">ret</span> = <span class="ruby-ivar">@srv</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">feed</span>)
+152: <span class="ruby-identifier">ret</span> = <span class="ruby-ivar">@srv</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">feed</span>, <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">to_s</span>)
153: <span class="ruby-identifier">raise</span> <span class="ruby-constant">EventDeleteFailed</span>, <span class="ruby-value str">"Not Deleted"</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">ret</span>.<span class="ruby-identifier">code</span> <span class="ruby-operator">==</span> <span class="ruby-value str">"200"</span>
154: <span class="ruby-keyword kw">else</span>
155: <span class="ruby-identifier">raise</span> <span class="ruby-constant">EventDeleteFailed</span>, <span class="ruby-value str">"Not Saved"</span>
156: <span class="ruby-keyword kw">end</span>
157: <span class="ruby-identifier">status</span> = <span class="ruby-identifier">:deleted</span>
\ No newline at end of file