class Podio::ContractPriceItem

Public Instance Methods

sub_total() click to toggle source
# File lib/podio/models/contract_price.rb, line 45
def sub_total
  if self.quantity
    (self.quantity*self.price).to_f
  else
    0.to_f
  end
end