Sha256: 7947a208bd17fabad866518e88ab600051251dd64f2341d608d32632cbba3f2c

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

module MoneyS3
  module Parsers
    class Data3
      include ParserCore::BaseParser

      def uc_pohyb
        submodel_at(UcPohybType, 'UcPohyb')
      end

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

        hash[:uc_pohyb] = uc_pohyb.to_h if has? 'UcPohyb'

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