Sha256: 3a522d6f30d558dfa0589a301a2cdd8275650b9daa4242b4ea3728d908543826
Contents?: true
Size: 531 Bytes
Versions: 1
Compression:
Stored size: 531 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 hash = WithAttributes.new({}) hash.attributes = attributes hash[:mn_sada] = mn_sada if has? 'MnSada' hash[:polozka] = polozka.to_h if has? 'Polozka' 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/subpol_inv_d_type.rb |