Sha256: d36d599a463e96e577c68119923789b9185b12574e68c45e5cbaaaa8fd338f20

Contents?: true

Size: 379 Bytes

Versions: 3

Compression:

Stored size: 379 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 contribution
      ::CatarseMoip::V2::Refund.start(contribution)
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
catarse_moip-3.1.1 lib/catarse_moip/payment_engine.rb
catarse_moip-3.1.0 lib/catarse_moip/payment_engine.rb
catarse_moip-2.4.0 lib/catarse_moip/payment_engine.rb