Sha256: 95cb2e2a3106ebadc3a11454314c0f784493e4c9138333f2b784911533e161a6

Contents?: true

Size: 383 Bytes

Versions: 7

Compression:

Stored size: 383 Bytes

Contents

module MoneyS3
  module Parsers
    class SeznamCenHladin
      include ParserCore::BaseParser

      def cenova_hladina
        array_of_at(CenovaHladina, ['CenovaHladina'])
      end

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

        hash[:cenova_hladina] = cenova_hladina.map(&:to_h) if has? 'CenovaHladina'

        hash
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
money_s3-2.4.1 lib/money_s3/parsers/seznam_cen_hladin.rb
money_s3-2.4.0 lib/money_s3/parsers/seznam_cen_hladin.rb
money_s3-2.3.0 lib/money_s3/parsers/seznam_cen_hladin.rb
money_s3-2.2.0 lib/money_s3/parsers/seznam_cen_hladin.rb
money_s3-2.1.0 lib/money_s3/parsers/seznam_cen_hladin.rb
money_s3-2.0.0 lib/money_s3/parsers/seznam_cen_hladin.rb
money_s3-1.0.0 lib/money_s3/parsers/seznam_cen_hladin.rb