Sha256: 5f299966b3925dd3b312107d915f53fe6899f8def517f6e40f2653eb2f4f0d45

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

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

      def data
        submodel_at(StrediskoType, '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_stredisko_type.rb