Sha256: b44d4896b18420743a287512aa868ff02163e6459baf0a19bd9b3b2981eda44b
Contents?: true
Size: 625 Bytes
Versions: 4
Compression:
Stored size: 625 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/kusovnik_type' require 'money_s3/parsers/vzor_komponenta_type' module MoneyS3 module Parsers class Reference include BaseParser def typ_kusovnik submodel_at(KusovnikType, 'TypKusovnik') end def vzor submodel_at(VzorKomponentaType, 'Vzor') end def to_h_with_attrs hash = HashWithAttributes.new({}, attributes) hash[:typ_kusovnik] = typ_kusovnik.to_h_with_attrs if has? 'TypKusovnik' hash[:vzor] = vzor.to_h_with_attrs if has? 'Vzor' hash end end end end
Version data entries
4 entries across 4 versions & 1 rubygems