README.md in tuktuk-0.1.3 vs README.md in tuktuk-0.2.0
- old
+ new
@@ -17,23 +17,36 @@
To enable DKIM:
````
require 'tuktuk'
- Tuktuk.dkim = {
+ Tuktuk.options = {
+ :dkim => {
:domain => 'yoursite.com',
:selector => 'mailer',
:private_key => IO.read('ssl/yoursite.com.key')
+ }
}
email = {
:from => 'you@username.com',
:to => 'user@yoursite.com',
:body => 'Hello there',
:subject => 'Hiya'
}
Tuktuk.deliver(email)
+````
+
+Additional options:
+
+````
+ Tuktuk.options = {
+ :log_to => 'log/mailer.log',
+ :max_attempts => 5,
+ :retry_sleep => 10,
+ :dkim => { ... }
+ }
````
That's all.
--