lib/alipay.rb in alipay-0.6.0.beta1 vs lib/alipay.rb in alipay-0.6.0.beta2
- old
+ new
@@ -1,13 +1,17 @@
require 'net/http'
+require 'cgi'
require 'alipay/version'
require 'alipay/utils'
require 'alipay/sign'
-require 'alipay/sign/wap'
+require 'alipay/sign/md5'
+require 'alipay/sign/rsa'
+require 'alipay/sign/dsa'
require 'alipay/service'
-require 'alipay/service/wap'
require 'alipay/notify'
-require 'alipay/notify/wap'
+require 'alipay/wap/service'
+require 'alipay/wap/notify'
+require 'alipay/wap/sign'
module Alipay
@debug_mode = true
@sign_type = 'MD5'