catarse_pagarme 0.0.1 → 0.0.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48f66f6f9bfa9f45d26efacf227457c81910d7af
|
4
|
+
data.tar.gz: cc2cd6fc2fb50b2c933c51b426fb56d13ca9b31b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5b94a9a12c9bbba69be8ea2a9b07e5eac0818ad1c01c1e02c5aac2d003fd080c4b410f60598910a41f780f94ddb0b2eb97d4984de3a1224751558c26400ea66
|
7
|
+
data.tar.gz: d5b1977e553a5778e5df430f767999b7a5e484aaa775ad72ee9ba6a79ecf53cc387cc064761c2f6164302c6c1eed38193b1a69b513fa1b3575ca17e36a45d3a3
|
@@ -63,9 +63,9 @@ module CatarsePagarme
|
|
63
63
|
|
64
64
|
def get_fee(payment_method)
|
65
65
|
if payment_method == PaymentType::SLIP
|
66
|
-
CatarsePagarme.configuration.slip_tax
|
66
|
+
CatarsePagarme.configuration.slip_tax.to_f
|
67
67
|
else
|
68
|
-
(self.contribution.value * CatarsePagarme.configuration.credit_card_tax.to_f) + CatarsePagarme.configuration.credit_card_cents_fee
|
68
|
+
(self.contribution.value * CatarsePagarme.configuration.credit_card_tax.to_f) + CatarsePagarme.configuration.credit_card_cents_fee.to_f
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: catarse_pagarme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Antônio Roberto Silva
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-09-
|
12
|
+
date: 2014-09-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|