Sha256: 5253290b63ee0323d320d8ea71a0f28cf350d0d7dc7b7a9763b8df6955be7411

Contents?: true

Size: 473 Bytes

Versions: 62

Compression:

Stored size: 473 Bytes

Contents

module Workarea
  class EmailContentSeeds
    def perform
      puts 'Adding content emails...'
      Content::Email.create!(type: 'order_confirmation', content: 'Thank you for shopping with us!')
      Content::Email.create!(type: 'order_reminder', content: "You didn't finish checking out!")
      Content::Email.create!(type: 'account_creation', content: 'Welcome!')
      Content::Email.create!(type: 'password_reset', content: 'Reset Your Password')
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-core-3.4.27 app/seeds/workarea/email_content_seeds.rb
workarea-core-3.5.4 app/seeds/workarea/email_content_seeds.rb
workarea-core-3.4.26 app/seeds/workarea/email_content_seeds.rb
workarea-core-3.5.3 app/seeds/workarea/email_content_seeds.rb
workarea-core-3.4.25 app/seeds/workarea/email_content_seeds.rb
workarea-core-3.5.2 app/seeds/workarea/email_content_seeds.rb
workarea-core-3.4.24 app/seeds/workarea/email_content_seeds.rb
workarea-core-3.5.1 app/seeds/workarea/email_content_seeds.rb
workarea-core-3.4.23 app/seeds/workarea/email_content_seeds.rb
workarea-core-3.4.22 app/seeds/workarea/email_content_seeds.rb
workarea-core-3.5.0 app/seeds/workarea/email_content_seeds.rb
workarea-core-3.4.21 app/seeds/workarea/email_content_seeds.rb
workarea-core-3.5.0.beta.1 app/seeds/workarea/email_content_seeds.rb
workarea-core-3.4.20 app/seeds/workarea/email_content_seeds.rb
workarea-core-3.4.19 app/seeds/workarea/email_content_seeds.rb
workarea-core-3.4.18 app/seeds/workarea/email_content_seeds.rb
workarea-core-3.4.17 app/seeds/workarea/email_content_seeds.rb
workarea-core-3.4.16 app/seeds/workarea/email_content_seeds.rb
workarea-core-3.4.15 app/seeds/workarea/email_content_seeds.rb
workarea-core-3.4.14 app/seeds/workarea/email_content_seeds.rb