Module: Shoulda::Matchers::ActiveModel

Defined in:
lib/validates_curp/require_a_valid_curp_matcher.rb

Defined Under Namespace

Classes: RequireAValidCurpMatcher

Instance Method Summary collapse

Instance Method Details

#require_a_valid_curp(attr = :curp) ⇒ Object



8
9
10
# File 'lib/validates_curp/require_a_valid_curp_matcher.rb', line 8

def require_a_valid_curp(attr = :curp)
  RequireAValidCurpMatcher.new(attr)
end