Sha256: 971decbf00ff42ec7dd3c09a4d3d4995e4ed535283de98076d7a7590e30c66b6
Contents?: true
Size: 461 Bytes
Versions: 1
Compression:
Stored size: 461 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/kusovnik_type' module MoneyS3 module Parsers class SeznamTypKusovnik include BaseParser def typ_kusovnik array_of_at(KusovnikType, ['TypKusovnik']) end def to_h hash = WithAttributes.new({}) hash.attributes = attributes hash[:typ_kusovnik] = typ_kusovnik.map(&:to_h) if has? 'TypKusovnik' 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_typ_kusovnik.rb |