struct JSONAPI::ResourceIdentifier

Overview

Parsed JSON:API resource identifier (#type + #id) from relationship linkage.

Defined in:

jsonapi/deserializer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : String, id : String) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(type _type = @type, id _id = @id) #

[View source]
def id : String #

def type : String #