Class: ArticleJSON::Export::AppleNews::Elements::Paragraph
- Defined in:
- lib/article_json/export/apple_news/elements/paragraph.rb
Instance Method Summary collapse
-
#export ⇒ Hash
Generate the paragraph node with its containing text elements.
Methods inherited from Base
Methods included from Common::Elements::Base
Instance Method Details
#export ⇒ Hash
Generate the paragraph node with its containing text elements
8 9 10 11 12 13 14 15 16 |
# File 'lib/article_json/export/apple_news/elements/paragraph.rb', line 8 def export { role: 'body', text: text, format: 'html', layout: 'bodyLayout', textStyle: 'bodyStyle', } end |