lib/money_s3/parsers/doklad.rb in money_s3-0.10.0 vs lib/money_s3/parsers/doklad.rb in money_s3-0.11.0

- old
+ new

@@ -1,11 +1,9 @@ -require 'money_s3/parsers/base_parser' - module MoneyS3 module Parsers class Doklad - include BaseParser + include ParserCore::BaseParser def druh at 'Druh' end @@ -36,10 +34,10 @@ def plneno_dph at 'PlnenoDPH' end def to_h_with_attrs - hash = HashWithAttributes.new({}, attributes) + hash = ParserCore::HashWithAttributes.new({}, attributes) hash[:druh] = druh if has? 'Druh' hash[:cislo] = cislo if has? 'Cislo' hash[:guid] = guid if has? 'GUID' hash[:prijat_dokl] = prijat_dokl if has? 'PrijatDokl' \ No newline at end of file