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