Sha256: 7cd433a38a340abbdf8b88ff91a4442b6ae1463e0c7f53878355ecba5676334b
Contents?: true
Size: 530 Bytes
Versions: 9
Compression:
Stored size: 530 Bytes
Contents
module RockRMS module Response class TransactionDetail < Base MAP = { id: 'Id', fee_amount: 'FeeAmount', fee_coverage_amount: 'FeeCoverageAmount', fund: 'Account', fund_id: 'AccountId', amount: 'Amount', entity_type_id: 'EntityTypeId', entity_id: 'EntityId' }.freeze def format_single(response) response = to_h(MAP, response) response[:fund] = Fund.format(response[:fund]) response end end end end
Version data entries
9 entries across 9 versions & 1 rubygems