Sha256: c80f77e74f942f968633073258123d8308d0cd69d9babc8b68d976bb0465dde0

Contents?: true

Size: 295 Bytes

Versions: 1

Compression:

Stored size: 295 Bytes

Contents

require 'money_s3/parsers/base_parser'

module MoneyS3
  module Parsers
    class ReferenceType
      include BaseParser

      def id
        array_of_at(String, [:ID])
      end

      def to_h
        hash = {}

        hash[:id] = id if raw.key? :ID

        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/reference_type.rb