Class: Abqari::Importers::Base::ImportedPost
- Inherits:
-
Struct
- Object
- Struct
- Abqari::Importers::Base::ImportedPost
- 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
-
#body_html ⇒ Object
Returns the value of attribute body_html.
-
#date ⇒ Object
Returns the value of attribute date.
-
#description ⇒ Object
Returns the value of attribute description.
-
#extra_frontmatter ⇒ Object
Returns the value of attribute extra_frontmatter.
-
#feature_image_url ⇒ Object
Returns the value of attribute feature_image_url.
-
#slug ⇒ Object
Returns the value of attribute slug.
-
#source_slug ⇒ Object
Returns the value of attribute source_slug.
-
#source_url ⇒ Object
Returns the value of attribute source_url.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Attribute Details
#body_html ⇒ Object
Returns the value of attribute body_html
27 28 29 |
# File 'lib/abqari/importers/base.rb', line 27 def body_html @body_html end |
#date ⇒ Object
Returns the value of attribute date
27 28 29 |
# File 'lib/abqari/importers/base.rb', line 27 def date @date end |
#description ⇒ Object
Returns the value of attribute description
27 28 29 |
# File 'lib/abqari/importers/base.rb', line 27 def description @description end |
#extra_frontmatter ⇒ Object
Returns the value of attribute extra_frontmatter
27 28 29 |
# File 'lib/abqari/importers/base.rb', line 27 def extra_frontmatter @extra_frontmatter end |
#feature_image_url ⇒ Object
Returns the value of attribute feature_image_url
27 28 29 |
# File 'lib/abqari/importers/base.rb', line 27 def feature_image_url @feature_image_url end |
#slug ⇒ Object
Returns the value of attribute slug
27 28 29 |
# File 'lib/abqari/importers/base.rb', line 27 def slug @slug end |
#source_slug ⇒ Object
Returns the value of attribute source_slug
27 28 29 |
# File 'lib/abqari/importers/base.rb', line 27 def source_slug @source_slug end |
#source_url ⇒ Object
Returns the value of attribute source_url
27 28 29 |
# File 'lib/abqari/importers/base.rb', line 27 def source_url @source_url end |
#tags ⇒ Object
Returns the value of attribute tags
27 28 29 |
# File 'lib/abqari/importers/base.rb', line 27 def @tags end |
#title ⇒ Object
Returns the value of attribute title
27 28 29 |
# File 'lib/abqari/importers/base.rb', line 27 def title @title end |