twilio_phone_verification 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc1cfc1eced06a0b2756f4348410716cf34ae798
|
4
|
+
data.tar.gz: 4d54e589b61f829a6844647c5a5eecb2d45ec6b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2026b8284e5a9c9ef655e353b8e173646d9efde7c9a40e559f48f4dbacc85eb8ecd5aa6e410bbf66c1845409d0c331678b03a840c861c3f35efae97c8dc468c1
|
7
|
+
data.tar.gz: 600251705422f86cdfe52a81350762ec2bc1218c70b1e0a5e28be3d7933381156da11190ecc579f0c52e09265b470437a835d1ad6a86364174bf0285184824be
|
@@ -22,7 +22,7 @@ module TwilioPhoneVerification::Phonable
|
|
22
22
|
end
|
23
23
|
if !phone_confirmation_sent_at || Time.now - phone_confirmation_sent_at > phone_confirmation_delay
|
24
24
|
generate_phone_confirmation_token
|
25
|
-
twilio_res = TwilioService.send_message(phone_confirmation_message, phone)
|
25
|
+
twilio_res = TwilioPhoneVerification::TwilioService.send_message(phone_confirmation_message, phone)
|
26
26
|
unless twilio_res[:success]
|
27
27
|
errors.add(:phone, "Error occured, while sending code. Please try again later.")
|
28
28
|
return false
|