Sha256: 1d08c5b6a3e969f77b24f3bd6decb1f31c90df38d76a951821f09eb5ec91c6c6
Contents?: true
Size: 638 Bytes
Versions: 1
Compression:
Stored size: 638 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/valuty' module MoneyS3 module Parsers class SouhrnDPHPolType include BaseParser def zaklad_mj at :Zaklad_MJ end def dph_mj at :DPH_MJ end def zaklad at :Zaklad end def dph at :DPH end def valuty submodel_at(Valuty, :Valuty) end def to_h { zaklad_mj: zaklad_mj, dph_mj: dph_mj, zaklad: zaklad, dph: dph, valuty: valuty.to_h }.delete_if { |k, v| v.nil? || v.empty? } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.4.0 | lib/money_s3/parsers/souhrn_dph_pol_type.rb |