module FatFreeCRM::Fields::ClassMethods

Public Instance Methods

has_fields() click to toggle source
# File lib/fat_free_crm/fields.rb, line 15
def has_fields
  unless included_modules.include?(InstanceMethods)
    extend SingletonMethods
    include InstanceMethods
    serialize_custom_fields!
    validate :custom_fields_validator
  end
end