webpay 3.2.1 → 3.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/webpay.rb +1 -1
- data/lib/webpay/data_types.rb +19 -1
- data/webpay.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f621f9ffa54470ac55669273b03993e653fbf43
|
4
|
+
data.tar.gz: 54f9faa7ca6431f08a5c185c379c27038a4f38a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e79199cccb030c29b8a07b1dc50c2a79b8089d4e73b1ff5a5bf29d043d2b0fbf29629dbbf2186a4c920852474c7a601b18f385b0fbcf728377a7815f8b689101
|
7
|
+
data.tar.gz: fd1f5f13d4fa2dde32059c6cf57e8573189520c726839c8a48879a86657d463af374634aea146b9de517f17b089ad199dd079417b025d60f112e8c31210a5af6
|
data/lib/webpay.rb
CHANGED
data/lib/webpay/data_types.rb
CHANGED
@@ -676,7 +676,7 @@ class WebPay
|
|
676
676
|
attr_reader :attributes
|
677
677
|
|
678
678
|
def self.fields
|
679
|
-
['count', 'offset', 'created', 'customer', 'recursion', 'shop']
|
679
|
+
['count', 'offset', 'created', 'customer', 'recursion', 'shop', 'captured', 'paid']
|
680
680
|
end
|
681
681
|
|
682
682
|
|
@@ -710,6 +710,8 @@ class WebPay
|
|
710
710
|
copy_if_exists(@attributes, result, 'customer', 'query_params');
|
711
711
|
copy_if_exists(@attributes, result, 'recursion', 'query_params');
|
712
712
|
copy_if_exists(@attributes, result, 'shop', 'query_params');
|
713
|
+
copy_if_exists(@attributes, result, 'captured', 'query_params');
|
714
|
+
copy_if_exists(@attributes, result, 'paid', 'query_params');
|
713
715
|
return result
|
714
716
|
end
|
715
717
|
|
@@ -764,6 +766,22 @@ class WebPay
|
|
764
766
|
attributes['shop'] = value
|
765
767
|
end
|
766
768
|
|
769
|
+
def captured
|
770
|
+
attributes['captured']
|
771
|
+
end
|
772
|
+
|
773
|
+
def captured=(value)
|
774
|
+
attributes['captured'] = value
|
775
|
+
end
|
776
|
+
|
777
|
+
def paid
|
778
|
+
attributes['paid']
|
779
|
+
end
|
780
|
+
|
781
|
+
def paid=(value)
|
782
|
+
attributes['paid'] = value
|
783
|
+
end
|
784
|
+
|
767
785
|
end
|
768
786
|
class ChargeResponseList < Entity
|
769
787
|
attr_reader :attributes
|
data/webpay.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = 'webpay'
|
5
|
-
spec.version = '3.2.
|
5
|
+
spec.version = '3.2.2'
|
6
6
|
spec.authors = ['webpay', 'tomykaira']
|
7
7
|
spec.email = ['administrators@webpay.jp', 'tomykaira@webpay.jp']
|
8
8
|
spec.description = 'WebPay is payment gateway service in Japan. see also https://webpay.jp/'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webpay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- webpay
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-12-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|