Sha256: 6ff706ee65390818f2009bfa047eb3fe4e9a219d34625ccfd47b53d09ac72e38
Contents?: true
Size: 340 Bytes
Versions: 4
Compression:
Stored size: 340 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_with_attrs hash = HashWithAttributes.new({}, attributes) hash[:id] = id if has? 'ID' hash end end end end
Version data entries
4 entries across 4 versions & 1 rubygems