Module: Shoulda::Matchers::ActiveModel

Defined in:
lib/validates_panamanian_taxpayer_registry/require_a_valid_panamanian_taxpayer_registry_matcher.rb

Defined Under Namespace

Classes: RequireAValidPanamanianTaxpayerRegistryMatcher

Instance Method Summary collapse

Instance Method Details

#require_a_valid_panamanian_taxpayer_registry(attr = :taxpayer_registry) ⇒ Object



8
9
10
# File 'lib/validates_panamanian_taxpayer_registry/require_a_valid_panamanian_taxpayer_registry_matcher.rb', line 8

def require_a_valid_panamanian_taxpayer_registry(attr = :taxpayer_registry)
  RequireAValidPanamanianTaxpayerRegistryMatcher.new(attr)
end