require 'net/http' require 'cgi' require 'alipay/version' require 'alipay/utils' require 'alipay/sign' require 'alipay/sign/md5' require 'alipay/sign/rsa' require 'alipay/sign/dsa' require 'alipay/service' require 'alipay/notify' require 'alipay/wap/service' require 'alipay/wap/notify' require 'alipay/wap/sign' module Alipay @debug_mode = true @sign_type = 'MD5' class << self attr_accessor :pid, :key, :seller_email, :sign_type, :debug_mode def debug_mode? !!@debug_mode end end end