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