Method: Pubilion::Config.topic
- Defined in:
- lib/pubilion/config.rb
.topic ⇒ String?
Topic name of subscription. If not set, it will try to get from PUBSUB_TOPIC. This configuration is required for Pubilion::Worker.
47 48 49 |
# File 'lib/pubilion/config.rb', line 47 def topic @topic ||= ENV.fetch("PUBSUB_TOPIC", nil) end |