Class: Crawlberg::PageMetadata
- Inherits:
-
Object
- Object
- Crawlberg::PageMetadata
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#article ⇒ ArticleMetadata?
Returns the value of attribute article.
-
#author ⇒ String?
Returns the value of attribute author.
-
#canonical_url ⇒ String?
Returns the value of attribute canonical_url.
-
#dc_creator ⇒ String?
Returns the value of attribute dc_creator.
-
#dc_date ⇒ String?
Returns the value of attribute dc_date.
-
#dc_description ⇒ String?
Returns the value of attribute dc_description.
-
#dc_format ⇒ String?
Returns the value of attribute dc_format.
-
#dc_identifier ⇒ String?
Returns the value of attribute dc_identifier.
-
#dc_language ⇒ String?
Returns the value of attribute dc_language.
-
#dc_publisher ⇒ String?
Returns the value of attribute dc_publisher.
-
#dc_rights ⇒ String?
Returns the value of attribute dc_rights.
-
#dc_subject ⇒ String?
Returns the value of attribute dc_subject.
-
#dc_title ⇒ String?
Returns the value of attribute dc_title.
-
#dc_type ⇒ String?
Returns the value of attribute dc_type.
-
#description ⇒ String?
Returns the value of attribute description.
-
#favicons ⇒ Array[FaviconInfo]?
Returns the value of attribute favicons.
-
#generator ⇒ String?
Returns the value of attribute generator.
-
#headings ⇒ Array[HeadingInfo]?
Returns the value of attribute headings.
-
#hreflangs ⇒ Array[HreflangEntry]?
Returns the value of attribute hreflangs.
-
#html_dir ⇒ String?
Returns the value of attribute html_dir.
-
#html_lang ⇒ String?
Returns the value of attribute html_lang.
-
#keywords ⇒ String?
Returns the value of attribute keywords.
-
#og_audio ⇒ String?
Returns the value of attribute og_audio.
-
#og_description ⇒ String?
Returns the value of attribute og_description.
-
#og_image ⇒ String?
Returns the value of attribute og_image.
-
#og_locale ⇒ String?
Returns the value of attribute og_locale.
-
#og_locale_alternates ⇒ Array[String]?
Returns the value of attribute og_locale_alternates.
-
#og_site_name ⇒ String?
Returns the value of attribute og_site_name.
-
#og_title ⇒ String?
Returns the value of attribute og_title.
-
#og_type ⇒ String?
Returns the value of attribute og_type.
-
#og_url ⇒ String?
Returns the value of attribute og_url.
-
#og_video ⇒ String?
Returns the value of attribute og_video.
-
#robots ⇒ String?
Returns the value of attribute robots.
-
#theme_color ⇒ String?
Returns the value of attribute theme_color.
-
#title ⇒ String?
Returns the value of attribute title.
-
#twitter_card ⇒ String?
Returns the value of attribute twitter_card.
-
#twitter_creator ⇒ String?
Returns the value of attribute twitter_creator.
-
#twitter_description ⇒ String?
Returns the value of attribute twitter_description.
-
#twitter_image ⇒ String?
Returns the value of attribute twitter_image.
-
#twitter_site ⇒ String?
Returns the value of attribute twitter_site.
-
#twitter_title ⇒ String?
Returns the value of attribute twitter_title.
-
#viewport ⇒ String?
Returns the value of attribute viewport.
-
#word_count ⇒ Integer?
Returns the value of attribute word_count.
Instance Method Summary collapse
-
#initialize ⇒ PageMetadata
constructor
A new instance of PageMetadata.
Constructor Details
#initialize ⇒ PageMetadata
Returns a new instance of PageMetadata.
395 |
# File 'sig/types.rbs', line 395
def initialize: (?title: String, ?description: String, ?canonical_url: String, ?keywords: String, ?author: String, ?viewport: String, ?theme_color: String, ?generator: String, ?robots: String, ?html_lang: String, ?html_dir: String, ?og_title: String, ?og_type: String, ?og_image: String, ?og_description: String, ?og_url: String, ?og_site_name: String, ?og_locale: String, ?og_video: String, ?og_audio: String, ?og_locale_alternates: Array[String], ?twitter_card: String, ?twitter_title: String, ?twitter_description: String, ?twitter_image: String, ?twitter_site: String, ?twitter_creator: String, ?dc_title: String, ?dc_creator: String, ?dc_subject: String, ?dc_description: String, ?dc_publisher: String, ?dc_date: String, ?dc_type: String, ?dc_format: String, ?dc_identifier: String, ?dc_language: String, ?dc_rights: String, ?article: ArticleMetadata, ?hreflangs: Array[HreflangEntry], ?favicons: Array[FaviconInfo], ?headings: Array[HeadingInfo], ?word_count: Integer) -> void
|
Instance Attribute Details
#article ⇒ ArticleMetadata?
Returns the value of attribute article.
389 390 391 |
# File 'sig/types.rbs', line 389 def article @article end |
#author ⇒ String?
Returns the value of attribute author.
355 356 357 |
# File 'sig/types.rbs', line 355 def @author end |
#canonical_url ⇒ String?
Returns the value of attribute canonical_url.
353 354 355 |
# File 'sig/types.rbs', line 353 def canonical_url @canonical_url end |
#dc_creator ⇒ String?
Returns the value of attribute dc_creator.
379 380 381 |
# File 'sig/types.rbs', line 379 def dc_creator @dc_creator end |
#dc_date ⇒ String?
Returns the value of attribute dc_date.
383 384 385 |
# File 'sig/types.rbs', line 383 def dc_date @dc_date end |
#dc_description ⇒ String?
Returns the value of attribute dc_description.
381 382 383 |
# File 'sig/types.rbs', line 381 def dc_description @dc_description end |
#dc_format ⇒ String?
Returns the value of attribute dc_format.
385 386 387 |
# File 'sig/types.rbs', line 385 def dc_format @dc_format end |
#dc_identifier ⇒ String?
Returns the value of attribute dc_identifier.
386 387 388 |
# File 'sig/types.rbs', line 386 def dc_identifier @dc_identifier end |
#dc_language ⇒ String?
Returns the value of attribute dc_language.
387 388 389 |
# File 'sig/types.rbs', line 387 def dc_language @dc_language end |
#dc_publisher ⇒ String?
Returns the value of attribute dc_publisher.
382 383 384 |
# File 'sig/types.rbs', line 382 def dc_publisher @dc_publisher end |
#dc_rights ⇒ String?
Returns the value of attribute dc_rights.
388 389 390 |
# File 'sig/types.rbs', line 388 def dc_rights @dc_rights end |
#dc_subject ⇒ String?
Returns the value of attribute dc_subject.
380 381 382 |
# File 'sig/types.rbs', line 380 def dc_subject @dc_subject end |
#dc_title ⇒ String?
Returns the value of attribute dc_title.
378 379 380 |
# File 'sig/types.rbs', line 378 def dc_title @dc_title end |
#dc_type ⇒ String?
Returns the value of attribute dc_type.
384 385 386 |
# File 'sig/types.rbs', line 384 def dc_type @dc_type end |
#description ⇒ String?
Returns the value of attribute description.
352 353 354 |
# File 'sig/types.rbs', line 352 def description @description end |
#favicons ⇒ Array[FaviconInfo]?
Returns the value of attribute favicons.
391 392 393 |
# File 'sig/types.rbs', line 391 def favicons @favicons end |
#generator ⇒ String?
Returns the value of attribute generator.
358 359 360 |
# File 'sig/types.rbs', line 358 def generator @generator end |
#headings ⇒ Array[HeadingInfo]?
Returns the value of attribute headings.
392 393 394 |
# File 'sig/types.rbs', line 392 def headings @headings end |
#hreflangs ⇒ Array[HreflangEntry]?
Returns the value of attribute hreflangs.
390 391 392 |
# File 'sig/types.rbs', line 390 def hreflangs @hreflangs end |
#html_dir ⇒ String?
Returns the value of attribute html_dir.
361 362 363 |
# File 'sig/types.rbs', line 361 def html_dir @html_dir end |
#html_lang ⇒ String?
Returns the value of attribute html_lang.
360 361 362 |
# File 'sig/types.rbs', line 360 def html_lang @html_lang end |
#keywords ⇒ String?
Returns the value of attribute keywords.
354 355 356 |
# File 'sig/types.rbs', line 354 def keywords @keywords end |
#og_audio ⇒ String?
Returns the value of attribute og_audio.
370 371 372 |
# File 'sig/types.rbs', line 370 def og_audio @og_audio end |
#og_description ⇒ String?
Returns the value of attribute og_description.
365 366 367 |
# File 'sig/types.rbs', line 365 def og_description @og_description end |
#og_image ⇒ String?
Returns the value of attribute og_image.
364 365 366 |
# File 'sig/types.rbs', line 364 def og_image @og_image end |
#og_locale ⇒ String?
Returns the value of attribute og_locale.
368 369 370 |
# File 'sig/types.rbs', line 368 def og_locale @og_locale end |
#og_locale_alternates ⇒ Array[String]?
Returns the value of attribute og_locale_alternates.
371 372 373 |
# File 'sig/types.rbs', line 371 def og_locale_alternates @og_locale_alternates end |
#og_site_name ⇒ String?
Returns the value of attribute og_site_name.
367 368 369 |
# File 'sig/types.rbs', line 367 def og_site_name @og_site_name end |
#og_title ⇒ String?
Returns the value of attribute og_title.
362 363 364 |
# File 'sig/types.rbs', line 362 def og_title @og_title end |
#og_type ⇒ String?
Returns the value of attribute og_type.
363 364 365 |
# File 'sig/types.rbs', line 363 def og_type @og_type end |
#og_url ⇒ String?
Returns the value of attribute og_url.
366 367 368 |
# File 'sig/types.rbs', line 366 def og_url @og_url end |
#og_video ⇒ String?
Returns the value of attribute og_video.
369 370 371 |
# File 'sig/types.rbs', line 369 def og_video @og_video end |
#robots ⇒ String?
Returns the value of attribute robots.
359 360 361 |
# File 'sig/types.rbs', line 359 def robots @robots end |
#theme_color ⇒ String?
Returns the value of attribute theme_color.
357 358 359 |
# File 'sig/types.rbs', line 357 def theme_color @theme_color end |
#title ⇒ String?
Returns the value of attribute title.
351 352 353 |
# File 'sig/types.rbs', line 351 def title @title end |
#twitter_card ⇒ String?
Returns the value of attribute twitter_card.
372 373 374 |
# File 'sig/types.rbs', line 372 def twitter_card @twitter_card end |
#twitter_creator ⇒ String?
Returns the value of attribute twitter_creator.
377 378 379 |
# File 'sig/types.rbs', line 377 def twitter_creator @twitter_creator end |
#twitter_description ⇒ String?
Returns the value of attribute twitter_description.
374 375 376 |
# File 'sig/types.rbs', line 374 def twitter_description @twitter_description end |
#twitter_image ⇒ String?
Returns the value of attribute twitter_image.
375 376 377 |
# File 'sig/types.rbs', line 375 def twitter_image @twitter_image end |
#twitter_site ⇒ String?
Returns the value of attribute twitter_site.
376 377 378 |
# File 'sig/types.rbs', line 376 def twitter_site @twitter_site end |
#twitter_title ⇒ String?
Returns the value of attribute twitter_title.
373 374 375 |
# File 'sig/types.rbs', line 373 def twitter_title @twitter_title end |
#viewport ⇒ String?
Returns the value of attribute viewport.
356 357 358 |
# File 'sig/types.rbs', line 356 def @viewport end |
#word_count ⇒ Integer?
Returns the value of attribute word_count.
393 394 395 |
# File 'sig/types.rbs', line 393 def word_count @word_count end |