alidayu 1.0.0 → 1.1.0

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: 2631a17b2ad2ae52b9ca2da48b3a9495835ec2b4
4
- data.tar.gz: 2fe7b8504892c7bd2d4328dbbe28dd0ebaee9d90
3
+ metadata.gz: bfa17c515145110c058351101d5058a99b7442b2
4
+ data.tar.gz: cd2e09f67836e33ee72b54bf91bcccf0231dfcb9
5
5
  SHA512:
6
- metadata.gz: db2fbdb88b24fa20384af9d99283f2e33f8ba2296dc17fdc2688835460a69137c776b1c3530d6a6a793f032b6737054e967ff43acfd01be643cd76c4f4d1e861
7
- data.tar.gz: ac41bbf5a7c11c757243f0bc8a2cc041fca8035a2c0d1673f56cc513cbd247dfc298717cf93a199a89b3b875b689ebeb72d6e7153551f17b402ff47f250a8ed3
6
+ metadata.gz: bd7c521a506d3c8d322bd6ceac183baeb1a9668682b0014ea540d1a3a755090ba80dc87de4f9a754dcef80f7e36c9bde27902570997336f5a6c4486f59bf065d
7
+ data.tar.gz: 3ecbc2d663d0d192c0d8e85f3350dfb956b1c3f78f5bcb6d2a5864c1af2666c0747c102cfd34065589e0da24fcaea77d42052dbbd2583e4955c596020d5d3c82
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- alidayu (1.0.0)
4
+ alidayu (1.1.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -23,7 +23,8 @@ Or install it yourself as:
23
23
  Try something like below:
24
24
 
25
25
  ```ruby
26
- bigfish = Alibaba::Bigfish.new('your_key','your_secret', false) # the third params is config for using https default: true
26
+ bigfish = Alibaba::Bigfish.new('your_key','your_secret', false)
27
+ # the third params is a switch for using https or http, default value is https
27
28
 
28
29
  #send sms params
29
30
  params = {rec_num: '110', sms_free_sign_name:'活动验证',sms_template_code: 'SMS_4775414', sms_param: {code:'123456', product:'药药灵',item:'吃药'}}
@@ -36,7 +37,7 @@ bigfish.singlecall_tts params
36
37
 
37
38
  NOTICE:
38
39
  rec_num, sms_free_sign_name,sms_template_code,sms_param are required.
39
- And, if you have any question. Send me a pr, or read the f**king document.
40
+ And, if you have any question. Send me a pr, or read the source code.
40
41
 
41
42
  ## Development
42
43
 
@@ -4,10 +4,6 @@ require 'json'
4
4
 
5
5
  module Alibaba
6
6
  class Bigfish
7
-
8
- # http:
9
- # https:
10
-
11
7
  def initialize(key, secret, https=true)
12
8
  @key = key
13
9
  @secret = secret
@@ -37,7 +33,6 @@ module Alibaba
37
33
  return res.body
38
34
  end
39
35
 
40
-
41
36
  def singlecall_tts(params={})
42
37
  required_params = {app_key: @key,
43
38
  format: 'json',
@@ -1,3 +1,3 @@
1
1
  module Alidayu
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alidayu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - banana