Sha256: b00b1abbae321d055f2ee188170e1ae38a2b31660821827d1dfc44adba4fe9e7
Contents?: true
Size: 706 Bytes
Versions: 20
Compression:
Stored size: 706 Bytes
Contents
module Myfinance module Resources class BankStatement < Base def import(entity_id, deposit_account_id, file) path = "/entities/#{entity_id}/deposit_accounts/#{deposit_account_id}/bank_statements" params = { file: file } http.post(path, body: { bank_statement: params }, multipart: true) do |response| respond_with_object(response, "bank_statement") end end def status(entity_id, deposit_account_id, id) path = "/entities/#{entity_id}/deposit_accounts/#{deposit_account_id}/bank_statements/#{id}" http.get(path) do |response| respond_with_object(response, "bank_statement") end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems