Module: AlipayGlobal

Defined in:
lib/alipay_global.rb,
lib/alipay_global/sign.rb,
lib/alipay_global/utils.rb,
lib/alipay_global/service.rb,
lib/alipay_global/version.rb,
lib/alipay_global/sign/dsa.rb,
lib/alipay_global/sign/md5.rb,
lib/alipay_global/sign/rsa.rb,
lib/alipay_global/service/trade.rb,
lib/alipay_global/service/exchange.rb,
lib/alipay_global/service/settlement.rb,
lib/alipay_global/service/notification.rb,
lib/alipay_global/service/reconciliation.rb

Defined Under Namespace

Modules: Service, Sign, Utils

Constant Summary collapse

VERSION =
"0.0.6"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_partner_idObject

Returns the value of attribute api_partner_id.



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

def api_partner_id
  @api_partner_id
end

.api_secret_keyObject

Returns the value of attribute api_secret_key.



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

def api_secret_key
  @api_secret_key
end

.debug_modeObject

Returns the value of attribute debug_mode.



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

def debug_mode
  @debug_mode
end

.environmentObject

Returns the value of attribute environment.



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

def environment
  @environment
end

.private_key_locationObject

Returns the value of attribute private_key_location.



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

def private_key_location
  @private_key_location
end

.sign_typeObject

Returns the value of attribute sign_type.



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

def sign_type
  @sign_type
end

Class Method Details

.debug_mode?Boolean

Returns:

  • (Boolean)


28
29
30
# File 'lib/alipay_global.rb', line 28

def debug_mode?
  !!@debug_mode
end