Sha256: fdd218495ecae951a0c6eaf7c065b9a381f2ef11513e78879e4223f61035eed9

Contents?: true

Size: 464 Bytes

Versions: 2

Compression:

Stored size: 464 Bytes

Contents

require File.dirname(__FILE__) + '/<%= file_name %>/helper.rb'
require File.dirname(__FILE__) + '/<%= file_name %>/notification.rb'

module ActiveMerchant #:nodoc:
  module Billing #:nodoc:
    module Integrations #:nodoc:
      module <%= class_name %> 
       
        mattr_accessor :service_url
        self.service_url = 'https://www.example.com'

        def self.notification(post)
          Notification.new(post)
        end  
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activemerchant-1.2.0 script/generator/generators/integration/templates/integration.rb
activemerchant-1.2.1 script/generator/generators/integration/templates/integration.rb