class Yoti::DocScan::Support::SupportedDocument

Attributes

type[R]

@return [String]

Public Class Methods

new(document) click to toggle source

@param [Hash] document

# File lib/yoti/doc_scan/support/supported_documents.rb, line 53
def initialize(document)
  Validation.assert_is_a(String, document['type'], 'type', true)
  @type = document['type']
end