def publish_to(channel, data = nil, &block)
      PrivatePub.publish_to(channel, data || capture(&block))
    end
def publish_to(channel, data = nil, &block)
      PrivatePub.publish_to(channel, data || capture(&block))
    end
Publish the given data or block to the client by sending
 a Net::HTTP POST request to the Faye server. If a block
 or string is passed in, it is evaluated as JavaScript
 on the client. Otherwise it will be converted to JSON
 for use in a JavaScript callback.