Sha256: 3a2ec76c36fd7b166f0fe2c9bf90b265bb86fb6fde333af7b89c7555a4761be4

Contents?: true

Size: 419 Bytes

Versions: 5

Compression:

Stored size: 419 Bytes

Contents

# frozen_string_literal: true

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

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