Module: BitrixOnRails::IblockElementPropM::InstanceMethods

Defined in:
lib/bitrix_on_rails/iblock_element_prop_m.rb

Instance Method Summary collapse

Instance Method Details

#codeObject



22
23
24
# File 'lib/bitrix_on_rails/iblock_element_prop_m.rb', line 22

def code
  @code ||= property.code
end

#propertyObject



17
18
19
20
# File 'lib/bitrix_on_rails/iblock_element_prop_m.rb', line 17

def property
  # Достаем кешированный вариант
  IblockProperty.find(iblock_property_id)
end