lib/itax_code/parser.rb in itax_code-0.3.0 vs lib/itax_code/parser.rb in itax_code-0.4.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require "itax_code/omocode"
module ItaxCode
# Handles the parsing logic.
#
@@ -28,10 +30,10 @@
{
code: tax_code,
gender: gender,
birthdate: birthdate,
birthplace: birthplace,
- omocodes: Omocode.new(tax_code).list,
+ omocodes: Omocode.new(tax_code).omocodes,
raw: raw
}
end
private