Module: Shoulda::Matchers::ActiveModel

Defined in:
lib/validates_guatemala_identity/require_a_valid_guatemala_identity_matcher.rb

Defined Under Namespace

Classes: RequireAValidGuatemalaIdentityMatcher

Instance Method Summary collapse

Instance Method Details

#require_a_valid_guatemala_identity(attr = :identity) ⇒ Object



8
9
10
# File 'lib/validates_guatemala_identity/require_a_valid_guatemala_identity_matcher.rb', line 8

def require_a_valid_guatemala_identity(attr = :identity)
  RequireAValidGuatemalaIdentityMatcher.new(attr)
end