class Excon::HyperMedia::ResourceObject::Links

Links

Represents a collection of links part of a resource.

Private Instance Methods

property(value) click to toggle source
# File lib/excon/hypermedia/resource_object/links.rb, line 15
def property(value)
  value.respond_to?(:to_ary) ? value.map { |v| LinkObject.new(v) } : LinkObject.new(value)
end