catarse_moip 2.3.3 → 2.3.4

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: cb1876ecc2bd7b8805a62f4be47396f67b10e931
4
- data.tar.gz: 2f5ffd62a252d33250597c5391ecf9a7fc40f90b
3
+ metadata.gz: 967268691ff2c692f1d848acab880f5de7eeb3d6
4
+ data.tar.gz: 9f4f592a6c84ebb7876e6fb63a27e5a264b8af1b
5
5
  SHA512:
6
- metadata.gz: 4bd5bd33687a318b08ffe2ebffbf429c4fd4c78e4bae14804babef9f72d2de45262e77ea308c90e02908da2276002bd83c6b99dfc80f04c1d97e16a29666b645
7
- data.tar.gz: 98993d82cdd35ef14918fea1d69fb0e755c6c0044e35acea844c9ce31514ec2380df6df15c5516f3a72ad7a879ec47d4c3771aad374f9c3fea36d74e3e91f102
6
+ metadata.gz: 13ff965abd7d0406e32c44cba03b85cb2dd7286a0c358194eacbd08ac9b98f6d4de06c8e08da93c7fa4b2b622a641eca6b15c6e8b8b10b1ef4c56de224baad4a
7
+ data.tar.gz: bf15b245833afd9e5c98831a1a28fa65bf8020c61680b7e75a5b91bcbec5c520440505544610948a1c5484611d9b2d1b517d120c492120dd8caf8e2dc8d726ce
@@ -10,7 +10,7 @@ GIT
10
10
  PATH
11
11
  remote: .
12
12
  specs:
13
- catarse_moip (2.3.3)
13
+ catarse_moip (2.3.4)
14
14
  enumerate_it
15
15
  libxml-ruby (~> 2.6.0)
16
16
  rails (~> 4.0)
@@ -1,21 +1,25 @@
1
- begin
2
- module CatarseMoip
3
- class PaymentEngine < PaymentEngines::Interface
1
+ module CatarseMoip
2
+ class PaymentEngine
4
3
 
5
- def name
6
- 'MoIP'
7
- end
4
+ def name
5
+ 'MoIP'
6
+ end
7
+
8
+ def review_path contribution
9
+ CatarseMoip::Engine.routes.url_helpers.review_moip_path(contribution)
10
+ end
8
11
 
9
- def review_path contribution
10
- CatarseMoip::Engine.routes.url_helpers.review_moip_path(contribution)
11
- end
12
+ def locale
13
+ 'pt'
14
+ end
12
15
 
13
- def locale
14
- 'pt'
15
- end
16
+ def can_do_refund?
17
+ false
18
+ end
16
19
 
20
+ def direct_refund
21
+ false
17
22
  end
23
+
18
24
  end
19
- rescue Exception => e
20
- puts "Error while use payment engine interface: #{e}"
21
25
  end
@@ -1,3 +1,3 @@
1
1
  module CatarseMoip
2
- VERSION = "2.3.3"
2
+ VERSION = "2.3.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: catarse_moip
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.3
4
+ version: 2.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antônio Roberto Silva