Sha256: 3013f781ca2feec6731f6867ad2b26b0e8b97b4787daf84e047ad7bfd37e5324
Contents?: true
Size: 329 Bytes
Versions: 7
Compression:
Stored size: 329 Bytes
Contents
module MoneyS3 module Parsers class SeznamSkladu include ParserCore::BaseParser def sklad array_of_at(Sklad, ['Sklad']) end def to_h hash = {} hash[:attributes] = attributes hash[:sklad] = sklad.map(&:to_h) if has? 'Sklad' hash end end end end
Version data entries
7 entries across 7 versions & 1 rubygems