Sha256: a18e09982afce4fde45c79a05480df748d3331bfb63165c16a323c0d69c956b8
Contents?: true
Size: 562 Bytes
Versions: 39
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] = PaymentDetail.format(response[:payment_details]) response end end end end
Version data entries
39 entries across 39 versions & 1 rubygems