class Sms::Method::Kannel
Public Instance Methods
deliver!(sms)
click to toggle source
# File lib/sms/method/kannel.rb, line 4 def deliver!(sms) args = {} args[:from] = sms.from if sms.from sms = ::Kannel::Sms.new(sms.to, sms.text, args) sms.send! end