class Wco::Price
def self.list
def self.list [[nil,nil]] + all.map { |p| [ "#{p.product.name} :: #{p.amount_cents.to_f/100}/#{p.interval||'onetime'}", p.id ] } end
def to_s
def to_s price = self "$#{ price[:amount_cents].to_f/100 }/#{ price.interval||'onetime' }" end