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



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

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

#real_propertyObject



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

alias :real_property :property