Sha256: 64494ac905d4a2630aebc47e1bb33d6f2726a7bd03fd06208e53fe8982c81e5f
Contents?: true
Size: 637 Bytes
Versions: 4
Compression:
Stored size: 637 Bytes
Contents
require 'money_s3/parsers/base_parser' module MoneyS3 module Parsers class DodavkaType include BaseParser def oznaceni at 'Oznaceni' end def dat_exp at 'DatExp' end def pocet_mj at 'PocetMJ' end def cena at 'Cena' end def to_h_with_attrs hash = HashWithAttributes.new({}, attributes) hash[:oznaceni] = oznaceni if has? 'Oznaceni' hash[:dat_exp] = dat_exp if has? 'DatExp' hash[:pocet_mj] = pocet_mj if has? 'PocetMJ' hash[:cena] = cena if has? 'Cena' hash end end end end
Version data entries
4 entries across 4 versions & 1 rubygems