Sha256: 5ccd239e345ab76aec74a6b74ba778ff275b85a03390ac2fee8d028b48bddee6

Contents?: true

Size: 366 Bytes

Versions: 1

Compression:

Stored size: 366 Bytes

Contents

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

      def data
        submodel_at(Data7, 'Data')
      end

      def to_h
        hash = {}
        hash[:attributes] = attributes

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

        hash
        super.merge(hash)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
money_s3-1.0.0 lib/money_s3/parsers/msg_bank_ucet_pokladna_type.rb