Sha256: 77040d8d8c91980db2e98f682ebac61312ea1e8bcb452e1dff849d5b47cba83e

Contents?: true

Size: 358 Bytes

Versions: 6

Compression:

Stored size: 358 Bytes

Contents

module Loqate
  module Bank
    # Result of an international bank account validation.
    class InternationalAccountValidation < Dry::Struct::Value
      # Indicates whether the account number and sortcode are valid.
      #
      # @return [Boolean]
      #
      attribute :is_correct, Types::Strict::Bool
      alias correct? is_correct
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
loqate-0.10.1 lib/loqate/bank/international_account_validation.rb
loqate-0.10.0 lib/loqate/bank/international_account_validation.rb
loqate-0.9.0 lib/loqate/bank/international_account_validation.rb
loqate-0.8.0 lib/loqate/bank/international_account_validation.rb
loqate-0.7.0 lib/loqate/bank/international_account_validation.rb
loqate-0.6.0 lib/loqate/bank/international_account_validation.rb