Class: Lutaml::Hal::Link

Inherits:
Model::Serializable
  • Object
show all
Defined in:
lib/lutaml/hal/link.rb

Overview

HAL Link representation with realization capability

Instance Method Summary collapse

Instance Method Details

#realize(register) ⇒ Object

Fetch the actual resource this link points to



20
21
22
# File 'lib/lutaml/hal/link.rb', line 20

def realize(register)
  register.resolve_and_cast(href)
end