Class: ArticleJSON::Export::AppleNews::Elements::Heading
- Defined in:
- lib/article_json/export/apple_news/elements/heading.rb
Instance Method Summary collapse
-
#export ⇒ Hash
Headline.
Methods inherited from Base
Methods included from Common::Elements::Base
Instance Method Details
#export ⇒ Hash
Headline
8 9 10 11 12 13 14 15 |
# File 'lib/article_json/export/apple_news/elements/heading.rb', line 8 def export { role: role, text: @element.content, layout: 'titleLayout', textStyle: 'defaultTitle', } end |