Sha256: 398e4b17ff0c085e6a031584ab8763c5406e7e1479479afa2c2cf278be768127
Contents?: true
Size: 640 Bytes
Versions: 7
Compression:
Stored size: 640 Bytes
Contents
module MoneyS3 module Parsers class MzPriplatek include ParserCore::BaseParser def typ_priplatku submodel_at(TypPriplatkuType, 'TypPriplatku') end def prip_hodin at 'PripHodin' end def prip_hodin_attributes attributes_at 'PripHodin' end def to_h hash = {} hash[:attributes] = attributes hash[:typ_priplatku] = typ_priplatku.to_h if has? 'TypPriplatku' hash[:prip_hodin] = prip_hodin if has? 'PripHodin' hash[:prip_hodin_attributes] = prip_hodin_attributes if has? 'PripHodin' hash end end end end
Version data entries
7 entries across 7 versions & 1 rubygems