dc_tunnel 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dc_tunnel.rb +4 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2733e282c05ee8565fd8f3ecc16885d3eb3a305efbec81dc6ca0585722bd62d0
4
- data.tar.gz: c371902ff187c786ce7dccf6ba203b4ec74ddab472abf7165289ca7dacfbcd9f
3
+ metadata.gz: 6aafcdbdba878443ada8fa46caa6487b02d872a288a6a512dc06e7e52c6ea2bf
4
+ data.tar.gz: d7bf25e2ea4ce7fb11c9311e914e22163dc55763337bfbc7b7eba6faa870a187
5
5
  SHA512:
6
- metadata.gz: ef172b66de5888943da6ffc8e6de7f1f2b6203846d52b111272caeda8886c20901a9404953324530d3dfddd95966ed0bcec95420589c45c3c408d9976c1ab108
7
- data.tar.gz: 045580fecf869c8e40fad102c7bea4981c9faa5923fce00498177cd71315b331cea5d702814106139a61371c940b6c6183ebedeb2265b0999201471a0f52717e
6
+ metadata.gz: 0fec144f9dfb7066649966c835d3c02c866aec898c4a812c1431f4c3e841739be81a0e100f332cbbece0fda9750c764eb0bca91228e75c399820eb14df8619e7
7
+ data.tar.gz: c4f1c17d2b044fb9922565cfe9f0ac0551815e11c0b4a6bfdc9fbc92da11dddf01ffd00947916cb6640d13f23d8c1f321acda5f6116bbdb6bf61b288a3d91dfb
data/lib/dc_tunnel.rb CHANGED
@@ -75,6 +75,10 @@ class DcTunnel
75
75
  self.http_get self.sso_path("/users", params)
76
76
  end
77
77
 
78
+ def get_validate_code(params = {})
79
+ self.http_get self.sso_path('/users/get_validate_code',params)
80
+ end
81
+
78
82
  def login(phone,password)
79
83
  self.http_post self.sso_path('/users/login'),{phone:phone,password:password}
80
84
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dc_tunnel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Qxchen