Method: Cloudenvoy::Publisher::ClassMethods#default_topic

Defined in:
lib/cloudenvoy/publisher.rb

#default_topicString

Return the default topic this publisher publishes to. Raises an error if no default topic has been defined.

Returns:

  • (String)

    The default topic.



67
68
69
# File 'lib/cloudenvoy/publisher.rb', line 67

def default_topic
  cloudenvoy_options_hash[:topic]
end