Sha256: 64b50601a2fea53be2d210245ae1849ae738d0613799fb2196a292cce162bd15
Contents?: true
Size: 444 Bytes
Versions: 4
Compression:
Stored size: 444 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/uc_osnova_type' module MoneyS3 module Parsers class SeznamUcOsnov include BaseParser def uc_osnova array_of_at(UcOsnovaType, ['UcOsnova']) end def to_h_with_attrs hash = HashWithAttributes.new({}, attributes) hash[:uc_osnova] = uc_osnova.map(&:to_h_with_attrs) if has? 'UcOsnova' hash end end end end
Version data entries
4 entries across 4 versions & 1 rubygems