class ReactiveRecord::SyncromeshController
Public Instance Methods
read()
click to toggle source
# File lib/syncromesh.rb, line 167 def read render json: Syncromesh::SimplePoller.read(params[:subscriber]) end
subscribe()
click to toggle source
# File lib/syncromesh.rb, line 163 def subscribe render json: {id: Syncromesh::SimplePoller.subscribe} end