Sha256: 915cd9ddf897d6c8d5f690a9b9ffe31715585b206102d0666046c8a6e8787fca

Contents?: true

Size: 636 Bytes

Versions: 8

Compression:

Stored size: 636 Bytes

Contents

require_relative '../test/core_pro_test_base'
require_relative '../lib/corepro/bank_document'
require_relative '../lib/corepro/models/file_content'

class AfBankDocumentTest < CoreProTestBase
  def test_list
    docs = CorePro::BankDocument.list 'en-US', nil, @@exampleConn, nil
    doc = nil
    docs.each do |x|
      doc = x # if x.documentType == 'eStatement'
    end
    @@documentId = doc.documentId
    assert_instance_of CorePro::BankDocument, doc
  end

  def test_zzz_download
    doc = CorePro::BankDocument.download 'en-US', @@documentId, @@exampleConn, nil
    assert_instance_of CorePro::Models::FileContent, doc
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
corepro_fvr-1.0.9 test/af_bankdocument_test.rb
corepro_eg-1.0.8 test/af_bankdocument_test.rb
corepro_eg-1.0.7 test/af_bankdocument_test.rb
corepro_eg-1.0.6 test/af_bankdocument_test.rb
corepro_eg-1.0.5 test/af_bankdocument_test.rb
corepro_eg-1.0.4 test/af_bankdocument_test.rb
corepro_eg-1.0.3 test/af_bankdocument_test.rb
corepro_eg-1.0.2 test/af_bankdocument_test.rb