Sha256: 17c9c57770f558c7f4557dbdbd61e6111715ed371a99ef33c32b35034c822c2c
Contents?: true
Size: 468 Bytes
Versions: 8
Compression:
Stored size: 468 Bytes
Contents
module ShelbyArena module Response class ContributionFund < Base MAP = { id: 'ContributionFundId', contribution_id: 'ContributionId', amount: 'Amount', fund: 'Fund', fund_id: 'FundId' }.freeze def format_single(data) response = to_h(MAP, data) response[:fund] = Fund.format(response[:fund]) response[:amount] = response[:amount].to_f response end end end end
Version data entries
8 entries across 8 versions & 1 rubygems