Sha256: 39a7f98ea4687faa8ba731a0218dbb7b32ee911111faa0ca9025313817818770
Contents?: true
Size: 562 Bytes
Versions: 8
Compression:
Stored size: 562 Bytes
Contents
module RockRMS module Response class SavedPaymentMethod < Base MAP = { id: 'Id', foreign_key: 'ForeignKey', gateway_id: 'FinancialGatewayId', name: 'Name', payment_details: 'FinancialPaymentDetail', payment_detail_id: 'FinancialPaymentDetailId', reference_number: 'ReferenceNumber' }.freeze def format_single(data) response = to_h(MAP, data) response[:payment_details] = PaymentMethod.format(response[:payment_details]) response end end end end
Version data entries
8 entries across 8 versions & 1 rubygems