Sha256: 92867bc13ee1715be3dde61b107859bcc511893a6a39b9bcfef97c37a32f229b

Contents?: true

Size: 655 Bytes

Versions: 2

Compression:

Stored size: 655 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

2 entries across 2 versions & 1 rubygems

Version Path
corepro-1.0.1 test/af_bankdocument_test.rb
corepro-1.0.0 test/af_bankdocument_test.rb