Class: Abqari::Importers::Base::ImportedPost

Inherits:
Struct
  • Object
show all
Defined in:
lib/abqari/importers/base.rb

Overview

In-memory record one importer hands to the base class per source post. body_html is the raw HTML; the base class runs it through HtmlToMarkdown after the importer hands it over.

Instance Attribute Summary collapse

Instance Attribute Details

#body_htmlObject

Returns the value of attribute body_html

Returns:

  • (Object)

    the current value of body_html



27
28
29
# File 'lib/abqari/importers/base.rb', line 27

def body_html
  @body_html
end

#dateObject

Returns the value of attribute date

Returns:

  • (Object)

    the current value of date



27
28
29
# File 'lib/abqari/importers/base.rb', line 27

def date
  @date
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



27
28
29
# File 'lib/abqari/importers/base.rb', line 27

def description
  @description
end

#extra_frontmatterObject

Returns the value of attribute extra_frontmatter

Returns:

  • (Object)

    the current value of extra_frontmatter



27
28
29
# File 'lib/abqari/importers/base.rb', line 27

def extra_frontmatter
  @extra_frontmatter
end

#feature_image_urlObject

Returns the value of attribute feature_image_url

Returns:

  • (Object)

    the current value of feature_image_url



27
28
29
# File 'lib/abqari/importers/base.rb', line 27

def feature_image_url
  @feature_image_url
end

#slugObject

Returns the value of attribute slug

Returns:

  • (Object)

    the current value of slug



27
28
29
# File 'lib/abqari/importers/base.rb', line 27

def slug
  @slug
end

#source_slugObject

Returns the value of attribute source_slug

Returns:

  • (Object)

    the current value of source_slug



27
28
29
# File 'lib/abqari/importers/base.rb', line 27

def source_slug
  @source_slug
end

#source_urlObject

Returns the value of attribute source_url

Returns:

  • (Object)

    the current value of source_url



27
28
29
# File 'lib/abqari/importers/base.rb', line 27

def source_url
  @source_url
end

#tagsObject

Returns the value of attribute tags

Returns:

  • (Object)

    the current value of tags



27
28
29
# File 'lib/abqari/importers/base.rb', line 27

def tags
  @tags
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



27
28
29
# File 'lib/abqari/importers/base.rb', line 27

def title
  @title
end