Sha256: 931181c941aa301781623187c1df8db90eafd9a36bea1d367a3d456d04c2c791

Contents?: true

Size: 453 Bytes

Versions: 5

Compression:

Stored size: 453 Bytes

Contents

class NewPostNotification < NotifyUser::BaseNotification

  channel :action_mailer,
        subject: "Rails404: You have a new Newpostnotification notification.",
        aggregate: {
          subject: "Rails404: You have new Newpostnotification notifications."
        }

  self.description = "please override this type description"
  self.aggregate_per = 10.minutes

  def message
    "New Post Notification happened with #{params.as_json}"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
notify_user-0.1.4 spec/dummy/rails-4.0.4/app/notifications/new_post_notification.rb
notify_user-0.1.3 spec/dummy/rails-4.0.4/app/notifications/new_post_notification.rb
notify_user-0.1.2 spec/dummy/rails-4.0.4/app/notifications/new_post_notification.rb
notify_user-0.1.1 spec/dummy/rails-4.0.4/app/notifications/new_post_notification.rb
notify_user-0.0.30 spec/dummy/rails-4.0.4/app/notifications/new_post_notification.rb