Sha256: fa9e1116a6add212b10055ef42f483eb1f6a5d093b289de68f8e77c5419a4ee2
Contents?: true
Size: 635 Bytes
Versions: 16
Compression:
Stored size: 635 Bytes
Contents
# frozen_string_literal: true # To deliver this notification: # # ExportNotification.with(post: @post).deliver_later(current_user) # ExportNotification.with(post: @post).deliver(current_user) # ExportNotification class ExportNotification < Noticed::Base # Add your delivery methods # deliver_by :database # deliver_by :email, mailer: "UserMailer" # deliver_by :slack # deliver_by :custom, class: "MyDeliveryMethod" # Add required params # param :message # Define helper methods to make rendering easier. # # def message # t(".message") # end # # def url # post_path(params[:post]) # end end
Version data entries
16 entries across 16 versions & 1 rubygems