lib/onfido/resources/document.rb in onfido-1.1.1 vs lib/onfido/resources/document.rb in onfido-2.0.0

- old
+ new

@@ -1,4 +1,6 @@ +# frozen_string_literal: true + module Onfido class Document < Resource # with open-uri the file can be a link or an actual file def create(applicant_id:, file:, type:, **payload)