Sha256: e100f462f9da5e1c13d7ea62bc2e285a95ce6d4eca8e7ae0ac3d4c2c6229ab4a
Contents?: true
Size: 553 Bytes
Versions: 19
Compression:
Stored size: 553 Bytes
Contents
module Myfinance module Resources class Reconcile < Base def reconcile(entity_id, financial_accounts_ids = [], financial_transactions_ids = []) body = { selected_financial_account_ids: financial_accounts_ids, selected_financial_transaction_ids: financial_transactions_ids } http.post(path(entity_id), body: body) do |response| respond_with_collection(response) end end private def path(entity_id) "/entities/#{entity_id}/reconciles" end end end end
Version data entries
19 entries across 19 versions & 1 rubygems