Class: Textris::Delivery::Twilio
- Defined in:
- lib/textris/delivery/twilio.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Textris::Delivery::Base
Instance Method Details
#deliver(to) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/textris/delivery/twilio.rb', line 4 def deliver(to) client..create( :from => phone_with_plus(.from_phone), :to => phone_with_plus(to), :body => .content) end |