class Onfido::Report

Public Instance Methods

all(check_id) click to toggle source
# File lib/onfido/resources/report.rb, line 9
def all(check_id)
  get(path: "reports?check_id=#{check_id}")
end
cancel(report_id) click to toggle source
# File lib/onfido/resources/report.rb, line 17
def cancel(report_id)
  post(path: "reports/#{report_id}/cancel")
end
find(report_id) click to toggle source
# File lib/onfido/resources/report.rb, line 5
def find(report_id)
  get(path: "reports/#{report_id}")
end
resume(report_id) click to toggle source
# File lib/onfido/resources/report.rb, line 13
def resume(report_id)
  post(path: "reports/#{report_id}/resume")
end