Class: Xberg::HtmlMetadata
- Inherits:
-
Object
- Object
- Xberg::HtmlMetadata
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#author ⇒ String?
readonly
Returns the value of attribute author.
-
#base_href ⇒ String?
readonly
Returns the value of attribute base_href.
-
#canonical_url ⇒ String?
readonly
Returns the value of attribute canonical_url.
-
#description ⇒ String?
readonly
Returns the value of attribute description.
-
#headers ⇒ Array[HeaderMetadata]
readonly
Returns the value of attribute headers.
-
#images ⇒ Array[ImageMetadataType]
readonly
Returns the value of attribute images.
-
#keywords ⇒ Array[String]
readonly
Returns the value of attribute keywords.
-
#language ⇒ String?
readonly
Returns the value of attribute language.
-
#links ⇒ Array[LinkMetadata]
readonly
Returns the value of attribute links.
-
#meta_tags ⇒ Hash[String, String]
readonly
Returns the value of attribute meta_tags.
-
#open_graph ⇒ Hash[String, String]
readonly
Returns the value of attribute open_graph.
-
#structured_data ⇒ Array[StructuredData]
readonly
Returns the value of attribute structured_data.
-
#text_direction ⇒ enum_TextDirection?
readonly
Returns the value of attribute text_direction.
-
#title ⇒ String?
readonly
Returns the value of attribute title.
-
#twitter_card ⇒ Hash[String, String]
readonly
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.
1242 |
# File 'sig/types.rbs', line 1242
def initialize: (?title: String, ?description: String, ?keywords: Array[String], ?author: String, ?canonical_url: String, ?base_href: String, ?language: String, ?text_direction: enum_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? (readonly)
Returns the value of attribute author.
1229 1230 1231 |
# File 'sig/types.rbs', line 1229 def @author end |
#base_href ⇒ String? (readonly)
Returns the value of attribute base_href.
1231 1232 1233 |
# File 'sig/types.rbs', line 1231 def base_href @base_href end |
#canonical_url ⇒ String? (readonly)
Returns the value of attribute canonical_url.
1230 1231 1232 |
# File 'sig/types.rbs', line 1230 def canonical_url @canonical_url end |
#description ⇒ String? (readonly)
Returns the value of attribute description.
1227 1228 1229 |
# File 'sig/types.rbs', line 1227 def description @description end |
#headers ⇒ Array[HeaderMetadata] (readonly)
Returns the value of attribute headers.
1237 1238 1239 |
# File 'sig/types.rbs', line 1237 def headers @headers end |
#images ⇒ Array[ImageMetadataType] (readonly)
Returns the value of attribute images.
1239 1240 1241 |
# File 'sig/types.rbs', line 1239 def images @images end |
#keywords ⇒ Array[String] (readonly)
Returns the value of attribute keywords.
1228 1229 1230 |
# File 'sig/types.rbs', line 1228 def keywords @keywords end |
#language ⇒ String? (readonly)
Returns the value of attribute language.
1232 1233 1234 |
# File 'sig/types.rbs', line 1232 def language @language end |
#links ⇒ Array[LinkMetadata] (readonly)
Returns the value of attribute links.
1238 1239 1240 |
# File 'sig/types.rbs', line 1238 def links @links end |
#meta_tags ⇒ Hash[String, String] (readonly)
Returns the value of attribute meta_tags.
1236 1237 1238 |
# File 'sig/types.rbs', line 1236 def @meta_tags end |
#open_graph ⇒ Hash[String, String] (readonly)
Returns the value of attribute open_graph.
1234 1235 1236 |
# File 'sig/types.rbs', line 1234 def open_graph @open_graph end |
#structured_data ⇒ Array[StructuredData] (readonly)
Returns the value of attribute structured_data.
1240 1241 1242 |
# File 'sig/types.rbs', line 1240 def structured_data @structured_data end |
#text_direction ⇒ enum_TextDirection? (readonly)
Returns the value of attribute text_direction.
1233 1234 1235 |
# File 'sig/types.rbs', line 1233 def text_direction @text_direction end |
#title ⇒ String? (readonly)
Returns the value of attribute title.
1226 1227 1228 |
# File 'sig/types.rbs', line 1226 def title @title end |
#twitter_card ⇒ Hash[String, String] (readonly)
Returns the value of attribute twitter_card.
1235 1236 1237 |
# File 'sig/types.rbs', line 1235 def twitter_card @twitter_card end |