Sha256: 5e76b0907c821b9596af5c1aae7cc470e7c34a38f3553131cc216f1a36dbd5dc

Contents?: true

Size: 464 Bytes

Versions: 25

Compression:

Stored size: 464 Bytes

Contents

class <%= name.camelize %> < NotifyUser::BaseNotification

  channel :action_mailer,
        subject: "<%= Rails.application.class.parent_name.titleize %>: You have a new <%= name.humanize %> notification.",
        aggregate: {
          subject: "<%= Rails.application.class.parent_name.titleize %>: You have new <%= name.humanize %> notifications."
        }  

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

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
notify_user-0.0.14 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.0.12 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.0.10 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.0.9 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.0.8 lib/generators/notify_user/notification/templates/notification.rb.erb