Sha256: 9fb3d1440e845168885ef653d3135de050ac9a4d0484b96e4b34b98585f7bca2

Contents?: true

Size: 362 Bytes

Versions: 1

Compression:

Stored size: 362 Bytes

Contents

require 'money_s3/parsers/base_parser'
require 'money_s3/parsers/obj_prij'

module MoneyS3
  module Parsers
    class SeznamObjPrij
      include BaseParser

      def obj_prij
        array_of_at(ObjPrij, [:ObjPrij])
      end

      def to_h
        { obj_prij: obj_prij.map(&:to_h)
        }.delete_if { |k, v| v.nil? || v.empty? }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
money_s3-0.4.0 lib/money_s3/parsers/seznam_obj_prij.rb