Class: ArticleRevision::Approval::Changes

Inherits:
Data
  • Object
show all
Defined in:
app/services/article_revision/approval.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#article_dataObject (readonly)

Returns the value of attribute article_data

Returns:

  • (Object)

    the current value of article_data



11
12
13
# File 'app/services/article_revision/approval.rb', line 11

def article_data
  @article_data
end

Returns the value of attribute content_links

Returns:

  • (Object)

    the current value of content_links



11
12
13
# File 'app/services/article_revision/approval.rb', line 11

def content_links
  @content_links
end

#page_contentObject (readonly)

Returns the value of attribute page_content

Returns:

  • (Object)

    the current value of page_content



11
12
13
# File 'app/services/article_revision/approval.rb', line 11

def page_content
  @page_content
end

Instance Method Details

#embedding_context?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'app/services/article_revision/approval.rb', line 12

def embedding_context?
  page_content || article_data || content_links
end