Sha256: d90911fc6d264f44ae61061a3b459c51cfd8d35684b2715713cb7ceadd2ae5ad
Contents?: true
Size: 540 Bytes
Versions: 1
Compression:
Stored size: 540 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 hash = WithAttributes.new({}) hash.attributes = attributes hash[:mj_na_sadu] = mj_na_sadu if has? 'MJNaSadu' 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/sub_pol_obj_type.rb |