Sha256: a1a6f76c69e8fd78230140060c35cbf4f62e5139949c3de06571bd17a5bc022f
Contents?: true
Size: 431 Bytes
Versions: 1
Compression:
Stored size: 431 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/prijemka' module MoneyS3 module Parsers class SeznamPrijemka include BaseParser def prijemka array_of_at(Prijemka, ['Prijemka']) end def to_h hash = WithAttributes.new({}) hash.attributes = attributes hash[:prijemka] = prijemka.map(&:to_h) if has? 'Prijemka' 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_prijemka.rb |