Class: AtlasEngine::AddressValidation::Validators::Predicates::NoUrl
- Inherits:
-
Predicate
- Object
- Predicate
- AtlasEngine::AddressValidation::Validators::Predicates::NoUrl
- Defined in:
- app/models/atlas_engine/address_validation/validators/predicates/no_url.rb
Instance Attribute Summary
Attributes inherited from Predicate
#address, #cache, #field, #message_format
Instance Method Summary collapse
Methods inherited from Predicate
Constructor Details
This class inherits a constructor from AtlasEngine::AddressValidation::Validators::Predicates::Predicate
Instance Method Details
#evaluate ⇒ Object
10 11 12 |
# File 'app/models/atlas_engine/address_validation/validators/predicates/no_url.rb', line 10 def evaluate build_concern if contains_url(address.send(@field)) end |