catarse_pagarme 1.4.2 → 1.4.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 247e7ccde85880c5177870379d45b650ab4b9a71
|
4
|
+
data.tar.gz: f97de2d44fc531af988cd997893be857dc594844
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21e68ecb516a22d8c144c8a459c05f9fdf536334143584e4555adc6d3202c96fc4407c723302b80f220ed0d644420e0ca2254ab8747817d6aa38b0fe7595e142
|
7
|
+
data.tar.gz: c4f9b6bb5e3d9b20586a48412c6864d94d9981c185292b5d19bf990b9edf39e7a1e9f86b2b20bb6fe6f036ef0102c94976dcd003b0f780d4d30d5f0f0cd07c11
|
@@ -20,6 +20,15 @@ module CatarsePagarme
|
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
23
|
+
def fill_acquirer_data
|
24
|
+
if !contribution.acquirer_name.present? || !contribution.acquirer_tid.present?
|
25
|
+
contribution.update_attributes({
|
26
|
+
acquirer_name: transaction.acquirer_name,
|
27
|
+
acquirer_tid: transaction.acquirer_tid
|
28
|
+
})
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
23
32
|
def refund
|
24
33
|
if contribution.is_credit_card?
|
25
34
|
transaction.refund
|
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: 1.4.
|
4
|
+
version: 1.4.3
|
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-11-
|
12
|
+
date: 2014-11-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|