Emailvision ruby on rails library
Emailvision4rails is a library used to manage messages and campaigns or more simply newsletters from your rails application.
Install
Without bundler
$ gem install emailvision4rails
With bundler
Past this line to your Gemfile
gem 'emailvision4rails'
Setup
$ rails generate emailvision4rails:setup
This will create the following config file : config/emailvision.yml
Generator
$ rails generate newsletter standard daily weekly
create app/newsletters/standard_newsletter.rb
create app/views/standard_newsletter/daily.html.emv
create app/views/standard_newsletter/daily.text.emv
create app/views/standard_newsletter/weekly.html.emv
create app/views/standard_newsletter/weekly.text.emv
Publication
StandardNewsletter.daily.publish
Preview
StandardNewsletter.daily.to_html # or to_text
More infos
If you want to dig deeper, Go see our wiki pages.
Meta
This project uses Semantic Versioning.
Author
Bastien Gysler :: bastiengysler.com :: @basgys