Class: Twilio::REST::Client::Messages
- Inherits:
-
Object
- Object
- Twilio::REST::Client::Messages
- Includes:
- TextSpec::Helpers
- Defined in:
- lib/text_spec/drivers/twilio-ruby.rb
Instance Method Summary collapse
Methods included from TextSpec::Helpers
Instance Method Details
#create(opts = {}) ⇒ Object
9 10 11 12 13 |
# File 'lib/text_spec/drivers/twilio-ruby.rb', line 9 def create(opts={}) to = opts[:to] body = opts[:body] Message.new(:number => to, :body => body) end |