Sha256: e8a875ab3ef97720327135b3cd573e164f6c361a9f43073b0d48173d0dd9a0a4
Contents?: true
Size: 464 Bytes
Versions: 3
Compression:
Stored size: 464 Bytes
Contents
# frozen_string_literal: true module Excon module HyperMedia class ResourceObject # Links # # Represents a collection of links part of a resource. # class Embedded include Collection private def property(value) if value.respond_to?(:to_ary) value.map { |v| ResourceObject.new(v) } else ResourceObject.new(value) end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems