Sha256: 68e3012962d6ff10c174cfbb91e8348d4dd7caa8dfb39b3c4e24e0070349108d

Contents?: true

Size: 420 Bytes

Versions: 4

Compression:

Stored size: 420 Bytes

Contents

require 'money_s3/parsers/base_parser'
require 'money_s3/parsers/obj_vyd'

module MoneyS3
  module Parsers
    class SeznamObjVyd
      include BaseParser

      def obj_vyd
        array_of_at(ObjVyd, ['ObjVyd'])
      end

      def to_h_with_attrs
        hash = HashWithAttributes.new({}, attributes)

        hash[:obj_vyd] = obj_vyd.map(&:to_h_with_attrs) if has? 'ObjVyd'

        hash
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
money_s3-0.10.0 lib/money_s3/parsers/seznam_obj_vyd.rb
money_s3-0.9.0 lib/money_s3/parsers/seznam_obj_vyd.rb
money_s3-0.8.0 lib/money_s3/parsers/seznam_obj_vyd.rb
money_s3-0.7.0 lib/money_s3/parsers/seznam_obj_vyd.rb