Class: Mastodon::Entities::Media
- Inherits:
-
Base
- Object
- Base
- Mastodon::Entities::Media
show all
- Defined in:
- lib/mastodon/entities/media.rb
Overview
Media parts of a toot, like pictures or videos.
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
#description ⇒ String
22
23
24
25
26
27
28
|
# File 'lib/mastodon/entities/media.rb', line 22
normal_attr_reader :id,
:url,
:remote_url,
:preview_url,
:type,
:meta,
:description
|
#id ⇒ Integer
22
23
24
25
26
27
28
|
# File 'lib/mastodon/entities/media.rb', line 22
normal_attr_reader :id,
:url,
:remote_url,
:preview_url,
:type,
:meta,
:description
|
22
23
24
25
26
27
28
|
# File 'lib/mastodon/entities/media.rb', line 22
normal_attr_reader :id,
:url,
:remote_url,
:preview_url,
:type,
:meta,
:description
|
#preview_url ⇒ String
22
23
24
25
26
27
28
|
# File 'lib/mastodon/entities/media.rb', line 22
normal_attr_reader :id,
:url,
:remote_url,
:preview_url,
:type,
:meta,
:description
|
#remote_url ⇒ String
22
23
24
25
26
27
28
|
# File 'lib/mastodon/entities/media.rb', line 22
normal_attr_reader :id,
:url,
:remote_url,
:preview_url,
:type,
:meta,
:description
|
#type ⇒ String
22
23
24
25
26
27
28
|
# File 'lib/mastodon/entities/media.rb', line 22
normal_attr_reader :id,
:url,
:remote_url,
:preview_url,
:type,
:meta,
:description
|
#url ⇒ String
22
23
24
25
26
27
28
|
# File 'lib/mastodon/entities/media.rb', line 22
normal_attr_reader :id,
:url,
:remote_url,
:preview_url,
:type,
:meta,
:description
|