Sha256: 0e1bb83dbc694e0e72417e607667614da46a6fcd912a74f6c0fafd9e193722fa
Contents?: true
Size: 325 Bytes
Versions: 7
Compression:
Stored size: 325 Bytes
Contents
module MoneyS3 module Parsers class SeznamMezd include ParserCore::BaseParser def mzda array_of_at(MzdaType, ['Mzda']) end def to_h hash = {} hash[:attributes] = attributes hash[:mzda] = mzda.map(&:to_h) if has? 'Mzda' hash end end end end
Version data entries
7 entries across 7 versions & 1 rubygems