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

Version Path
geoblacklight_admin-0.7.0 app/notifications/export_notification.rb
geoblacklight_admin-0.6.3 app/notifications/export_notification.rb
geoblacklight_admin-0.6.2 app/notifications/export_notification.rb
geoblacklight_admin-0.6.1 app/notifications/export_notification.rb
geoblacklight_admin-0.6.0 app/notifications/export_notification.rb
geoblacklight_admin-0.5.1 app/notifications/export_notification.rb
geoblacklight_admin-0.5.0 app/notifications/export_notification.rb
geoblacklight_admin-0.4.2 app/notifications/export_notification.rb
geoblacklight_admin-0.4.1 app/notifications/export_notification.rb
geoblacklight_admin-0.4.0 app/notifications/export_notification.rb
geoblacklight_admin-0.3.2 app/notifications/export_notification.rb
geoblacklight_admin-0.3.1 app/notifications/export_notification.rb
geoblacklight_admin-0.3.0 app/notifications/export_notification.rb
geoblacklight_admin-0.2.1 app/notifications/export_notification.rb
geoblacklight_admin-0.1.0 app/notifications/export_notification.rb
geoblacklight_admin-0.0.1 app/notifications/export_notification.rb