Sha256: efee2850eb31ae5dc192c5ffedb18ee3cb0f897c6d72810f33b730e859ce38a7
Contents?: true
Size: 814 Bytes
Versions: 1
Compression:
Stored size: 814 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/ekategorie_zasoba_type' module MoneyS3 module Parsers class EkategorieZasobaType include BaseParser def id at :ID end def name at :Name end def descript at :Descript end def poznamka at :Poznamka end def changed at :Changed end def public at :Public end def parent submodel_at(EkategorieZasobaType, :Parent) end def to_h { id: id, name: name, descript: descript, poznamka: poznamka, changed: changed, public: public, parent: parent.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_zasoba_type.rb |