Module: ItaxCode
- Defined in:
- lib/itax_code.rb,
lib/itax_code/error.rb,
lib/itax_code/utils.rb,
lib/itax_code/parser.rb,
lib/itax_code/encoder.rb,
lib/itax_code/omocode.rb,
lib/itax_code/version.rb,
lib/itax_code/transliterator.rb
Defined Under Namespace
Modules: Utils Classes: Encoder, Omocode, Parser, Transliterator
Constant Summary collapse
- Error =
Class.new(StandardError)
- VERSION =
"2.0.5"
Class Method Summary collapse
-
.decode(tax_code) ⇒ Hash
Decodes the tax code in its components.
-
.encode(data) ⇒ String
Encodes the user tax code.
-
.valid?(tax_code) ⇒ Boolean
Checks the given tax code validity.
Class Method Details
.decode(tax_code) ⇒ Hash
Decodes the tax code in its components.
31 32 33 |
# File 'lib/itax_code.rb', line 31 def decode(tax_code) Parser.new(tax_code).decode end |