Sha256: de622d184968c90275d7ba7896621422332cb37f3856954ff257f4540b53a114
Contents?: true
Size: 532 Bytes
Versions: 4
Compression:
Stored size: 532 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/pol_inv_dokl_type' module MoneyS3 module Parsers class SubpolInvDType include BaseParser def mn_sada at 'MnSada' end def polozka submodel_at(PolInvDoklType, 'Polozka') end def to_h_with_attrs hash = HashWithAttributes.new({}, attributes) hash[:mn_sada] = mn_sada if has? 'MnSada' 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