ActivityPub::Actor::Attachment
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(name : String, type : String, value : String)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
name
Sourcename=(name : String)
Sourcetype
Sourcetype=(type : String)
Sourcevalue
Sourcevalue=(value : String)
SourceRenders the attachment value as HTML that is safe to interpolate unescaped.