Module: RailsTrade::PromoteCharge::PlusPromoteCharge
- Included in:
- PlusPromoteCharge
- Defined in:
- app/models/rails_trade/promote_charge/plus_promote_charge.rb
Instance Method Summary collapse
Instance Method Details
#final_price(amount) ⇒ Object
3 4 5 |
# File 'app/models/rails_trade/promote_charge/plus_promote_charge.rb', line 3 def final_price(amount) base_price + (amount * parameter).round(2) end |