Module: Textosterone

Defined in:
lib/textosterone.rb,
lib/textosterone/version.rb,
lib/textosterone/providers.rb

Constant Summary collapse

VERSION =
"0.0.1"
PROVIDERS =
[
 '@txt.att.net',
 '@sms.alltelwireless.com',
 '@messaging.nextel.com' ,
 '@messaging.sprintpcs.com',
 '@tmomail.net',
 '@email.uscc.net',
 '@vtext.com' ,
 '@vmobl.com' 
]

Class Method Summary collapse

Class Method Details

.text(options) ⇒ Object



8
9
10
11
# File 'lib/textosterone.rb', line 8

def self.text(options)
  options[:to] = recipients(options[:to])
  Pony.mail(options)
end