Class: Fadada::Certificate

Inherits:
Object
  • Object
show all
Defined in:
lib/fadada/certificate.rb

Class Method Summary collapse

Class Method Details

.apply(customer_id:, evidence_no:) ⇒ Object

编号证书申请 调用此接口可以给相关账号颁发编号证书

customer_id => 客户编号 注册账号时返回
evidence_no => 存证编号 实名信息存证时返回


11
12
13
14
15
16
17
# File 'lib/fadada/certificate.rb', line 11

def self.apply(customer_id:, evidence_no:)
  options = {
    customer_id: customer_id,
    evidence_no: evidence_no
  }
  Fadada::HttpClient.request(:post, 'apply_client_numcert.api', options)
end