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