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