Sha256: f1821a019a6146f4812e2e1139169c71d20efef62406182ee13a4d5c6ab361f8

Contents?: true

Size: 372 Bytes

Versions: 1

Compression:

Stored size: 372 Bytes

Contents

require 'money_s3/parsers/base_parser'
require 'money_s3/parsers/popt_vyd'

module MoneyS3
  module Parsers
    class SeznamPoptVyd
      include BaseParser

      def popt_vyd
        array_of_at(PoptVyd, [:PoptVyd])
      end

      def to_h
        hash = {}

        hash[:popt_vyd] = popt_vyd.map(&:to_h) if raw.key? :PoptVyd

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