Sha256: 54a6aec09d59bd8e1beccf133bcbc1e0bed6ae310dc2537bcdc18a49913cdc62

Contents?: true

Size: 368 Bytes

Versions: 1

Compression:

Stored size: 368 Bytes

Contents

module MoneyS3
  module Parsers
    class Data5
      include ParserCore::BaseParser

      def zauctovani_dph
        submodel_at(ZauctovaniDPHType, 'ZauctovaniDPH')
      end

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

        hash[:zauctovani_dph] = zauctovani_dph.to_h if has? 'ZauctovaniDPH'

        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/data5.rb