Class: Mastodon::Entities::Media

Inherits:
Base
  • Object
show all
Defined in:
lib/mastodon/entities/media.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#attributes

Method Summary

Methods inherited from Base

collection_attr_reader, define_attribute_method, define_predicate_method, #initialize, normal_attr_reader, object_attr_reader, predicate_attr_reader

Constructor Details

This class inherits a constructor from Mastodon::Base

Instance Attribute Details

#descriptionString (readonly)

Returns:

  • (String)


19
20
21
22
23
24
25
# File 'lib/mastodon/entities/media.rb', line 19

normal_attr_reader :id,
:url,
:remote_url,
:preview_url,
:type,
:meta,
:description

#idInteger (readonly)

Returns:

  • (Integer)


19
20
21
22
23
24
25
# File 'lib/mastodon/entities/media.rb', line 19

normal_attr_reader :id,
:url,
:remote_url,
:preview_url,
:type,
:meta,
:description

#metaHash (readonly)

Returns:

  • (Hash)


19
20
21
22
23
24
25
# File 'lib/mastodon/entities/media.rb', line 19

normal_attr_reader :id,
:url,
:remote_url,
:preview_url,
:type,
:meta,
:description

#preview_urlString (readonly)

Returns:

  • (String)


19
20
21
22
23
24
25
# File 'lib/mastodon/entities/media.rb', line 19

normal_attr_reader :id,
:url,
:remote_url,
:preview_url,
:type,
:meta,
:description

#remote_urlString (readonly)

Returns:

  • (String)


19
20
21
22
23
24
25
# File 'lib/mastodon/entities/media.rb', line 19

normal_attr_reader :id,
:url,
:remote_url,
:preview_url,
:type,
:meta,
:description

#typeString (readonly)

Returns:

  • (String)


19
20
21
22
23
24
25
# File 'lib/mastodon/entities/media.rb', line 19

normal_attr_reader :id,
:url,
:remote_url,
:preview_url,
:type,
:meta,
:description

#urlString (readonly)

Returns:

  • (String)


19
20
21
22
23
24
25
# File 'lib/mastodon/entities/media.rb', line 19

normal_attr_reader :id,
:url,
:remote_url,
:preview_url,
:type,
:meta,
:description