struct
JSONAPI::RelationshipInput
- JSONAPI::RelationshipInput
- Struct
- Value
- Object
Overview
Parsed relationship entry from an incoming POST/PATCH document.
Defined in:
jsonapi/deserializer.crConstructors
Instance Method Summary
- #id : String | Nil
- #identifier : ResourceIdentifier | Nil
- #identifiers : Array(ResourceIdentifier)
- #ids : Array(String)
- #single? : Bool
Constructor Detail
def self.new(single : Bool, identifier : ResourceIdentifier | Nil = nil, identifiers : Array(ResourceIdentifier) = [] of ResourceIdentifier)
#