Ktistec::JSON_LD::Loader
Inherits Reference < Object
Loads context from cache.
Exposed for testing. Should not be used directly.
Constants
ACTIVITYSTREAMS_COMPATIBILITY_TERM_DEFINITIONS = {"Hashtag" => wrap("https://www.w3.org/ns/activitystreams#Hashtag"), "sensitive" => wrap("https://www.w3.org/ns/activitystreams#sensitive"), "schema" => wrap("http://schema.org#"), "PropertyValue" => wrap("schema:PropertyValue"), "value" => wrap("schema:value"), "toot" => wrap("http://joinmastodon.org/ns#"), "featured" => wrap({"@id" => wrap("toot:featured"), "@type" => wrap("@id")})}
ACTIVITYSTREAMS_CONTEXT = "www.w3.org/ns/activitystreams/context.jsonld"
compatibility definitions for commonly omitted terms
MAX_MEMO_ENTRIES = 100
Class methods
memo_ttl
Sourcememo_ttl=(memo_ttl : Time::Span)
SourceInstance methods
document_origin
Sourcedocument_origin=(document_origin : String | Nil)
Sourceload(url)
Source