Sha256: 6f7d90d731079ca50f1a727b75b9ae05a2e4108e9d9ab410e6721246d9a3b06f

Contents?: true

Size: 430 Bytes

Versions: 6

Compression:

Stored size: 430 Bytes

Contents

module CatarsePaypalExpress
  class PaymentEngine

    def name
      'PayPal'
    end

    def review_path contribution
      CatarsePaypalExpress::Engine.routes.url_helpers.review_paypal_express_path(contribution)
    end

    def can_do_refund?
      true
    end

    def direct_refund contribution
      CatarsePaypalExpress::ContributionActions.new(contribution).refund
    end

    def locale
      'en'
    end

  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
catarse_paypal_express-2.2.4 lib/catarse_paypal_express/payment_engine.rb
catarse_paypal_express-3.0.2 lib/catarse_paypal_express/payment_engine.rb
funddit_paypal_express-3.0.1 lib/catarse_paypal_express/payment_engine.rb
catarse_paypal_express-3.0.1 lib/catarse_paypal_express/payment_engine.rb
catarse_paypal_express-3.0.0 lib/catarse_paypal_express/payment_engine.rb
catarse_paypal_express-2.2.3 lib/catarse_paypal_express/payment_engine.rb