Module: MyAlipay
- Defined in:
- lib/my_alipay/notify.rb,
lib/my_alipay.rb,
lib/my_alipay/sign.rb,
lib/my_alipay/utils.rb,
lib/my_alipay/client.rb,
lib/my_alipay/version.rb,
lib/my_alipay/sign/md5.rb,
lib/my_alipay/sign/rsa.rb,
lib/my_alipay/wap/test.rb,
lib/my_alipay/sign/rsa2.rb,
lib/my_alipay/wap/service.rb,
lib/my_alipay/page/service.rb,
lib/my_alipay/mobile/service.rb
Overview
通知验签
Defined Under Namespace
Modules: Mobile, Notify, Page, Sign, Utils, Wap Classes: Client
Constant Summary collapse
- VERSION =
"0.3.5"
Class Attribute Summary collapse
-
.alipay_public_key ⇒ Object
Returns the value of attribute alipay_public_key.
-
.app_id ⇒ Object
Returns the value of attribute app_id.
-
.app_private_key ⇒ Object
Returns the value of attribute app_private_key.
-
.debug_mode ⇒ Object
Returns the value of attribute debug_mode.
-
.gateway_url ⇒ Object
Returns the value of attribute gateway_url.
-
.sign_type ⇒ Object
Returns the value of attribute sign_type.
Class Method Summary collapse
Class Attribute Details
.alipay_public_key ⇒ Object
Returns the value of attribute alipay_public_key.
20 21 22 |
# File 'lib/my_alipay.rb', line 20 def alipay_public_key @alipay_public_key end |
.app_id ⇒ Object
Returns the value of attribute app_id.
20 21 22 |
# File 'lib/my_alipay.rb', line 20 def app_id @app_id end |
.app_private_key ⇒ Object
Returns the value of attribute app_private_key.
20 21 22 |
# File 'lib/my_alipay.rb', line 20 def app_private_key @app_private_key end |
.debug_mode ⇒ Object
Returns the value of attribute debug_mode.
20 21 22 |
# File 'lib/my_alipay.rb', line 20 def debug_mode @debug_mode end |
.gateway_url ⇒ Object
Returns the value of attribute gateway_url.
20 21 22 |
# File 'lib/my_alipay.rb', line 20 def gateway_url @gateway_url end |
.sign_type ⇒ Object
Returns the value of attribute sign_type.
20 21 22 |
# File 'lib/my_alipay.rb', line 20 def sign_type @sign_type end |
Class Method Details
.debug_mode? ⇒ Boolean
22 23 24 |
# File 'lib/my_alipay.rb', line 22 def debug_mode? !!@debug_mode end |