module CustomFields::Types::ManyToMany::Field

Public Instance Methods

many_to_many_is_relationship?() click to toggle source
# File lib/custom_fields/types/many_to_many.rb, line 14
def many_to_many_is_relationship?
  type == 'many_to_many'
end
many_to_many_to_recipe() click to toggle source
# File lib/custom_fields/types/many_to_many.rb, line 10
def many_to_many_to_recipe
  { 'class_name' => class_name, 'inverse_of' => inverse_of, 'order_by' => order_by }
end