Module: ActiveModel::Validations::HelperMethods
- Defined in:
- lib/validates-correios-cep/activemodel.rb
Instance Method Summary collapse
Instance Method Details
#validates_correios_cep_of(*attributes) ⇒ Object
26 27 28 |
# File 'lib/validates-correios-cep/activemodel.rb', line 26 def validates_correios_cep_of(*attributes) validates_with CorreiosCepValidator, _merge_attributes(attributes) end |