Sha256: 9e82314054a60e4047a2b12784410d5303042ec55e995456f65c53dc6875b630
Contents?: true
Size: 592 Bytes
Versions: 2
Compression:
Stored size: 592 Bytes
Contents
module MoneyS3 module Parsers class NepPlatbaType include ParserCore::BaseParser def platidlo submodel_at(NepPlatidloType, 'Platidlo') end def mnozstvi_mj at 'MnozstviMJ' end def castka at 'Castka' end def to_h_with_attrs hash = ParserCore::HashWithAttributes.new({}, attributes) hash[:platidlo] = platidlo.to_h_with_attrs if has? 'Platidlo' hash[:mnozstvi_mj] = mnozstvi_mj if has? 'MnozstviMJ' hash[:castka] = castka if has? 'Castka' 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/nep_platba_type.rb |
money_s3-0.11.0 | lib/money_s3/parsers/nep_platba_type.rb |