Method: Spaceship::Client#sms_automatically_sent
- Defined in:
- spaceship/lib/spaceship/two_step_or_factor_client.rb
#sms_automatically_sent(response) ⇒ Object
see ‘sms_fallback` + account has only one trusted number for receiving an sms
230 231 232 |
# File 'spaceship/lib/spaceship/two_step_or_factor_client.rb', line 230 def sms_automatically_sent(response) (response.body["trustedPhoneNumbers"] || []).count == 1 && sms_fallback(response) end |