Class: Ace::Hitl::Models::HitlEvent
- Inherits:
-
Struct
- Object
- Struct
- Ace::Hitl::Models::HitlEvent
- Defined in:
- lib/ace/hitl/models/hitl_event.rb
Instance Attribute Summary collapse
-
#answer ⇒ Object
Returns the value of attribute answer.
-
#content ⇒ Object
Returns the value of attribute content.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#file_path ⇒ Object
Returns the value of attribute file_path.
-
#id ⇒ Object
Returns the value of attribute id.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#metadata ⇒ Object
Returns the value of attribute metadata.
-
#path ⇒ Object
Returns the value of attribute path.
-
#questions ⇒ Object
Returns the value of attribute questions.
-
#special_folder ⇒ Object
Returns the value of attribute special_folder.
-
#status ⇒ Object
Returns the value of attribute status.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
Instance Attribute Details
#answer ⇒ Object
Returns the value of attribute answer
6 7 8 |
# File 'lib/ace/hitl/models/hitl_event.rb', line 6 def answer @answer end |
#content ⇒ Object
Returns the value of attribute content
6 7 8 |
# File 'lib/ace/hitl/models/hitl_event.rb', line 6 def content @content end |
#created_at ⇒ Object
Returns the value of attribute created_at
6 7 8 |
# File 'lib/ace/hitl/models/hitl_event.rb', line 6 def created_at @created_at end |
#file_path ⇒ Object
Returns the value of attribute file_path
6 7 8 |
# File 'lib/ace/hitl/models/hitl_event.rb', line 6 def file_path @file_path end |
#id ⇒ Object
Returns the value of attribute id
6 7 8 |
# File 'lib/ace/hitl/models/hitl_event.rb', line 6 def id @id end |
#kind ⇒ Object
Returns the value of attribute kind
6 7 8 |
# File 'lib/ace/hitl/models/hitl_event.rb', line 6 def kind @kind end |
#metadata ⇒ Object
Returns the value of attribute metadata
6 7 8 |
# File 'lib/ace/hitl/models/hitl_event.rb', line 6 def @metadata end |
#path ⇒ Object
Returns the value of attribute path
6 7 8 |
# File 'lib/ace/hitl/models/hitl_event.rb', line 6 def path @path end |
#questions ⇒ Object
Returns the value of attribute questions
6 7 8 |
# File 'lib/ace/hitl/models/hitl_event.rb', line 6 def questions @questions end |
#special_folder ⇒ Object
Returns the value of attribute special_folder
6 7 8 |
# File 'lib/ace/hitl/models/hitl_event.rb', line 6 def special_folder @special_folder end |
#status ⇒ Object
Returns the value of attribute status
6 7 8 |
# File 'lib/ace/hitl/models/hitl_event.rb', line 6 def status @status end |
#tags ⇒ Object
Returns the value of attribute tags
6 7 8 |
# File 'lib/ace/hitl/models/hitl_event.rb', line 6 def @tags end |
#title ⇒ Object
Returns the value of attribute title
6 7 8 |
# File 'lib/ace/hitl/models/hitl_event.rb', line 6 def title @title end |
Instance Method Details
#answered? ⇒ Boolean
26 27 28 |
# File 'lib/ace/hitl/models/hitl_event.rb', line 26 def answered? status.to_s == "answered" || ["answered"] == true end |
#shortcut ⇒ Object
22 23 24 |
# File 'lib/ace/hitl/models/hitl_event.rb', line 22 def shortcut id[-3..] end |