Class: Necropsy::EntryPoint
- Inherits:
-
Data
- Object
- Data
- Necropsy::EntryPoint
- Defined in:
- lib/necropsy/models.rb
Instance Attribute Summary collapse
-
#node_id ⇒ Object
readonly
Returns the value of attribute node_id.
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
Instance Attribute Details
#node_id ⇒ Object (readonly)
Returns the value of attribute node_id
60 61 62 |
# File 'lib/necropsy/models.rb', line 60 def node_id @node_id end |
#reason ⇒ Object (readonly)
Returns the value of attribute reason
60 61 62 |
# File 'lib/necropsy/models.rb', line 60 def reason @reason end |
Instance Method Details
#test? ⇒ Boolean
61 62 63 |
# File 'lib/necropsy/models.rb', line 61 def test? reason == :test_suite end |
#to_h ⇒ Object
65 66 67 |
# File 'lib/necropsy/models.rb', line 65 def to_h { 'node_id' => node_id, 'reason' => reason.to_s } end |