Sha256: 53ed29705a3117efea7e489b5058ada4c51cc9b02e33d7ac152d78fb40c303f2

Contents?: true

Size: 391 Bytes

Versions: 4

Compression:

Stored size: 391 Bytes

Contents

module Workarea
  class <%= class_name %>Message
    include Listrak::TransactionalMessage

    # message_id 45678
    # message_attributes(
    #   name: 12345
    # )
    #
    # def initialize(order)
    #   @order = order
    # end
    #
    # def name
    #   "#{@order.first_name} #{@order.last_name}"
    # end

    private

      def email_address
        # TODO
      end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
workarea-listrak-5.0.4 lib/generators/workarea/listrak/message/templates/message.rb.erb
workarea-listrak-5.0.3 lib/generators/workarea/listrak/message/templates/message.rb.erb
workarea-listrak-5.0.2 lib/generators/workarea/listrak/message/templates/message.rb.erb
workarea-listrak-5.0.1 lib/generators/workarea/listrak/message/templates/message.rb.erb