Sha256: 61c3898ade4c9407faf79f0de42bceaa7f4778f1c90bb1ab9e802ba92641b0a3
Contents?: true
Size: 366 Bytes
Versions: 7
Compression:
Stored size: 366 Bytes
Contents
module MoneyS3 module Parsers class SeznamKurzListku include ParserCore::BaseParser def kurz_listek array_of_at(KurzListek, ['KurzListek']) end def to_h hash = {} hash[:attributes] = attributes hash[:kurz_listek] = kurz_listek.map(&:to_h) if has? 'KurzListek' hash end end end end
Version data entries
7 entries across 7 versions & 1 rubygems