Module: BitrixOnRails::IblockElementPropM

Defined in:
lib/bitrix_on_rails/iblock_element_prop_m.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Instance Method Summary collapse

Instance Method Details

#acts_as_iblock_element_prop_m(id) ⇒ Object



3
4
5
6
7
8
9
10
11
# File 'lib/bitrix_on_rails/iblock_element_prop_m.rb', line 3

def acts_as_iblock_element_prop_m(id)
  extend ClassMethods
  include InstanceMethods

  set_table_name "b_iblock_element_prop_m#{id}"

  belongs_to :iblock_element
  belongs_to :iblock_property
end