struct ActivityPub::Object::Attachment

Included Modules

Defined in:

models/activity_pub/object.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(url : String, media_type : String) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def audio? #

[View source]
def image? #

[View source]
def media_type : String #

[View source]
def media_type=(media_type : String) #

[View source]
def url : String #

[View source]
def url=(url : String) #

[View source]
def video? #

[View source]