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.
- checksums.yaml +4 -4
- data/lib/dc_tunnel.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6aafcdbdba878443ada8fa46caa6487b02d872a288a6a512dc06e7e52c6ea2bf
|
4
|
+
data.tar.gz: d7bf25e2ea4ce7fb11c9311e914e22163dc55763337bfbc7b7eba6faa870a187
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|