catarse_paypal_express 2.2.2 → 2.2.3

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: e32edadcb0632c3fb8df93ef94b22de3f86e29c9
4
- data.tar.gz: 2f8216ff7773b2fc95adbcb376edd09eaebc441e
3
+ metadata.gz: a31de0b63be7f6faedf857fc0b2491ac77264ff9
4
+ data.tar.gz: 33bbaaf426ada236d335bfe2d17f913e630cfdf5
5
5
  SHA512:
6
- metadata.gz: 2e8fb84cd0db2185f5de230ee58856ddc5b7eae63265bf9af67efb64210291189c044ef93720f41fb06e59d487c134a4ab8920847e3025afcee8f8df4e2be440
7
- data.tar.gz: 8ae78e4dd7605215098cafd10279d06bd9a4ebc8c89978ae13850735a5544adae9a0c90bce0669cdca22ffe1d5789f6c6a072c8faf623c79954c9f494a780bce
6
+ metadata.gz: 3d3a767dddb66db1550f21ceec2bfd886a430e323a0346ac1afee0555a8824f95a5b97c8d12a4aeef309fa5635ddc4f5a0681b77e68172a68fa1d0d0e43a251f
7
+ data.tar.gz: b59fd7e2afdb3c5d1bbdf291b03b6848ab24cec49048a3c2f961d596ebf4b54e8ab40cc492298891c101d0161708d545cd14130300b9756a4347c800b383d8c8
@@ -1,29 +1,25 @@
1
- begin
2
- module CatarsePaypalExpress
3
- class PaymentEngine < PaymentEngines::Interface
1
+ module CatarsePaypalExpress
2
+ class PaymentEngine
4
3
 
5
- def name
6
- 'PayPal'
7
- end
8
-
9
- def review_path contribution
10
- CatarsePaypalExpress::Engine.routes.url_helpers.review_paypal_express_path(contribution)
11
- end
4
+ def name
5
+ 'PayPal'
6
+ end
12
7
 
13
- def can_do_refund?
14
- true
15
- end
8
+ def review_path contribution
9
+ CatarsePaypalExpress::Engine.routes.url_helpers.review_paypal_express_path(contribution)
10
+ end
16
11
 
17
- def direct_refund contribution
18
- CatarsePaypalExpress::ContributionActions.new(contribution).refund
19
- end
12
+ def can_do_refund?
13
+ true
14
+ end
20
15
 
21
- def locale
22
- 'en'
23
- end
16
+ def direct_refund contribution
17
+ CatarsePaypalExpress::ContributionActions.new(contribution).refund
18
+ end
24
19
 
20
+ def locale
21
+ 'en'
25
22
  end
23
+
26
24
  end
27
- rescue Exception => e
28
- puts "Error while use payment engine interface: #{e}"
29
25
  end
@@ -1,3 +1,3 @@
1
1
  module CatarsePaypalExpress
2
- VERSION = "2.2.2"
2
+ VERSION = "2.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: catarse_paypal_express
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antônio Roberto Silva