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