Sha256: 37df0d9b580e414747afa1acf2c2a7437199d00d8df3820933b81c034a0e1aa3
Contents?: true
Size: 456 Bytes
Versions: 4
Compression:
Stored size: 456 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/predkontace' module MoneyS3 module Parsers class SeznamPredkontaci include BaseParser def predkontace array_of_at(Predkontace, ['Predkontace']) end def to_h_with_attrs hash = HashWithAttributes.new({}, attributes) hash[:predkontace] = predkontace.map(&:to_h_with_attrs) if has? 'Predkontace' hash end end end end
Version data entries
4 entries across 4 versions & 1 rubygems