# frozen_string_literal: true module Onfido class Report < Resource def find(report_id) get(path: "reports/#{report_id}") end def all(check_id) get(path: "reports?check_id=#{check_id}") end def resume(report_id) post(path: "reports/#{report_id}/resume") end def cancel(report_id) post(path: "reports/#{report_id}/cancel") end end end