Sha256: 4409ec58158bf8ac5009579c9ba00f963226f0083164d3aab7cd2e2843f263d5
Contents?: true
Size: 452 Bytes
Versions: 4
Compression:
Stored size: 452 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_with_attrs hash = HashWithAttributes.new({}, attributes) hash[:kurz_listek] = kurz_listek.map(&:to_h_with_attrs) if has? 'KurzListek' hash end end end end
Version data entries
4 entries across 4 versions & 1 rubygems