Class: Necropsy::EdgeRelation
- Inherits:
-
Data
- Object
- Data
- Necropsy::EdgeRelation
- Defined in:
- lib/necropsy/models.rb
Instance Attribute Summary collapse
-
#callee_id ⇒ Object
readonly
Returns the value of attribute callee_id.
-
#caller_id ⇒ Object
readonly
Returns the value of attribute caller_id.
-
#evidence_ids ⇒ Object
readonly
Returns the value of attribute evidence_ids.
-
#projection ⇒ Object
readonly
Returns the value of attribute projection.
Instance Method Summary collapse
Instance Attribute Details
#callee_id ⇒ Object (readonly)
Returns the value of attribute callee_id
518 519 520 |
# File 'lib/necropsy/models.rb', line 518 def callee_id @callee_id end |
#caller_id ⇒ Object (readonly)
Returns the value of attribute caller_id
518 519 520 |
# File 'lib/necropsy/models.rb', line 518 def caller_id @caller_id end |
#evidence_ids ⇒ Object (readonly)
Returns the value of attribute evidence_ids
518 519 520 |
# File 'lib/necropsy/models.rb', line 518 def evidence_ids @evidence_ids end |
#projection ⇒ Object (readonly)
Returns the value of attribute projection
518 519 520 |
# File 'lib/necropsy/models.rb', line 518 def projection @projection end |
Instance Method Details
#to_h ⇒ Object
519 520 521 522 523 524 525 526 |
# File 'lib/necropsy/models.rb', line 519 def to_h { 'caller_id' => caller_id, 'callee_id' => callee_id, 'evidence_ids' => evidence_ids, 'projection' => projection.to_s } end |