Sha256: 4b0e577c4c72d52e44220c3d95aa18946b33de1897f3d9fa978ac676dc843112

Contents?: true

Size: 468 Bytes

Versions: 5

Compression:

Stored size: 468 Bytes

Contents

# frozen_string_literal: true

module Yoti
  module DocScan
    module Session
      module Retrieve
        class DocumentFieldsResponse
          # @return [MediaResponse]
          attr_reader :media

          #
          # @param [Hash] document_fields
          #
          def initialize(document_fields)
            @media = MediaResponse.new(document_fields['media']) unless document_fields['media'].nil?
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
yoti-1.10.0 lib/yoti/doc_scan/session/retrieve/document_fields_response.rb
yoti-1.9.0 lib/yoti/doc_scan/session/retrieve/document_fields_response.rb
yoti-1.8.0 lib/yoti/doc_scan/session/retrieve/document_fields_response.rb
yoti-1.7.1 lib/yoti/doc_scan/session/retrieve/document_fields_response.rb
yoti-1.7.0 lib/yoti/doc_scan/session/retrieve/document_fields_response.rb