Sha256: 213cb7b8edc100115844cbd1b04c909e4faa7a547587df6869fb8e48ad835eb0
Contents?: true
Size: 380 Bytes
Versions: 42
Compression:
Stored size: 380 Bytes
Contents
class <%= publisher_name.classify %> < DispatchRider::Publisher::Base # TODO: set the correct destination destinations [:some_destination] subject "<%= handler_name.underscore %>" # TODO: accept some custom arguments here # @return [<%= handler_name.classify %>] def self.publish # TODO: pass them to the message as hash arguments new.publish({}) end end
Version data entries
42 entries across 42 versions & 1 rubygems
Version | Path |
---|---|
dispatch-rider-1.2.1 | lib/generators/dispatch_rider/job/templates/publisher/publisher.rb.erb |
dispatch-rider-1.2.0 | lib/generators/dispatch_rider/job/templates/publisher/publisher.rb.erb |