yx_sdk 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yx_sdk.rb +5 -1
- data/lib/yx_sdk/api.rb +3 -0
- data/lib/yx_sdk/client.rb +3 -3
- data/lib/yx_sdk/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c7a5863c64e247ada042bd5b099f0662a08069c
|
4
|
+
data.tar.gz: e47f589c09c6e1c8bc0f7c9341eaa32630ad718e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c62303c2764561de786413057246ae0138660372af5e9ada4274bdd0fd906e97625dc5d143b177838fc5a6adb80b43ab828208f8d329430c59f82060df27c03
|
7
|
+
data.tar.gz: 7b10c3fb3e74e09f0f9f572af45fa230d66fb01a46e1199cb6bb3e537932ac00eb2365ee1d10cd898898eed3b96cbce828499221c6a5b8dbc6e3bef5991d3715
|
data/lib/yx_sdk.rb
CHANGED
data/lib/yx_sdk/api.rb
ADDED
data/lib/yx_sdk/client.rb
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
require 'digest/md5'
|
2
2
|
module YxSdk
|
3
|
+
|
3
4
|
class Client
|
4
5
|
|
5
6
|
include Api::User
|
6
7
|
|
7
|
-
attr_accessor app_key, app_secret
|
8
|
+
attr_accessor :app_key, :app_secret
|
8
9
|
|
9
|
-
def initialize(app_key, app_secret
|
10
|
+
def initialize(app_key, app_secret)
|
10
11
|
@app_key = app_key
|
11
12
|
@app_secret = app_secret
|
12
|
-
super()
|
13
13
|
end
|
14
14
|
|
15
15
|
# 暴露出:http_get,http_post两个方法,方便第三方开发者扩展未开发的微信API。
|
data/lib/yx_sdk/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yx_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- karidyang
|
@@ -69,6 +69,7 @@ files:
|
|
69
69
|
- bin/console
|
70
70
|
- bin/setup
|
71
71
|
- lib/yx_sdk.rb
|
72
|
+
- lib/yx_sdk/api.rb
|
72
73
|
- lib/yx_sdk/api/user.rb
|
73
74
|
- lib/yx_sdk/client.rb
|
74
75
|
- lib/yx_sdk/config.rb
|