Sha256: 30f1eb6dcb256a18cb9b00eabda08ebebea7fefdef976a07d7c74d31e80e39e1

Contents?: true

Size: 364 Bytes

Versions: 1

Compression:

Stored size: 364 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
        hash = {}

        hash[:obj_vyd] = obj_vyd.map(&:to_h) if raw.key? :ObjVyd

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