Class: RequestType::Validation::RequestTypeValidator

Inherits:
DelegateValidation::Validator show all
Defined in:
app/models/request_type/validation.rb

Instance Method Summary collapse

Methods inherited from DelegateValidation::Validator

delegate_attribute, #initialize, name

Methods included from Validateable

append_features, #method_missing, #validate!

Constructor Details

This class inherits a constructor from DelegateValidation::Validator

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Validateable

Instance Method Details

#library_types_present?Boolean

Returns:

  • (Boolean)


38
39
40
# File 'app/models/request_type/validation.rb', line 38

def library_types_present?
  request_type.library_types.present?
end