Class: Devise::SmsSender
- Inherits:
-
Object
- Object
- Devise::SmsSender
- Defined in:
- lib/generators/templates/lib/sms_sender.rb
Class Method Summary collapse
Class Method Details
.send_sms(phone, message) ⇒ Object
2 3 4 5 |
# File 'lib/generators/templates/lib/sms_sender.rb', line 2 def self.send_sms(phone,) sms = Moonshado::Sms.new(phone, ) return sms.deliver_sms[:stat] end |