Sha256: cbcb30ccb025b58eb7d73383f6287d87284312ee930f2b3bcbd9613f9ff10638

Contents?: true

Size: 248 Bytes

Versions: 5

Compression:

Stored size: 248 Bytes

Contents

<% module_namespacing do -%>
class <%= class_name %>Publisher
  include Cloudenvoy::Publisher

  cloudenvoy_options topic: 'test-msgs'

  def payload(msg)
    # Format the message payload. The payload can be a hash or a string.
  end
end
<% end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cloudenvoy-0.6.0 lib/generators/cloudenvoy/templates/publisher.rb.erb
cloudenvoy-0.6.rc1 lib/generators/cloudenvoy/templates/publisher.rb.erb
cloudenvoy-0.5.0 lib/generators/cloudenvoy/templates/publisher.rb.erb
cloudenvoy-0.5.rc1 lib/generators/cloudenvoy/templates/publisher.rb.erb
cloudenvoy-0.4.2 lib/generators/cloudenvoy/templates/publisher.rb.erb