lib/onfido/resources/applicant.rb in onfido-0.13.0 vs lib/onfido/resources/applicant.rb in onfido-0.14.0
- old
+ new
@@ -17,7 +17,11 @@
end
def all(page: 1, per_page: 20)
get(url: url_for("applicants?page=#{page}&per_page=#{per_page}"))
end
+
+ def restore(applicant_id)
+ post(url: url_for("applicants/#{applicant_id}/restore"))
+ end
end
end