Sha256: bc6614d438a428210893670cece3adc28c30feb5a1f8add9f0888792da378805

Contents?: true

Size: 302 Bytes

Versions: 8

Compression:

Stored size: 302 Bytes

Contents

discovery_mail_notification = {
    :name => :discovered_summary,
    :description => N_('A summary of discovered hosts'),
    :mailer => 'DiscoveredMailer',
    :method => 'discovered_summary',
    :subscription_type => 'report',
}

MailNotification.where(discovery_mail_notification).first_or_create

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
foreman_discovery-9.0.0 db/seeds.d/70_discovery_mail_notification.rb
foreman_discovery-8.0.1 db/seeds.d/70_discovery_mail_notification.rb
foreman_discovery-8.0.0 db/seeds.d/70_discovery_mail_notification.rb
foreman_discovery-7.0.1 db/seeds.d/70_discovery_mail_notification.rb
foreman_discovery-7.0.0 db/seeds.d/70_discovery_mail_notification.rb
foreman_discovery-6.0.0 db/seeds.d/70_discovery_mail_notification.rb
foreman_discovery-5.0.2 db/seeds.d/70_discovery_mail_notification.rb
foreman_discovery-5.0.1 db/seeds.d/70_discovery_mail_notification.rb