class ArticleJSON::Export::AMP::Elements::Base

Public Class Methods

namespace() click to toggle source

Return the module namespace this class and its subclasses are nested in @return [Module]

# File lib/article_json/export/amp/elements/base.rb, line 18
def namespace
  ArticleJSON::Export::AMP::Elements
end

Private Class Methods

export_format() click to toggle source

The format this exporter is returning. This is used to determine which custom element exporters should be applied from the configuration. @return [Symbol]

# File lib/article_json/export/amp/elements/base.rb, line 28
def export_format
  :amp
end

Public Instance Methods

custom_element_tags() click to toggle source

List of custom element tags used by this element @return [Array]

# File lib/article_json/export/amp/elements/base.rb, line 10
def custom_element_tags
  []
end