Sha256: e0a0153ac6bb33879d4a4b920ffe4707a62191aaf7afe5567dc04920372dee82
Contents?: true
Size: 1.45 KB
Versions: 2
Compression:
Stored size: 1.45 KB
Contents
module MoneyS3 module Parsers class ObdobiDPH include ParserCore::BaseParser def datum_od at 'DatumOd' end def uc_md_1 at 'UcMD_1' end def uc_d_1 at 'UcD_1' end def uc_md_2 at 'UcMD_2' end def uc_d_2 at 'UcD_2' end def uc_md_3 at 'UcMD_3' end def uc_d_3 at 'UcD_3' end def uc_md_4 at 'UcMD_4' end def uc_d_4 at 'UcD_4' end def uc_md_5 at 'UcMD_5' end def uc_d_5 at 'UcD_5' end def uc_md_6 at 'UcMD_6' end def uc_d_6 at 'UcD_6' end def to_h_with_attrs hash = ParserCore::HashWithAttributes.new({}, attributes) hash[:datum_od] = datum_od if has? 'DatumOd' hash[:uc_md_1] = uc_md_1 if has? 'UcMD_1' hash[:uc_d_1] = uc_d_1 if has? 'UcD_1' hash[:uc_md_2] = uc_md_2 if has? 'UcMD_2' hash[:uc_d_2] = uc_d_2 if has? 'UcD_2' hash[:uc_md_3] = uc_md_3 if has? 'UcMD_3' hash[:uc_d_3] = uc_d_3 if has? 'UcD_3' hash[:uc_md_4] = uc_md_4 if has? 'UcMD_4' hash[:uc_d_4] = uc_d_4 if has? 'UcD_4' hash[:uc_md_5] = uc_md_5 if has? 'UcMD_5' hash[:uc_d_5] = uc_d_5 if has? 'UcD_5' hash[:uc_md_6] = uc_md_6 if has? 'UcMD_6' hash[:uc_d_6] = uc_d_6 if has? 'UcD_6' hash end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.12.0 | lib/money_s3/parsers/obdobi_dph.rb |
money_s3-0.11.0 | lib/money_s3/parsers/obdobi_dph.rb |