Sha256: f4f41998123280a7c99a36ea658d8aa76811d9057cd0b82cc31c1199215882ea

Contents?: true

Size: 394 Bytes

Versions: 2

Compression:

Stored size: 394 Bytes

Contents

module MoneyS3
  module Parsers
    class MsgPredkontaceDEType < MessageType
      include ParserCore::BaseParser

      def data
        submodel_at(Data4, 'Data')
      end

      def to_h_with_attrs
        hash = ParserCore::HashWithAttributes.new({}, attributes)

        hash[:data] = data.to_h_with_attrs if has? 'Data'

        hash
        super.merge(hash)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
money_s3-0.12.0 lib/money_s3/parsers/msg_predkontace_de_type.rb
money_s3-0.11.0 lib/money_s3/parsers/msg_predkontace_de_type.rb