Method: Bitex::KycProfile#add_kyc_file!
- Defined in:
- lib/bitex/kyc_profile.rb
#add_kyc_file!(path, content_type = nil) ⇒ Object
126 127 128 129 130 131 132 133 134 135 |
# File 'lib/bitex/kyc_profile.rb', line 126 def add_kyc_file!(path, content_type = nil) response = Api.private( :post, "/private/kyc_profiles/#{id}/kyc_files", { document_content_type: content_type }, document: path ) KycFile.from_json(response) end |