Module: Archsight::Annotations::Git
- Defined in:
- lib/archsight/annotations/git_annotations.rb
Overview
Git module adds git tracking annotations to resource classes
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/archsight/annotations/git_annotations.rb', line 5 def self.included(base) base.class_eval do annotation "git/updatedAt", description: "Date when the resource was last updated", title: "Updated At", editor: false annotation "git/updatedBy", description: "Email of person who last updated the resource", title: "Updated By", editor: false annotation "git/reviewedAt", description: "Date when the resource was last reviewed", title: "Reviewed At", editor: false annotation "git/reviewedBy", description: "Email of person who last reviewed the resource", title: "Reviewed By", editor: false end end |