Sha256: f4ca8b3a5251dec9818cdc28e4a15b2db4693b1caa11c21107f19281c37649d9

Contents?: true

Size: 388 Bytes

Versions: 1

Compression:

Stored size: 388 Bytes

Contents

require 'money_s3/parsers/base_parser'
require 'money_s3/parsers/uc_osnova_type'

module MoneyS3
  module Parsers
    class SeznamUcOsnov
      include BaseParser

      def uc_osnova
        array_of_at(UcOsnovaType, [:UcOsnova])
      end

      def to_h
        hash = {}

        hash[:uc_osnova] = uc_osnova.map(&:to_h) if raw.key? :UcOsnova

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