class ArticleDataGetter
Attributes
content[R]
Public Class Methods
new(content)
click to toggle source
Calls superclass method
DataGetter::new
# File lib/contentar/data_getters/article.rb, line 4 def initialize(content) @content = content @processor = ContentDataProcessor.new @api_call = 'article' @values = article_values super end
Private Instance Methods
article_values()
click to toggle source
# File lib/contentar/data_getters/article.rb, line 14 def article_values { async: false, data: { content: content, obey_robots: false } }.to_json end