Sha256: 5b6199651aee8020b46064d4b1d04108b60c561083e41207ea75ca5e94576379

Contents?: true

Size: 369 Bytes

Versions: 1

Compression:

Stored size: 369 Bytes

Contents

module CatarseMoip
  class PaymentEngine

    def name
      'MoIP'
    end

    def review_path contribution
      CatarseMoip::Engine.routes.url_helpers.review_moip_path(contribution)
    end

    def locale
      'pt'
    end

    def can_do_refund?
      true
    end

    def direct_refund payment
      ::CatarseMoip::V2::Refund.start(payment)
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
catarse_moip-3.2.0 lib/catarse_moip/payment_engine.rb