Sha256: a9e514e4237930ae6e45a66a50047fe037fa62b5dac9f68992e1a22179e83434
Contents?: true
Size: 977 Bytes
Versions: 4
Compression:
Stored size: 977 Bytes
Contents
module TD::Types # An identity document. # # @attr number [String] Document number; 1-24 characters. # @attr expiry_date [TD::Types::Date, nil] Document expiry date; may be null. # @attr front_side [TD::Types::DatedFile] Front side of the document. # @attr reverse_side [TD::Types::DatedFile] Reverse side of the document; only for driver license and identity card. # @attr selfie [TD::Types::DatedFile, nil] Selfie with the document; may be null. # @attr translation [Array<TD::Types::DatedFile>] List of files containing a certified English translation of the # document. class IdentityDocument < Base attribute :number, TD::Types::String attribute :expiry_date, TD::Types::Date.optional.default(nil) attribute :front_side, TD::Types::DatedFile attribute :reverse_side, TD::Types::DatedFile attribute :selfie, TD::Types::DatedFile.optional.default(nil) attribute :translation, TD::Types::Array.of(TD::Types::DatedFile) end end
Version data entries
4 entries across 4 versions & 2 rubygems