Sha256: 3d97e97d763330ffb7eb9bc632b59f39baa278eef893c415106281592a81fca8

Contents?: true

Size: 416 Bytes

Versions: 2

Compression:

Stored size: 416 Bytes

Contents

class GatewayGenerator < ActiveMerchant::Generator::Base
  def manifest
    record do |m|
      m.template 'gateway.rb',
                 "lib/active_merchant/billing/gateways/#{file_name}.rb"

      m.template 'gateway_test.rb',
                 "test/unit/gateways/#{file_name}_test.rb"

      m.template 'remote_gateway_test.rb',
                 "test/remote_tests/remote_#{file_name}_test.rb"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activemerchant-1.2.0 script/generator/generators/gateway/gateway_generator.rb
activemerchant-1.2.1 script/generator/generators/gateway/gateway_generator.rb