Sha256: b35f031ac232521c823a791d9b2d47a72b9563208a933a39a9533588e3ea2c69
Contents?: true
Size: 159 Bytes
Versions: 1
Compression:
Stored size: 159 Bytes
Contents
module Trade module Model::PromoteCharge::PlusPromoteCharge def final_price(amount) base_price + (amount * parameter).round(2) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_trade-0.0.3 | app/models/trade/model/promote_charge/plus_promote_charge.rb |