Sha256: 95f6b580d0480dbdbd1a0fd5584282a886202b444c1b5aabad2cc07132c3cb58
Contents?: true
Size: 450 Bytes
Versions: 1
Compression:
Stored size: 450 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 { mj_na_sadu: mj_na_sadu, polozka: polozka.to_h }.delete_if { |k, v| v.nil? || v.empty? } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.4.0 | lib/money_s3/parsers/sub_pol_obj_type.rb |