Sha256: 315f9c4f014649fb6221ed8985cc5ab18c4509b89c7a4b29a4f6567bf4add66c

Contents?: true

Size: 372 Bytes

Versions: 1

Compression:

Stored size: 372 Bytes

Contents

require 'money_s3/parsers/base_parser'
require 'money_s3/parsers/int_dokl'

module MoneyS3
  module Parsers
    class SeznamIntDokl
      include BaseParser

      def int_dokl
        array_of_at(IntDokl, [:IntDokl])
      end

      def to_h
        hash = {}

        hash[:int_dokl] = int_dokl.map(&:to_h) if raw.key? :IntDokl

        hash
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
money_s3-0.5.0 lib/money_s3/parsers/seznam_int_dokl.rb