Sha256: 38f2e75b190b0ead6e5ab130020b39b0295022afaafe4236497e6f2fb69fdfd2
Contents?: true
Size: 367 Bytes
Versions: 2
Compression:
Stored size: 367 Bytes
Contents
module GmxCheckout module Models class Transaction < Model with = -> (hash) { hash&.fetch('value', nil) } property :credit_card_mask, from: 'venda.cartaoCredito.numeroMask' property :subscription_code, from: 'recorrencia.idRecorrencia', with: with property :subscription_status, from: 'recorrencia.status', with: with end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gmxcheckout-0.2.0 | lib/gmxcheckout/models/transaction.rb |
gmxcheckout-0.1.0 | lib/gmxcheckout/models/transaction.rb |