Sha256: a282c22e720512f7a7d09f2e3b8707dbb0ea4a2d4c5d06354e4daf4c1b2410cc
Contents?: true
Size: 482 Bytes
Versions: 2
Compression:
Stored size: 482 Bytes
Contents
module MoneyS3 module Parsers class SubPolObjType include ParserCore::BaseParser def mj_na_sadu at 'MJNaSadu' end def polozka submodel_at(PolObjednType, 'Polozka') end def to_h_with_attrs hash = ParserCore::HashWithAttributes.new({}, attributes) hash[:mj_na_sadu] = mj_na_sadu if has? 'MJNaSadu' hash[:polozka] = polozka.to_h_with_attrs if has? 'Polozka' 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/sub_pol_obj_type.rb |
money_s3-0.11.0 | lib/money_s3/parsers/sub_pol_obj_type.rb |