pingpp 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pingpp.rb +1 -3
- data/lib/pingpp/red_envelope.rb +11 -0
- data/lib/pingpp/version.rb +1 -1
- metadata +3 -3
- data/lib/pingpp/channel.rb +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fe47cb3d9656a06cd75af463fa11a40c38b1aaf
|
4
|
+
data.tar.gz: 17204a1389c54cd00fb3aebf7216a660192cd777
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 757513d00c5be6b187f0172c97f93e0425ee578d8ebd7e014e630f6b6f6e94a58b3e6d0897ccf6cd6998a816fb1913f4c6f321b3aa2d69404a95b9d11df1fc1c
|
7
|
+
data.tar.gz: 9f08c412831f8c9e2041bc4fb85e7fbbb90fc576c3ab4e3e8e727ef407075c409a976ded86381149ce75e56cd00f6427cbaa394f37193d297586e849d5e1d7f4
|
data/lib/pingpp.rb
CHANGED
@@ -9,9 +9,6 @@ require 'json'
|
|
9
9
|
# Version
|
10
10
|
require 'pingpp/version'
|
11
11
|
|
12
|
-
# Channel constants
|
13
|
-
require 'pingpp/channel'
|
14
|
-
|
15
12
|
# API operations
|
16
13
|
require 'pingpp/api_operations/create'
|
17
14
|
require 'pingpp/api_operations/update'
|
@@ -27,6 +24,7 @@ require 'pingpp/list_object'
|
|
27
24
|
require 'pingpp/certificate_blacklist'
|
28
25
|
require 'pingpp/charge'
|
29
26
|
require 'pingpp/refund'
|
27
|
+
require 'pingpp/red_envelope'
|
30
28
|
|
31
29
|
# Errors
|
32
30
|
require 'pingpp/errors/pingpp_error'
|
data/lib/pingpp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pingpp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Xufeng Weng
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -142,7 +142,6 @@ files:
|
|
142
142
|
- lib/pingpp/api_operations/update.rb
|
143
143
|
- lib/pingpp/api_resource.rb
|
144
144
|
- lib/pingpp/certificate_blacklist.rb
|
145
|
-
- lib/pingpp/channel.rb
|
146
145
|
- lib/pingpp/charge.rb
|
147
146
|
- lib/pingpp/errors/api_connection_error.rb
|
148
147
|
- lib/pingpp/errors/api_error.rb
|
@@ -151,6 +150,7 @@ files:
|
|
151
150
|
- lib/pingpp/errors/pingpp_error.rb
|
152
151
|
- lib/pingpp/list_object.rb
|
153
152
|
- lib/pingpp/pingpp_object.rb
|
153
|
+
- lib/pingpp/red_envelope.rb
|
154
154
|
- lib/pingpp/refund.rb
|
155
155
|
- lib/pingpp/singleton_api_resource.rb
|
156
156
|
- lib/pingpp/util.rb
|
data/lib/pingpp/channel.rb
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
module Pingpp
|
2
|
-
class Channel
|
3
|
-
ALIPAY = "alipay"
|
4
|
-
WECHAT = "wx"
|
5
|
-
WX = "wx" # Alias of WECHAT
|
6
|
-
UPMP = "upmp"
|
7
|
-
ALIPAY_WAP = "alipay_wap"
|
8
|
-
UPMP_WAP = "upmp_wap"
|
9
|
-
WX_PUB = "wx_pub"
|
10
|
-
BFB = "bfb"
|
11
|
-
BFB_WAP = "bfb_wap"
|
12
|
-
UPACP = "upacp"
|
13
|
-
UPACP_WAP = "upacp_wap"
|
14
|
-
end
|
15
|
-
end
|