Sha256: 21ea575154f1adaed0b1ddee905183b62807aad01c8334d49181421701aec8c3

Contents?: true

Size: 369 Bytes

Versions: 2

Compression:

Stored size: 369 Bytes

Contents

module MoneyS3
  module Parsers
    class SeznamObjVyd
      include ParserCore::BaseParser

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

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

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

        hash
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
money_s3-0.12.0 lib/money_s3/parsers/seznam_obj_vyd.rb
money_s3-0.11.0 lib/money_s3/parsers/seznam_obj_vyd.rb