README.md in pushpop-twilio-0.1.0 vs README.md in pushpop-twilio-0.1.1
- old
+ new
@@ -21,10 +21,12 @@
The `twilio` plugin provides a DSL to specify SMS recipient information as well as the message itself.
Here's an example:
``` ruby
+require 'pushpop-twilio'
+
job 'send a text' do
twilio do
to '+18005555555'
body 'Quick, move your car!'
@@ -42,9 +44,11 @@
##### Non-DSL Methods
If you need a lower level interface to Twilio functionality, use the `send_message` method exposed by the plugin directly. Here's an example:
``` ruby
+require 'pushpop-twilio'
+
job 'send a few texts' do
twilio do
['+18005555555','+18005555556'].each do |to_number|
send_message(to_number, 'Quick, move your car!')