lib/firebase/firebase.rb in motion-firebase-1.0.9 vs lib/firebase/firebase.rb in motion-firebase-1.0.10
- old
+ new
@@ -145,9 +145,10 @@
cancelDisconnectOperations
end
return self
end
+ # Calls the block when the value is true
def on_auth(options={}, &block)
auth_state.on(:value, options, &block)
end
def on_disconnect(value, &and_then)