Class: Caliper::Entities::Annotation::TagAnnotation
- Inherits:
-
Annotation
- Object
- Entity
- EntityBase
- Annotation
- Caliper::Entities::Annotation::TagAnnotation
- Defined in:
- lib/caliper/entities/annotation/tag_annotation.rb
Instance Attribute Summary collapse
-
#tags ⇒ Object
Returns the value of attribute tags.
Attributes inherited from Annotation
Attributes inherited from EntityBase
#dateCreated, #dateModified, #description, #extensions, #name
Attributes inherited from Entity
Instance Method Summary collapse
-
#initialize ⇒ TagAnnotation
constructor
A new instance of TagAnnotation.
Methods included from Jsonable
#eql?, #from_json, included, #to_json
Constructor Details
#initialize ⇒ TagAnnotation
Returns a new instance of TagAnnotation.
31 32 33 34 35 |
# File 'lib/caliper/entities/annotation/tag_annotation.rb', line 31 def initialize() super @type = Caliper::Entities::Annotation::AnnotationType::TAG_ANNOTATION @tags = Array.new end |
Instance Attribute Details
#tags ⇒ Object
Returns the value of attribute tags.
29 30 31 |
# File 'lib/caliper/entities/annotation/tag_annotation.rb', line 29 def @tags end |