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