class AnySMS::Backend::NullSender
Sms backend for mocking sending. Purely for usage in tests.
Public Instance Methods
send_sms(_phone, _text, _args = {})
click to toggle source
Method that emulates sms sending. Does nothing.
@param _phone [String] Phone number to send sms (not used in this implementation) @param _text [String] Sms text (not used in this implementation)
# File lib/any_sms/backend/null_sender.rb, line 8 def send_sms(_phone, _text, _args = {}) respond_with_status :success end