Class: Opensteam::InventoryBase::InventoriesProperty

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/opensteam/inventory_base.rb

Overview

Join Model for Inventory and ProductBase

Instance Method Summary collapse

Instance Method Details

#propertyObject



20
# File 'lib/opensteam/inventory_base.rb', line 20

def property() return !property_type ? real_property : property_type.constantize.find(:all) ; end

#real_propertyObject



19
# File 'lib/opensteam/inventory_base.rb', line 19

alias :real_property :property