Module: ClientSideValidations::ORM

Defined in:
lib/client_side_validations/orm.rb

Defined Under Namespace

Classes: ValidateOptions

Instance Method Summary collapse

Instance Method Details

#validate_optionsObject



5
6
7
# File 'lib/client_side_validations/orm.rb', line 5

def validate_options
  ValidateOptions.new(self).to_hash
end

#validation_fieldsObject



9
10
11
# File 'lib/client_side_validations/orm.rb', line 9

def validation_fields
  self._validators.keys
end