Class: AnySMS::Backend::NullSender
- Defined in:
- lib/any_sms/backend/null_sender.rb
Overview
Sms backend for mocking sending. Purely for usage in tests.
Instance Method Summary collapse
-
#send_sms(_phone, _text, _args = {}) ⇒ Object
Method that emulates sms sending.
Methods inherited from Base
Constructor Details
This class inherits a constructor from AnySMS::Backend::Base
Instance Method Details
#send_sms(_phone, _text, _args = {}) ⇒ Object
Method that emulates sms sending. Does nothing.
8 9 10 |
# File 'lib/any_sms/backend/null_sender.rb', line 8 def send_sms(_phone, _text, _args = {}) respond_with_status :success end |