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_name ⇒ String (readonly)

Returns:

  • (String)


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

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

#author_url ⇒ String (readonly)

Returns:

  • (String)


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

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

#description ⇒ String (readonly)

Returns:

  • (String)


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

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

#height ⇒ String (readonly)

Returns:

  • (String)


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

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

#html ⇒ String (readonly)

Returns:

  • (String)


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

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

#image ⇒ String (readonly)

Returns:

  • (String)


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

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

#provider_name ⇒ String (readonly)

Returns:

  • (String)


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

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

#provider_url ⇒ String (readonly)

Returns:

  • (String)


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

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

#title ⇒ String (readonly)

Returns:

  • (String)


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

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

#type ⇒ String (readonly)

Returns:

  • (String)


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

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

#url ⇒ String (readonly)

Returns:

  • (String)


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

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

#width ⇒ String (readonly)

Returns:

  • (String)


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

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