Sha256: 59aaa601985eff4f96fe3c030654fbb2fdc936cd1d3c6e84bfa6b1a1490d86c3

Contents?: true

Size: 246 Bytes

Versions: 3

Compression:

Stored size: 246 Bytes

Contents

begin
  PaymentEngines.register({name: 'moip', review_path: ->(contribution){ CatarseMoip::Engine.routes.url_helpers.review_moip_path(contribution) }, locale: 'pt'})
rescue Exception => e
  puts "Error while registering payment engine: #{e}"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
catarse_moip-2.3.2 config/initializers/register.rb
catarse_moip-2.3.1 config/initializers/register.rb
catarse_moip-2.3.0 config/initializers/register.rb