Method: Hyperclient::Link#_url

Defined in:
lib/hyperclient/link.rb

#_urlObject

Returns the url of the Link.



61
62
63
64
65
# File 'lib/hyperclient/link.rb', line 61

def _url
  return @link['href'] unless _templated?

  @url ||= _uri_template.expand(@uri_variables || {}).to_s
end