sms_traffic_sdk 0.0.5 → 0.0.6

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
  SHA256:
3
- metadata.gz: e0bcb647f2676acb5a33310c9d5275071abddc53acaf12967b097b6b1ff2102e
4
- data.tar.gz: 95803398f4a413625a5e434e2a875f7568faa99c16734addc9353afa49a023fe
3
+ metadata.gz: 0e85b3c32d98346ebf1fb44dfcbabe91026b574f4d840093266a1940130f31ed
4
+ data.tar.gz: 0dad2e6b0a10cdc53f6e9a6de8eeeca8cc51d32138256df6f38cf28a59dd73a2
5
5
  SHA512:
6
- metadata.gz: 11caf5807c9951b1ed43ff966e00a1e95f0b11cb876849768e6c7d8c98aaff23c747b3c370c616a114059ca3efa0b5f6c692fa98bc8401c208cab5963065121d
7
- data.tar.gz: 9c9b229a2eb7479d4dd76cd132d178025a701f92bfeaf19ab9660aa7c394447b1592120907768d91bfa489781f17721c7105c0273471792d2c807ed117f93976
6
+ metadata.gz: 5160c86f9f2830a2be3053c54388ddc4a74873540175a84035c3e1c1568a257d0b51a4c59b2f2d0ee89fbb59339e70e8ff48d9f2368d3745f40881ca7bd9a06d
7
+ data.tar.gz: 760bc18cd52aea419fd12503b889799ebee7e7c8b4fb3688e0052eef2689f389725d3f7022b76e322cb2daea1c42afb996000ce1631d3c49da1b928e4f54ff1b
@@ -26,7 +26,7 @@ module SmsTraffic
26
26
 
27
27
  if reply.ok?
28
28
  @status = 'sent'
29
- @id = reply.sms_id(phone)
29
+ @id = reply.sms_id || reply.sms_ids.values.first
30
30
  true
31
31
  else
32
32
  @errors << (reply.error_description || 'Sms has been not enqueued')
@@ -1,3 +1,3 @@
1
1
  module SmsTraffic
2
- VERSION = '0.0.5'.freeze
2
+ VERSION = '0.0.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sms_traffic_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Rybolovlev