Sha256: 8119d89639673f1a3ce2d502ca22dd16922c254e268660f082b17333ab3844e4

Contents?: true

Size: 380 Bytes

Versions: 1

Compression:

Stored size: 380 Bytes

Contents

require 'money_s3/parsers/base_parser'
require 'money_s3/parsers/fakt_prij'

module MoneyS3
  module Parsers
    class SeznamFaktPrij
      include BaseParser

      def fakt_prij
        array_of_at(FaktPrij, [:FaktPrij])
      end

      def to_h
        hash = {}

        hash[:fakt_prij] = fakt_prij.map(&:to_h) if raw.key? :FaktPrij

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