catarse_pagarme 2.14.8 → 2.14.9

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
  SHA256:
3
- metadata.gz: 9c7a130abf41fe28927f478db0540575518d669f7051f5123006d937a8be6116
4
- data.tar.gz: f1caa2cb72a6a5c9669117d49296386d7d3d38ae60390a0480ea85f5b35b49f4
3
+ metadata.gz: d6bd900c027efc0f4cfd1f961fb9d8e17b8691e1a8243128cdc7fd38d282ee3b
4
+ data.tar.gz: a37990ef03118b2ad8891253b2f9391bd9a38932c3538e14adf2dd976ea507b1
5
5
  SHA512:
6
- metadata.gz: ae0fd929cd60d6bf210c3f9590b98ab332db6aebd9459ef8ea1a182a0cb6686745b52593d9de3b9e2a1dfcbca2bc19a1b6c25ea3c08a5a17a45f359133577de2
7
- data.tar.gz: ee00a8144f141c8f96b9d49693f80705c0627288d0e9aa59f4e3bdfde1cb8f7ad8acd5b8688ec374d668208b1807fe1d294360b989e82a54b68dee4c5812cd2a
6
+ metadata.gz: 70e99bae700e255f733c826db8c105483628035a5ab5615f36655cce233dc917ba3614f1520437ef3a13d67618bd83aac31c5f04321238a86e72b08a26e96bbb
7
+ data.tar.gz: f3b5079d21cb9ad5c344460255a362c550bc2da80534a711662515e9951c54a5d79cbc026fd03cd3735496034bf3e77abfb62b8b2ab94286ddb9b673487d4938
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- catarse_pagarme (2.14.8)
4
+ catarse_pagarme (2.14.9)
5
5
  countries (= 3.0.0)
6
6
  konduto-ruby (= 2.1.0)
7
7
  pagarme (= 2.1.4)
@@ -1,6 +1,6 @@
1
1
  module CatarsePagarme
2
2
  class PaymentType
3
- SLIP = 'boleto'
4
- CREDIT_CARD = 'credit_card'
3
+ SLIP = 'BoletoBancario'
4
+ CREDIT_CARD = 'CartaoDeCredito'
5
5
  end
6
6
  end
@@ -9,7 +9,7 @@ module CatarsePagarme
9
9
  payment.errors.messages.values.flatten.to_sentence)
10
10
  end
11
11
 
12
- self.transaction = PagarMe::Transaction.new(self.attributes)
12
+ self.transaction = PagarMe::Transaction.new(self.attributes.merge(payment_method: 'boleto'))
13
13
  self.transaction.charge
14
14
 
15
15
  change_payment_state
@@ -1,3 +1,3 @@
1
1
  module CatarsePagarme
2
- VERSION = "2.14.8"
2
+ VERSION = "2.14.9"
3
3
  end
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: 2.14.8
4
+ version: 2.14.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antônio Roberto Silva