Module: Rwc::Core::Concerns::ErrorHandling::Validatable::ClassMethods

Defined in:
lib/rwc/core/concerns/error_handling.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#should_run_checksObject (readonly)

Returns the value of attribute should_run_checks.



55
56
57
# File 'lib/rwc/core/concerns/error_handling.rb', line 55

def should_run_checks
  @should_run_checks
end

Instance Method Details

#performs_checksvoid

This method returns an undefined value.

Indicates that checks should be performed on input validation.



51
52
53
# File 'lib/rwc/core/concerns/error_handling.rb', line 51

def performs_checks
  @should_run_checks = true
end