Sha256: f8dc7426008db89afe6af6ffb382738c14d251533746e4dcd3e9edd945c6c5dc

Contents?: true

Size: 255 Bytes

Versions: 1

Compression:

Stored size: 255 Bytes

Contents

begin
  PaymentEngines.register({name: 'paypal', review_path: ->(backer){ CatarsePaypalExpress::Engine.routes.url_helpers.review_paypal_express_path(backer) }, locale: 'en'})
rescue Exception => e
  puts "Error while registering payment engine: #{e}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
catarse_paypal_express-2.0.0 config/initializers/register.rb