Class: Mastodon::Card

Inherits:
Base
  • Object
show all
Defined in:
lib/mastodon/card.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

#author_nameString (readonly)


28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/mastodon/card.rb', line 28

normal_attr_reader :url,
:title,
:description,
:image,
:type,
:author_name,
:author_url,
:provider_name,
:provider_url,
:html,
:width,
:height

#author_urlString (readonly)


28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/mastodon/card.rb', line 28

normal_attr_reader :url,
:title,
:description,
:image,
:type,
:author_name,
:author_url,
:provider_name,
:provider_url,
:html,
:width,
:height

#descriptionString (readonly)


28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/mastodon/card.rb', line 28

normal_attr_reader :url,
:title,
:description,
:image,
:type,
:author_name,
:author_url,
:provider_name,
:provider_url,
:html,
:width,
:height

#heightString (readonly)


28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/mastodon/card.rb', line 28

normal_attr_reader :url,
:title,
:description,
:image,
:type,
:author_name,
:author_url,
:provider_name,
:provider_url,
:html,
:width,
:height

#htmlString (readonly)


28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/mastodon/card.rb', line 28

normal_attr_reader :url,
:title,
:description,
:image,
:type,
:author_name,
:author_url,
:provider_name,
:provider_url,
:html,
:width,
:height

#imageString (readonly)


28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/mastodon/card.rb', line 28

normal_attr_reader :url,
:title,
:description,
:image,
:type,
:author_name,
:author_url,
:provider_name,
:provider_url,
:html,
:width,
:height

#provider_nameString (readonly)


28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/mastodon/card.rb', line 28

normal_attr_reader :url,
:title,
:description,
:image,
:type,
:author_name,
:author_url,
:provider_name,
:provider_url,
:html,
:width,
:height

#provider_urlString (readonly)


28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/mastodon/card.rb', line 28

normal_attr_reader :url,
:title,
:description,
:image,
:type,
:author_name,
:author_url,
:provider_name,
:provider_url,
:html,
:width,
:height

#titleString (readonly)


28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/mastodon/card.rb', line 28

normal_attr_reader :url,
:title,
:description,
:image,
:type,
:author_name,
:author_url,
:provider_name,
:provider_url,
:html,
:width,
:height

#typeString (readonly)


28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/mastodon/card.rb', line 28

normal_attr_reader :url,
:title,
:description,
:image,
:type,
:author_name,
:author_url,
:provider_name,
:provider_url,
:html,
:width,
:height

#urlString (readonly)


28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/mastodon/card.rb', line 28

normal_attr_reader :url,
:title,
:description,
:image,
:type,
:author_name,
:author_url,
:provider_name,
:provider_url,
:html,
:width,
:height

#widthString (readonly)


28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/mastodon/card.rb', line 28

normal_attr_reader :url,
:title,
:description,
:image,
:type,
:author_name,
:author_url,
:provider_name,
:provider_url,
:html,
:width,
:height