class Noticed::Generators::NotificationGenerator

Public Instance Methods

generate_notification() click to toggle source
# File lib/generators/noticed/notification_generator.rb, line 14
def generate_notification
  template "notification.rb", "app/notifications/#{file_path}.rb"
end