Sha256: b393f930bfc195cfc6e26f9efaa679a5b0c53a07da9f8770ce3b7d732062f2da

Contents?: true

Size: 704 Bytes

Versions: 10

Compression:

Stored size: 704 Bytes

Contents

module ActiveMerchant #:nodoc:
  module Billing #:nodoc:
    module Integrations #:nodoc:
      module TwoCheckout 
        autoload 'Helper', File.dirname(__FILE__) + '/two_checkout/helper'
        autoload 'Return', File.dirname(__FILE__) + '/two_checkout/return'
        autoload 'Notification', File.dirname(__FILE__) + '/two_checkout/notification'
       
        mattr_accessor :service_url
        self.service_url = 'https://www.2checkout.com/checkout/purchase'

        def self.notification(post, options = {})
          Notification.new(post)
        end  
        
        def self.return(query_string, options = {})
          Return.new(query_string)
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
yetanothernguyen-activemerchant-1.21.2 lib/active_merchant/billing/integrations/two_checkout.rb
yetanothernguyen-activemerchant-1.21.1 lib/active_merchant/billing/integrations/two_checkout.rb
yetanothernguyen-activemerchant-1.21.0 lib/active_merchant/billing/integrations/two_checkout.rb
activemerchant-1.21.0 lib/active_merchant/billing/integrations/two_checkout.rb
tlconnor-activemerchant-1.20.4 lib/active_merchant/billing/integrations/two_checkout.rb
activemerchant-1.20.4 lib/active_merchant/billing/integrations/two_checkout.rb
activemerchant-1.20.3 lib/active_merchant/billing/integrations/two_checkout.rb
activemerchant-1.20.2 lib/active_merchant/billing/integrations/two_checkout.rb
activemerchant-1.20.1 lib/active_merchant/billing/integrations/two_checkout.rb
activemerchant-1.20.0 lib/active_merchant/billing/integrations/two_checkout.rb