firstmiler_sms_oauth 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -12,10 +12,10 @@ module FirstmilerSmsOauth
|
|
12
12
|
end
|
13
13
|
|
14
14
|
module InstanceMethods
|
15
|
-
def
|
15
|
+
def send_otp_token
|
16
16
|
p content = sms_content
|
17
17
|
begin
|
18
|
-
FirstmilerSmsOauth::FmSms.
|
18
|
+
FirstmilerSmsOauth::FmSms.send(self.phone_no, content)
|
19
19
|
rescue Exception => e
|
20
20
|
delete_user_sms_oauth_tokens
|
21
21
|
p e.to_s
|