Sha256: f75a043a4570c079ac066b41812fa879dcbcb18634fd4e0fda1f746c977a7250

Contents?: true

Size: 115 Bytes

Versions: 1

Compression:

Stored size: 115 Bytes

Contents

class SingleServeCharge < ServeCharge

  def final_price(amount)
    base_price.to_d + (price * amount)
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_trade-0.0.1 app/models/rails_trade/serve_charges/single_serve_charge.rb