Class: Jekyll::PostCard::Fetcher::PostMetadata

Inherits:
Struct
  • Object
show all
Defined in:
lib/jekyll-post-card/fetcher.rb

Overview

Metadata structure for a fetched post

Instance Attribute Summary collapse

Instance Attribute Details

#author ⇒ Object

Returns the value of attribute author

Returns:

  • (Object) —

    the current value of author



18
19
20
# File 'lib/jekyll-post-card/fetcher.rb', line 18

def author
  @author
end

#date ⇒ Object

Returns the value of attribute date

Returns:

  • (Object) —

    the current value of date



18
19
20
# File 'lib/jekyll-post-card/fetcher.rb', line 18

def date
  @date
end

#description ⇒ Object

Returns the value of attribute description

Returns:

  • (Object) —

    the current value of description



18
19
20
# File 'lib/jekyll-post-card/fetcher.rb', line 18

def description
  @description
end

#image ⇒ Object

Returns the value of attribute image

Returns:

  • (Object) —

    the current value of image



18
19
20
# File 'lib/jekyll-post-card/fetcher.rb', line 18

def image
  @image
end

#site_name ⇒ Object

Returns the value of attribute site_name

Returns:

  • (Object) —

    the current value of site_name



18
19
20
# File 'lib/jekyll-post-card/fetcher.rb', line 18

def site_name
  @site_name
end

#title ⇒ Object

Returns the value of attribute title

Returns:

  • (Object) —

    the current value of title



18
19
20
# File 'lib/jekyll-post-card/fetcher.rb', line 18

def title
  @title
end

#type ⇒ Object

Returns the value of attribute type

Returns:

  • (Object) —

    the current value of type



18
19
20
# File 'lib/jekyll-post-card/fetcher.rb', line 18

def type
  @type
end

#url ⇒ Object

Returns the value of attribute url

Returns:

  • (Object) —

    the current value of url



18
19
20
# File 'lib/jekyll-post-card/fetcher.rb', line 18

def url
  @url
end