Module: ActiveAdmin::Annotations

Defined in:
lib/activeadmin/annotations.rb,
lib/activeadmin/annotations/engine.rb,
lib/activeadmin/annotations/context.rb,
lib/activeadmin/annotations/version.rb,
lib/activeadmin/annotations/exporter.rb,
lib/activeadmin/annotations/copy_text.rb,
lib/activeadmin/annotations/categories.rb,
lib/activeadmin/annotations/annotatable.rb,
lib/activeadmin/annotations/review_panel.rb,
lib/activeadmin/annotations/review_access.rb,
lib/activeadmin/annotations/content_revision.rb,
app/helpers/active_admin/annotations/panel_helper.rb,
app/services/active_admin/annotations/review_service.rb,
sig/activeadmin/annotations.rbs

Defined Under Namespace

Modules: Annotatable, Categories, ContentRevision, Context, PanelHelper, ReviewAccess Classes: Annotation, ApplicationRecord, CopyText, Engine, Exporter, Review, ReviewPanel, ReviewService

Constant Summary collapse

VERSION =

Returns:

  • (String)
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.categoriesObject

Returns the value of attribute categories.



6
7
8
# File 'lib/activeadmin/annotations.rb', line 6

def categories
  @categories
end

.category_labelObject

Returns the value of attribute category_label.



6
7
8
# File 'lib/activeadmin/annotations.rb', line 6

def category_label
  @category_label
end

.content_revision_labelObject

Returns the value of attribute content_revision_label.



6
7
8
# File 'lib/activeadmin/annotations.rb', line 6

def content_revision_label
  @content_revision_label
end

.content_revision_strategyObject

Returns the value of attribute content_revision_strategy.



6
7
8
# File 'lib/activeadmin/annotations.rb', line 6

def content_revision_strategy
  @content_revision_strategy
end

.content_subject_for_revisionObject

Returns the value of attribute content_subject_for_revision.



6
7
8
# File 'lib/activeadmin/annotations.rb', line 6

def content_subject_for_revision
  @content_subject_for_revision
end

.copy_instructionsObject

Returns the value of attribute copy_instructions.



6
7
8
# File 'lib/activeadmin/annotations.rb', line 6

def copy_instructions
  @copy_instructions
end

.current_content_revision_versionObject

Returns the value of attribute current_content_revision_version.



6
7
8
# File 'lib/activeadmin/annotations.rb', line 6

def current_content_revision_version
  @current_content_revision_version
end

.review_menu_visibleObject

Returns the value of attribute review_menu_visible.



6
7
8
# File 'lib/activeadmin/annotations.rb', line 6

def review_menu_visible
  @review_menu_visible
end

.reviewer_class_nameObject

Returns the value of attribute reviewer_class_name.



6
7
8
# File 'lib/activeadmin/annotations.rb', line 6

def reviewer_class_name
  @reviewer_class_name
end

.stale_content_review_messageObject

Returns the value of attribute stale_content_review_message.



6
7
8
# File 'lib/activeadmin/annotations.rb', line 6

def stale_content_review_message
  @stale_content_review_message
end

.stale_context_messageObject

Returns the value of attribute stale_context_message.



6
7
8
# File 'lib/activeadmin/annotations.rb', line 6

def stale_context_message
  @stale_context_message
end

Class Method Details

.reviewer_classObject



18
19
20
# File 'lib/activeadmin/annotations.rb', line 18

def reviewer_class
  reviewer_class_name.constantize
end