Class: Necropsy::EdgeRelation

Inherits:
Data
  • Object
show all
Defined in:
lib/necropsy/models.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#callee_idObject (readonly)

Returns the value of attribute callee_id

Returns:

  • (Object)

    the current value of callee_id



518
519
520
# File 'lib/necropsy/models.rb', line 518

def callee_id
  @callee_id
end

#caller_idObject (readonly)

Returns the value of attribute caller_id

Returns:

  • (Object)

    the current value of caller_id



518
519
520
# File 'lib/necropsy/models.rb', line 518

def caller_id
  @caller_id
end

#evidence_idsObject (readonly)

Returns the value of attribute evidence_ids

Returns:

  • (Object)

    the current value of evidence_ids



518
519
520
# File 'lib/necropsy/models.rb', line 518

def evidence_ids
  @evidence_ids
end

#projectionObject (readonly)

Returns the value of attribute projection

Returns:

  • (Object)

    the current value of projection



518
519
520
# File 'lib/necropsy/models.rb', line 518

def projection
  @projection
end

Instance Method Details

#to_hObject



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