Sha256: 7225f9a2f6819a2aa9f01b94b231b23d0ad1f79fb8ddc1531bba404af498e88f
Contents?: true
Size: 462 Bytes
Versions: 4
Compression:
Stored size: 462 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/kusovnik_type' module MoneyS3 module Parsers class SeznamZakKusovnik include BaseParser def zak_kusovnik array_of_at(KusovnikType, ['ZakKusovnik']) end def to_h_with_attrs hash = HashWithAttributes.new({}, attributes) hash[:zak_kusovnik] = zak_kusovnik.map(&:to_h_with_attrs) if has? 'ZakKusovnik' hash end end end end
Version data entries
4 entries across 4 versions & 1 rubygems