Method: PubsubClient::Publisher#initialize
- Defined in:
- lib/pubsub_client/publisher.rb
#initialize(topic) ⇒ Publisher
Returns a new instance of Publisher.
8 9 10 |
# File 'lib/pubsub_client/publisher.rb', line 8 def initialize(topic) @topic = topic end |