Sha256: dd404d59dd63ea53860ac368bd853716d825b052186ee1f99783e82c62ef09b0

Contents?: true

Size: 455 Bytes

Versions: 5

Compression:

Stored size: 455 Bytes

Contents

class NewPostNotification < NotifyUser::BaseNotification

  channel :action_mailer,
        subject: "Rails3217: You have a new Newpostnotification notification.",
        aggregate: {
          subject: "Rails3217: 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-3.2.17/app/notifications/new_post_notification.rb
notify_user-0.1.3 spec/dummy/rails-3.2.17/app/notifications/new_post_notification.rb
notify_user-0.1.2 spec/dummy/rails-3.2.17/app/notifications/new_post_notification.rb
notify_user-0.1.1 spec/dummy/rails-3.2.17/app/notifications/new_post_notification.rb
notify_user-0.0.30 spec/dummy/rails-3.2.17/app/notifications/new_post_notification.rb