aliyun_sms_ruby 0.0.3 → 0.0.4

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: 7fd197eeee2199a24d181857c325458664f00da977c3613064eb6804384a6543
4
- data.tar.gz: f15bea60e663b7c6410f8d8423d11ae5c4ca4f80ac6aa24e3931821b0464c3a7
3
+ metadata.gz: c2bf023d7df660f9678d2fd51c2e7541021b1a17b263da9371a183fa55d25b54
4
+ data.tar.gz: 72f2a77b85858428b17c3c5b5ce8b1f3ddf1f6b27b9706eb4fcd0bb7e577fa41
5
5
  SHA512:
6
- metadata.gz: f0f26a9128ac5db19534fabd4abd5ad91b0a842ee826964aa2cc2912dea010e32ed395132a59361c3aafced6c3ee05d900bb0dc09c7238ac5c6c76767f961d1d
7
- data.tar.gz: a7cb468c7dde07529de0579272ee1cc8dec9a54a7069e9c9ff257eb0cdbbc2c50d973a818289d2a281991ba5dd268bfe6e1209ccb1c434f8606b171f1d745b4c
6
+ metadata.gz: f0f7689416bb4a6d54c3d058a245df11eba2d1261b032f3254c376bd3dcddf67d56f6782ed1bb2c87279ff7158b8bcedb4cd720b99d07e4e53c30910e5835af0
7
+ data.tar.gz: 6c4df7f2896d189e6b306a92ef6ef73a612dde51d3e3a5ff38d40c9610c9674b79c0ff1abc5a58c8928dd543e21745d38d836408cb67fb1f80d2dbe452934a41
@@ -17,6 +17,7 @@ module AliyunSmsRuby
17
17
  if response != 200 && defined? Rails
18
18
  Rails.logger.error(response.body)
19
19
  end
20
+ response
20
21
  end
21
22
 
22
23
  private
@@ -1,3 +1,3 @@
1
1
  module AliyunSmsRuby
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -17,7 +17,7 @@ module AliyunSmsRuby
17
17
  end
18
18
 
19
19
  def send_message(mobile, template_code, template_param, optional_params = nil)
20
- request = AliyunSmsRuby::Request::MessageRequest.new(mobile, template_code, template_param, optional_params = nil)
20
+ request = AliyunSmsRuby::Request::MessageRequest.new(mobile, template_code, template_param, optional_params)
21
21
  client.send_request request
22
22
  end
23
23
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aliyun_sms_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zkun
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-16 00:00:00.000000000 Z
11
+ date: 2021-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: uuid