# File lib/gh/nested_resources.rb, line 16 def add(hash, link, name, path = name) hash["_links"][name] ||= { "href" => nested(link, path) } end