Sha256: 337360f867271a6309dc04c695ba974f87a6352da352727f2875e001bdfed847

Contents?: true

Size: 356 Bytes

Versions: 5

Compression:

Stored size: 356 Bytes

Contents

require_relative "document"

module Tangany
  module Customers
    class Kyc < Object
      ALLOWED_METHODS = %w[video_ident id_copy auto_ident in_person].freeze

      attribute :id, Types::String
      attribute :date, Types::DateTime
      attribute :method, Types::String
      attribute? :document, Document

      to_datetime :date
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tangany-0.0.5 lib/tangany/customers/objects/kyc.rb
tangany-0.0.4 lib/tangany/customers/objects/kyc.rb
tangany-0.0.3 lib/tangany/customers/objects/kyc.rb
tangany-0.0.2 lib/tangany/customers/objects/kyc.rb
tangany-0.0.1 lib/tangany/customers/objects/kyc.rb