Class: ProductPackage
- Inherits:
-
ProductInstance
- Object
- ActiveRecord::Base
- ProductInstance
- ProductPackage
- Defined in:
- app/models/product_package.rb
Instance Method Summary collapse
Methods inherited from ProductInstance
#prod_instance_relns_from, #prod_instance_relns_to, #taxable?
Instance Method Details
#components ⇒ Object
3 4 5 |
# File 'app/models/product_package.rb', line 3 def components ProdInstanceReln.where('prod_instance_id_to = ?',self.id).collect{|reln| reln.prod_instance_from} end |