Sha256: f04faf0bdc52ab33b26344fdd0fbabf33d0d59bcde32354ad85cf95898320879

Contents?: true

Size: 762 Bytes

Versions: 1

Compression:

Stored size: 762 Bytes

Contents

require File.dirname(__FILE__) + '/two_checkout/helper.rb'
require File.dirname(__FILE__) + '/two_checkout/notification.rb'
require File.dirname(__FILE__) + '/two_checkout/return.rb'

module MerbMerchant #:nodoc:
  module Billing #:nodoc:
    module Integrations #:nodoc:
      module TwoCheckout 
       
        def self.service_url
          @@service_url
        end
        
        def self.service_url=(service_url)
          @@service_url = service_url
        end
        
        self.service_url = 'https://www.2checkout.com/2co/buyer/purchase'

        def self.notification(post)
          Notification.new(post)
        end  
        
        def self.return(query_string)
          Return.new(query_string)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
merb_merchant-1.4.1 lib/merb_merchant/billing/integrations/two_checkout.rb