Sha256: a087d834b07f81fd37936574758ccdfddb859f22e3cf44da4c310d7ddade3bde
Contents?: true
Size: 574 Bytes
Versions: 1
Compression:
Stored size: 574 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/typ_priplatku_type' module MoneyS3 module Parsers class MzPriplatek include BaseParser def prip_hodin at 'PripHodin' end def typ_priplatku submodel_at(TypPriplatkuType, 'TypPriplatku') end def to_h hash = WithAttributes.new({}) hash.attributes = attributes hash[:prip_hodin] = prip_hodin if has? 'PripHodin' hash[:typ_priplatku] = typ_priplatku.to_h if has? 'TypPriplatku' hash end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.6.0 | lib/money_s3/parsers/mz_priplatek.rb |