Class: ESP::CustomSignature::Result

Inherits:
Resource
  • Object
show all
Defined in:
lib/esp/resources/custom_signature/result.rb,
lib/esp/resources/custom_signature/result/alert.rb

Defined Under Namespace

Classes: Alert

Constant Summary

Constants inherited from Resource

Resource::PREDICATES

Instance Method Summary collapse

Methods inherited from Resource

arrange_options, filters, find, make_pageable, #serializable_hash, where

Instance Method Details

#alertsObject



12
13
14
15
# File 'lib/esp/resources/custom_signature/result.rb', line 12

def alerts
  return attributes['alerts'] if attributes['alerts'].present?
  CustomSignature::Result::Alert.for_result(id)
end

#destroyObject

Not Implemented. You cannot destroy a CustomSignature::Result.



23
24
25
# File 'lib/esp/resources/custom_signature/result.rb', line 23

def destroy
  fail ESP::NotImplementedError
end

#updateObject

Not Implemented. You cannot update a CustomSignature::Result.



18
19
20
# File 'lib/esp/resources/custom_signature/result.rb', line 18

def update
  fail ESP::NotImplementedError
end