Sha256: c5a0941c529045884ee1ce2f3e14d867ed8d0bd205ca949b3b39676e468001df
Contents?: true
Size: 973 Bytes
Versions: 1
Compression:
Stored size: 973 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/e_shop_info' require 'money_s3/parsers/ekategorie_type' module MoneyS3 module Parsers class EkategorieType include BaseParser def id at :ID end def name at :Name end def descript at :Descript end def in_changed at :IN_Changed end def no_public at :NoPublic end def e_shop_info submodel_at(EShopInfo, :eShopInfo) end def seznam_podr_kategorii array_of_at(EkategorieType, [:SeznamPodrKategorii, :eKategorie]) end def to_h { id: id, name: name, descript: descript, in_changed: in_changed, no_public: no_public, e_shop_info: e_shop_info.to_h, seznam_podr_kategorii: seznam_podr_kategorii.map(&: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/ekategorie_type.rb |