Sha256: 3b9f3a470ef8e58aeacf136037e608e125943330e09e3faa09b4e1ffb32caf6f
Contents?: true
Size: 707 Bytes
Versions: 37
Compression:
Stored size: 707 Bytes
Contents
module RockRMS class Client module TransactionDetail def list_transaction_details(options = {}) res = get(transaction_detail_path, options) Response::TransactionDetail.format(res) end def find_transaction_detail(id) res = get(transaction_detail_path(id)) Response::TransactionDetail.format(res) end def update_transaction_detail(id, fund_id:) options = { 'AccountId' => fund_id } patch(transaction_detail_path(id), options) end private def transaction_detail_path(id = nil) id ? "FinancialTransactionDetails/#{id}" : 'FinancialTransactionDetails' end end end end
Version data entries
37 entries across 37 versions & 1 rubygems