Sha256: 5f4ffece8018eb50355addd0364c1974377ce6c4d0619f3f62ce8474556bf689

Contents?: true

Size: 453 Bytes

Versions: 5

Compression:

Stored size: 453 Bytes

Contents

class NewPostNotification < NotifyUser::BaseNotification

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