Class: Xberg::HtmlMetadata
- Inherits:
-
Object
- Object
- Xberg::HtmlMetadata
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#author ⇒ String?
Returns the value of attribute author.
-
#base_href ⇒ String?
Returns the value of attribute base_href.
-
#canonical_url ⇒ String?
Returns the value of attribute canonical_url.
-
#description ⇒ String?
Returns the value of attribute description.
-
#headers ⇒ Array[HeaderMetadata]?
Returns the value of attribute headers.
-
#images ⇒ Array[ImageMetadataType]?
Returns the value of attribute images.
-
#keywords ⇒ Array[String]?
Returns the value of attribute keywords.
-
#language ⇒ String?
Returns the value of attribute language.
-
#links ⇒ Array[LinkMetadata]?
Returns the value of attribute links.
-
#meta_tags ⇒ Hash[String, String]?
Returns the value of attribute meta_tags.
-
#open_graph ⇒ Hash[String, String]?
Returns the value of attribute open_graph.
-
#structured_data ⇒ Array[StructuredData]?
Returns the value of attribute structured_data.
-
#text_direction ⇒ TextDirection?
Returns the value of attribute text_direction.
-
#title ⇒ String?
Returns the value of attribute title.
-
#twitter_card ⇒ Hash[String, String]?
Returns the value of attribute twitter_card.
Instance Method Summary collapse
-
#initialize ⇒ HtmlMetadata
constructor
A new instance of HtmlMetadata.
Constructor Details
#initialize ⇒ HtmlMetadata
Returns a new instance of HtmlMetadata.
1416 |
# File 'sig/types.rbs', line 1416
def initialize: (?title: String, ?description: String, ?keywords: Array[String], ?author: String, ?canonical_url: String, ?base_href: String, ?language: String, ?text_direction: TextDirection, ?open_graph: Hash[String, String], ?twitter_card: Hash[String, String], ?meta_tags: Hash[String, String], ?headers: Array[HeaderMetadata], ?links: Array[LinkMetadata], ?images: Array[ImageMetadataType], ?structured_data: Array[StructuredData]) -> void
|
Instance Attribute Details
#author ⇒ String?
Returns the value of attribute author.
1403 1404 1405 |
# File 'sig/types.rbs', line 1403 def @author end |
#base_href ⇒ String?
Returns the value of attribute base_href.
1405 1406 1407 |
# File 'sig/types.rbs', line 1405 def base_href @base_href end |
#canonical_url ⇒ String?
Returns the value of attribute canonical_url.
1404 1405 1406 |
# File 'sig/types.rbs', line 1404 def canonical_url @canonical_url end |
#description ⇒ String?
Returns the value of attribute description.
1401 1402 1403 |
# File 'sig/types.rbs', line 1401 def description @description end |
#headers ⇒ Array[HeaderMetadata]?
Returns the value of attribute headers.
1411 1412 1413 |
# File 'sig/types.rbs', line 1411 def headers @headers end |
#images ⇒ Array[ImageMetadataType]?
Returns the value of attribute images.
1413 1414 1415 |
# File 'sig/types.rbs', line 1413 def images @images end |
#keywords ⇒ Array[String]?
Returns the value of attribute keywords.
1402 1403 1404 |
# File 'sig/types.rbs', line 1402 def keywords @keywords end |
#language ⇒ String?
Returns the value of attribute language.
1406 1407 1408 |
# File 'sig/types.rbs', line 1406 def language @language end |
#links ⇒ Array[LinkMetadata]?
Returns the value of attribute links.
1412 1413 1414 |
# File 'sig/types.rbs', line 1412 def links @links end |
#meta_tags ⇒ Hash[String, String]?
Returns the value of attribute meta_tags.
1410 1411 1412 |
# File 'sig/types.rbs', line 1410 def @meta_tags end |
#open_graph ⇒ Hash[String, String]?
Returns the value of attribute open_graph.
1408 1409 1410 |
# File 'sig/types.rbs', line 1408 def open_graph @open_graph end |
#structured_data ⇒ Array[StructuredData]?
Returns the value of attribute structured_data.
1414 1415 1416 |
# File 'sig/types.rbs', line 1414 def structured_data @structured_data end |
#text_direction ⇒ TextDirection?
Returns the value of attribute text_direction.
1407 1408 1409 |
# File 'sig/types.rbs', line 1407 def text_direction @text_direction end |
#title ⇒ String?
Returns the value of attribute title.
1400 1401 1402 |
# File 'sig/types.rbs', line 1400 def title @title end |
#twitter_card ⇒ Hash[String, String]?
Returns the value of attribute twitter_card.
1409 1410 1411 |
# File 'sig/types.rbs', line 1409 def twitter_card @twitter_card end |