Class: HalClient::MalformedLink
- Inherits:
-
Link
- Object
- Link
- HalClient::MalformedLink
show all
- Defined in:
- lib/hal_client/link.rb
Overview
A link that was malformed in the JSON. This class is used to delay presenting interpretation errors so that consumers can ignore malformedness that does not block their goal. For example, busted links that they will not use anyway.
Instance Attribute Summary
Attributes inherited from Link
#curie_resolver, #literal_rel
Instance Method Summary
collapse
Methods inherited from Link
#==, #fully_qualified_rel
Instance Method Details
#hash ⇒ Object
155
156
157
|
# File 'lib/hal_client/link.rb', line 155
def hash
fully_qualified_rel.hash
end
|
#raise_invalid ⇒ Object
Also known as:
raw_href, target_url, target, templated?