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