| Module | PrivatePub |
| In: |
lib/private_pub.rb
lib/generators/private_pub/install_generator.rb lib/private_pub/engine.rb lib/private_pub/faye_extension.rb lib/private_pub/view_helpers.rb |
| config | [R] |
Publish the given data to a specific channel. This ends up sending a Net::HTTP POST request to the Faye server.
Returns a subscription hash to pass to the PrivatePub.sign call in JavaScript. Any options passed are merged to the hash.