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.3.2 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.3.1 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.1.4 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.1.3 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.1.2 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.1.1 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.0.30 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.0.29 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.0.28 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.0.27 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.0.26 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.0.25 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.0.24 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.0.23 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.0.22 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.0.20 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.0.19 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.0.18 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.0.16 lib/generators/notify_user/notification/templates/notification.rb.erb
notify_user-0.0.15 lib/generators/notify_user/notification/templates/notification.rb.erb