struct JSONAPI::LinkObject

Overview

Full JSON:API v1.1 link object with optional metadata attributes.

Defined in:

jsonapi/links.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def describedby : String | Nil #

[View source]
def href : String #

[View source]
def hreflang : String | Nil #

[View source]
def meta : Meta | Nil #

[View source]
def rel : String | Nil #

[View source]
def title : String | Nil #

[View source]
def to_json(json : JSON::Builder) : Nil #

[View source]
def type : String | Nil #

[View source]