Sha256: 46376e69b157e45baa59c88b5029e235ed00ebd7832d332df591414d9dd81466
Contents?: true
Size: 451 Bytes
Versions: 1
Compression:
Stored size: 451 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/kurz_listek' module MoneyS3 module Parsers class SeznamKurzListku include BaseParser def kurz_listek array_of_at(KurzListek, ['KurzListek']) end def to_h hash = WithAttributes.new({}) hash.attributes = attributes hash[:kurz_listek] = kurz_listek.map(&:to_h) if has? 'KurzListek' hash end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.6.0 | lib/money_s3/parsers/seznam_kurz_listku.rb |