Sha256: ca3ac5250a6905854e8eb10ede99265d6e569b8c3a409eb88f1701a417055a11
Contents?: true
Size: 719 Bytes
Versions: 10
Compression:
Stored size: 719 Bytes
Contents
module RockRMS module Response class RecurringDonation < Base MAP = { id: 'Id', active: 'IsActive', foreign_key: 'ForeignKey', next_payment_date: 'NextPaymentDate', payment_details: 'FinancialPaymentDetail', person_id: 'AuthorizedPersonAliasId', transaction_details: 'ScheduledTransactionDetails', transaction_code: 'TransactionCode' }.freeze def format_single(data) result = to_h(MAP, data) result[:transaction_details] = RecurringDonationDetails.format(result[:transaction_details]) result[:payment_details] = PaymentDetail.format(result[:payment_details]) result end end end end
Version data entries
10 entries across 10 versions & 1 rubygems