Sha256: c02d009e3be4e87fb84066bc48b747cd1e44d71de06900066e6253b1ae098d0d
Contents?: true
Size: 541 Bytes
Versions: 4
Compression:
Stored size: 541 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/pol_objedn_type' module MoneyS3 module Parsers class SubPolObjType include BaseParser def mj_na_sadu at 'MJNaSadu' end def polozka submodel_at(PolObjednType, 'Polozka') end def to_h_with_attrs hash = 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
4 entries across 4 versions & 1 rubygems