class JSONAPI::Types::Resource

@see jsonapi.org/format/#document-resource-objects

Public Instance Methods

identifier() click to toggle source
# File lib/jsonapi/types/resource.rb, line 16
def identifier
  ResourceIdentifier.new(id: id, type: type)
end