Sha256: af6b296825286839c319d533dc6a5b6446afd144781c889afef858986624ba45
Contents?: true
Size: 397 Bytes
Versions: 2
Compression:
Stored size: 397 Bytes
Contents
begin PaymentEngines.register({ name: 'wepay', review_path: ->(contribution) { CatarseWepay::Engine.routes.url_helpers.review_wepay_path(contribution) }, refund_path: ->(contribution) { CatarseWepay::Engine.routes.url_helpers.refund_wepay_path(contribution) }, locale: 'en' }) rescue Exception => e puts "Error while registering payment engine: #{e}" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
catarse_wepay-0.0.2 | config/initializers/register.rb |
catarse_wepay-0.0.1 | config/initializers/register.rb |