Sha256: 68e57560d7ceaca908c76021d455af91785005872a73bb81bd7812051cbefee9
Contents?: true
Size: 612 Bytes
Versions: 1
Compression:
Stored size: 612 Bytes
Contents
require 'rubygems' require 'date' require 'csv' require 'active_model' require 'active_support/core_ext/object/blank' require 'active_support/core_ext/module/delegation' require 'codice_fiscale/version' require 'codice_fiscale/configuration' require 'codice_fiscale/helpers' require 'codice_fiscale/codes' require 'codice_fiscale/alphabet' require 'codice_fiscale/italian_citizen' require 'codice_fiscale/fiscal_code' module CodiceFiscale def self.calculate params citizen = ItalianCitizen.new params raise ArgumentError.new("#{citizen.errors}") unless citizen.valid? citizen.fiscal_code end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
codice-fiscale-0.0.6 | lib/codice_fiscale.rb |