Sha256: d9dcd9eae8b5d63e381ff688da9d710dce28111720897f996c29de9f38bce0df

Contents?: true

Size: 218 Bytes

Versions: 13

Compression:

Stored size: 218 Bytes

Contents

# frozen_string_literal: true

module Onfido
  class Extraction < Resource
    def create(document_id:)
      payload = { document_id: document_id }

      post(path: 'extractions', payload: payload)
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
onfido-2.9.0 lib/onfido/resources/extraction.rb
onfido-2.8.0 lib/onfido/resources/extraction.rb
onfido-2.7.0 lib/onfido/resources/extraction.rb
onfido-2.6.0 lib/onfido/resources/extraction.rb
onfido-2.5.0 lib/onfido/resources/extraction.rb
onfido-2.4.0 lib/onfido/resources/extraction.rb
onfido-2.3.0 lib/onfido/resources/extraction.rb
onfido-2.2.0 lib/onfido/resources/extraction.rb
onfido-2.1.1 lib/onfido/resources/extraction.rb
onfido-2.1.0 lib/onfido/resources/extraction.rb
onfido-2.0.2 lib/onfido/resources/extraction.rb
onfido-2.0.1 lib/onfido/resources/extraction.rb
onfido-2.0.0 lib/onfido/resources/extraction.rb