Sha256: 2344568f1f19891fcee9f32ce6fb7a1e69ca522c61446fe271fb252f69c4d42e
Contents?: true
Size: 688 Bytes
Versions: 25
Compression:
Stored size: 688 Bytes
Contents
module CatarsePagarme class PaymentEngine def name 'Pagarme' end def review_path contribution url_helpers.review_pagarme_path(contribution) end def locale 'pt' end def can_do_refund? true end def direct_refund contribution contribution.pagarme_delegator.refund end def can_generate_second_slip? true end def second_slip_path(payment) # The second slip generates a new payment base on the contribution ID url_helpers.second_slip_pagarme_path(id: payment.contribution.id) end protected def url_helpers CatarsePagarme::Engine.routes.url_helpers end end end
Version data entries
25 entries across 25 versions & 1 rubygems