Sha256: 5a4cadd74aa7aa5d5f5bcaacf28e1d4d88fe609ac77f82daa8b2d3209ce834f4

Contents?: true

Size: 364 Bytes

Versions: 1

Compression:

Stored size: 364 Bytes

Contents

require 'money_s3/parsers/base_parser'
require 'money_s3/parsers/dl_prij'

module MoneyS3
  module Parsers
    class SeznamDLPrij
      include BaseParser

      def dl_prij
        array_of_at(DLPrij, [:DLPrij])
      end

      def to_h
        hash = {}

        hash[:dl_prij] = dl_prij.map(&:to_h) if raw.key? :DLPrij

        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_dl_prij.rb