Sha256: 945d420b80218159b7335e11915fe248cd0f5863dafe4b86fe34f768e30f6d54
Contents?: true
Size: 409 Bytes
Versions: 6
Compression:
Stored size: 409 Bytes
Contents
module MoneyS3 module Parsers class MsgMzdaType < MessageType include ParserCore::BaseParser def nepritomnost array_of_at(MessageType, ['Nepritomnost']) end def to_h hash = {} hash[:attributes] = attributes hash[:nepritomnost] = nepritomnost.map(&:to_h) if has? 'Nepritomnost' hash super.merge(hash) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems