Sha256: 9fab1ac8f34ae7fb3eaab08235ccd4d3a1e326f11e239329d5d319acc7ec70e3

Contents?: true

Size: 429 Bytes

Versions: 5

Compression:

Stored size: 429 Bytes

Contents

# frozen_string_literal: true

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

          #
          # @param [Hash] facemap
          #
          def initialize(facemap)
            @media = MediaResponse.new(facemap['media']) unless facemap['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/face_map_response.rb
yoti-1.9.0 lib/yoti/doc_scan/session/retrieve/face_map_response.rb
yoti-1.8.0 lib/yoti/doc_scan/session/retrieve/face_map_response.rb
yoti-1.7.1 lib/yoti/doc_scan/session/retrieve/face_map_response.rb
yoti-1.7.0 lib/yoti/doc_scan/session/retrieve/face_map_response.rb