Sha256: 1a7f48d433521507dac1640c187bf9b620436b26e82dd2d3fcf69fdcd4af44c0

Contents?: true

Size: 515 Bytes

Versions: 3

Compression:

Stored size: 515 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alipay-0.6.0 lib/alipay.rb
alipay-0.6.0.beta3 lib/alipay.rb
alipay-0.6.0.beta2 lib/alipay.rb