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