Sha256: f189bebc44c59b052975498b09ce24cef39137c4be568132b5a091fb6788ef92
Contents?: true
Size: 612 Bytes
Versions: 4
Compression:
Stored size: 612 Bytes
Contents
require 'money_s3/parsers/base_parser' module MoneyS3 module Parsers class PracPomer include BaseParser def zkrat at 'Zkrat' end def popis at 'Popis' end def eldp_kod at 'ELDPKod' end def pozn at 'Pozn' end def to_h_with_attrs hash = HashWithAttributes.new({}, attributes) hash[:zkrat] = zkrat if has? 'Zkrat' hash[:popis] = popis if has? 'Popis' hash[:eldp_kod] = eldp_kod if has? 'ELDPKod' hash[:pozn] = pozn if has? 'Pozn' hash end end end end
Version data entries
4 entries across 4 versions & 1 rubygems