Method: Excon::HyperMedia::ResourceObject#_links
- Defined in:
- lib/excon/hypermedia/resource_object.rb
#_links ⇒ Object
_links
The reserved “_links” property is OPTIONAL.
It is an object whose property names are link relation types (as defined by [RFC5988]) and values are either a Link Object or an array of Link Objects. The subject resource of these links is the Resource Object of which the containing “_links” object is a property.
35 36 37 |
# File 'lib/excon/hypermedia/resource_object.rb', line 35 def _links @_links ||= Links.new(@data['_links']) end |