class ActiveSMS::Backend::NullSender

Sms backend for mocking sending. Purely for usage in tests.

Public Instance Methods

send_sms(_phone, _text) 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/active_sms/backend/null_sender.rb, line 8
def send_sms(_phone, _text)
  respond_with_status :success
end