struct
JSONAPI::LinkObject
- JSONAPI::LinkObject
- Struct
- Value
- Object
Overview
Full JSON:API v1.1 link object with optional metadata attributes.
Defined in:
jsonapi/links.crConstructors
Instance Method Summary
- #describedby : String | Nil
- #href : String
- #hreflang : String | Nil
- #meta : Meta | Nil
- #rel : String | Nil
- #title : String | Nil
- #to_json(json : JSON::Builder) : Nil
- #type : String | Nil
Constructor Detail
def self.new(href : String, rel : String | Nil = nil, describedby : String | Nil = nil, title : String | Nil = nil, type : String | Nil = nil, hreflang : String | Nil = nil, meta : Meta | Nil = nil)
#