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.
@@ -44,7 +44,7 @@ module FirstmilerSmsOauth
44
44
  raise "Sms Template content should not be blank."
45
45
  end
46
46
  class << self
47
- def send_otp(number, content)
47
+ def send(number, content)
48
48
  new.send(number, content)
49
49
  end
50
50
  end
@@ -12,10 +12,10 @@ module FirstmilerSmsOauth
12
12
  end
13
13
 
14
14
  module InstanceMethods
15
- def send_otp
15
+ def send_otp_token
16
16
  p content = sms_content
17
17
  begin
18
- FirstmilerSmsOauth::FmSms.send_otp(self.phone_no, content)
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
@@ -1,3 +1,3 @@
1
1
  module FirstmilerSmsOauth
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: firstmiler_sms_oauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: