Class: ActiveSMS::Backend::NullSender
- Defined in:
- lib/active_sms/backend/null_sender.rb
Overview
Sms backend to not send anything. Purely for usage in tests
Instance Method Summary collapse
-
#send_sms(_phone, _text) ⇒ Object
Method that emulates sms sending.
Methods inherited from Base
Constructor Details
This class inherits a constructor from ActiveSMS::Backend::Base
Instance Method Details
#send_sms(_phone, _text) ⇒ Object
Method that emulates sms sending. Does nothing. Called by ‘ActiveSMS.send_sms`
8 9 10 |
# File 'lib/active_sms/backend/null_sender.rb', line 8 def send_sms(_phone, _text) respond_with_status :success end |