Readme.md in mailstro-0.0.8 vs Readme.md in mailstro-0.0.9
- old
+ new
@@ -40,26 +40,10 @@
:coupon_code => 'THANKS01'
}
)
```
-Sending an email to a list of users, with subscription management.
-
-```ruby
-Mailstro.subscribe('shanon@mailstroapp.com', :build_watchers, project_id)
-
-Mailstro.deliver(
- :to => [:build_watchers, project_id]
- :template_name => :build_failure,
- :template_data => {
- :commit => '575ca555c23eca098202'
- }
-)
-
-Mailstro.unsubscribe('shanon@mailstroapp.com', :build_watchers, project_id)
-```
-
## RSpec
Require the mailstro spec helper to automatically enable test mode.
```ruby
@@ -72,21 +56,12 @@
Mailstro.deliver(
:to => 'shanon@mailstroapp.com',
:template_name => :welcome,
)
-Mailstro.should have_delivered(:welcome)
Mailstro.should have_delivered(
:to => 'shanon@mailstroapp.com',
:template_name => :welcome
-)
-
-Mailstro.should have_subscribed('a@a.com', :watchers, 2)
-Mailstro.should have_unsubscribed('a@a.com', :watchers, 2)
-
-Mailstro.should have_delivered(
- :to => [:build_watchers, project_name],
- :template_name => :build_failed
)
```
## Contributing