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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78307f5c91271a987bbaa3b55a37e5c1772a07d3
4
- data.tar.gz: 247c7932211d2aca377458331f7308a8eff46586
3
+ metadata.gz: 3f621f9ffa54470ac55669273b03993e653fbf43
4
+ data.tar.gz: 54f9faa7ca6431f08a5c185c379c27038a4f38a8
5
5
  SHA512:
6
- metadata.gz: d84730f96e52fef12aee659f3db2e86c3dfe30643779eb377d3d421305138f18c67965fc881a12f8ec8f1d19dad0bca976dc1747dbdbfb08c7225f65a5edb034
7
- data.tar.gz: 95af13dfe005a73359470a7a6c06808baf32b6f290b74157c84863b409995fb91c5df9c736faf7a6f90717febfee39ddc15abee1803dad7cf8a30cac6315b076
6
+ metadata.gz: e79199cccb030c29b8a07b1dc50c2a79b8089d4e73b1ff5a5bf29d043d2b0fbf29629dbbf2186a4c920852474c7a601b18f385b0fbcf728377a7815f8b689101
7
+ data.tar.gz: fd1f5f13d4fa2dde32059c6cf57e8573189520c726839c8a48879a86657d463af374634aea146b9de517f17b089ad199dd079417b025d60f112e8c31210a5af6
@@ -30,7 +30,7 @@ class WebPay
30
30
 
31
31
  "Accept" => "application/json",
32
32
 
33
- "User-Agent" => "Apipa-webpay/3.2.1 ruby",
33
+ "User-Agent" => "Apipa-webpay/3.2.2 ruby",
34
34
 
35
35
  "Accept-Language" => "en",
36
36
  }
@@ -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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'webpay'
5
- spec.version = '3.2.1'
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.1
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-11-22 00:00:00.000000000 Z
12
+ date: 2014-12-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday