Sha256: 81383f5f29fe6e63b03781a3d51ed4cc1aecde12e228d1cf0b027bba55411401
Contents?: true
Size: 816 Bytes
Versions: 3
Compression:
Stored size: 816 Bytes
Contents
require 'dry-struct' module Types include Dry.Types() # https://developers.sumsub.com/api-reference/#supported-document-types IdDocTypes = Types::Strict::Symbol .constructor(&:to_sym) .enum( :ID_CARD, :PASSPORT, :DRIVERS, # Driving license :BANK_CARD, :UTILITY_BILL, :BANK_STATEMENT, :SELFIE, :VIDEO_SELFIE, :PROFILE_IMAGE, :ID_DOC_PHOTO, :AGREEMENT, :CONTRACT, :RESIDENCE_PERMIT, :EMPLOYMENT_CERTIFICATE, :DRIVERS_TRANSLATION, :INVESTOR_DOC, :VEHICLE_REGISTRATION_CERTIFICATE, :INCOME_SOURCE, # Proof of income :PAYMENT_METHOD, :OTHER, nil, ) IdDocSubType = Types::Strict::Symbol .constructor(&:to_sym) .enum( :FRONT_SIDE, :BACK_SIDE, ) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sumsub-ruby-sdk-0.1.3 | lib/types.rb |
sumsub-ruby-sdk-0.1.2 | lib/types.rb |
sumsub-ruby-sdk-0.1.1 | lib/types.rb |