module GarnetClient
encoding: utf-8
Constants
- API_POST_NOTICE_DEPOSIT_URL
接口路径
- API_POST_NOTICE_TX_URL
接口路径
- API_POST_NOTICE_WITHDRAW_URL
接口路径
- VERSION
Attributes
api_base_url[R]
debug_mode[RW]
mer_id 商户账号 mer_key 加密key
tenant_id[RW]
mer_id 商户账号 mer_key 加密key
Public Class Methods
api_base_url=(url)
click to toggle source
# File lib/garnet_client.rb, line 29 def api_base_url=(url) @api_base_url = url end
debug_mode?()
click to toggle source
# File lib/garnet_client.rb, line 41 def debug_mode? @debug_mode end
response_headers()
click to toggle source
# File lib/garnet_client.rb, line 33 def response_headers params = {"Content-Type" => @content_type, "tenant-id" => @tenant_id} response_headers = params response_headers end