Sha256: 2036d4bd1ee036a05e3a6d17bfc0f3b6ea3c0332b557a4685f994901cbc7f37e
Contents?: true
Size: 466 Bytes
Versions: 2
Compression:
Stored size: 466 Bytes
Contents
module Onfido class Check < Resource def create(applicant_id, payload) post( url: url_for("applicants/#{applicant_id}/checks"), payload: payload ) end def find(applicant_id, check_id) get( url: url_for("applicants/#{applicant_id}/checks/#{check_id}"), payload: {} ) end def all(applicant_id) get(url: url_for("applicants/#{applicant_id}/checks"), payload: {}) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
onfido-0.0.2 | lib/onfido/check.rb |
onfido-0.0.1 | lib/onfido/check.rb |