Readme.md in mailstro-0.0.4 vs Readme.md in mailstro-0.0.5
- old
+ new
@@ -28,13 +28,23 @@
end
```
## Usage
-To send an email with the template name `welcome` use the following:
+To send a 'welcome' email use the following:
```ruby
-Mailstro.deliver(:welcome, "test@example.com", :greeting => "Hi")
+Mailstro.deliver(:welcome, "shanon@mailstroapp.com", :greeting => "Hi")
+```
+
+To send a 'thank_you' email to a list of 'customers' use the following:
+
+```ruby
+Mailstro.list_subscribe(:customers, 'jack@mailstroapp.com')
+Mailstro.list_subscribe(:customers, 'fred@mailstroapp.com')
+Mailstro.list_unsubscribe(:customers, 'jack@mailstroapp.com')
+
+Mailstro.list_deliver(:customers, :welcome, :greeting => "Hi")
```
## Contributing
1. Fork it