Module: Alipay

Defined in:
lib/alipay.rb,
lib/alipay/sign.rb,
lib/alipay/utils.rb,
lib/alipay/client.rb,
lib/alipay/notify.rb,
lib/alipay/service.rb,
lib/alipay/version.rb,
lib/alipay/sign/dsa.rb,
lib/alipay/sign/md5.rb,
lib/alipay/sign/rsa.rb,
lib/alipay/wap/sign.rb,
lib/alipay/sign/rsa2.rb,
lib/alipay/wap/notify.rb,
lib/alipay/mobile/sign.rb,
lib/alipay/wap/service.rb,
lib/alipay/mobile/service.rb

Defined Under Namespace

Modules: Mobile, Notify, Service, Sign, Utils, Wap Classes: Client

Constant Summary collapse

VERSION =
"0.17.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.debug_modeObject

Returns the value of attribute debug_mode.



24
25
26
# File 'lib/alipay.rb', line 24

def debug_mode
  @debug_mode
end

.keyObject

Returns the value of attribute key.



24
25
26
# File 'lib/alipay.rb', line 24

def key
  @key
end

.pidObject

Returns the value of attribute pid.



24
25
26
# File 'lib/alipay.rb', line 24

def pid
  @pid
end

.sign_typeObject

Returns the value of attribute sign_type.



24
25
26
# File 'lib/alipay.rb', line 24

def sign_type
  @sign_type
end

Class Method Details

.debug_mode?Boolean

Returns:

  • (Boolean)


26
27
28
# File 'lib/alipay.rb', line 26

def debug_mode?
  !!@debug_mode
end