Sha256: ab8bcc78c24e21ac9bd1cac141bbf6d63d2ab93099393b5d5193065fe5449804
Contents?: true
Size: 950 Bytes
Versions: 2
Compression:
Stored size: 950 Bytes
Contents
module MoneyS3 module Parsers class EkategorieZasobaType include ParserCore::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_with_attrs hash = ParserCore::HashWithAttributes.new({}, attributes) hash[:id] = id if has? 'ID' hash[:name] = name if has? 'Name' hash[:descript] = descript if has? 'Descript' hash[:poznamka] = poznamka if has? 'Poznamka' hash[:changed] = changed if has? 'Changed' hash[:public] = public if has? 'Public' hash[:parent] = parent.to_h_with_attrs if has? 'Parent' hash end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.12.0 | lib/money_s3/parsers/ekategorie_zasoba_type.rb |
money_s3-0.11.0 | lib/money_s3/parsers/ekategorie_zasoba_type.rb |