Class: ESP::Suppression::UniqueIdentifier
- Inherits:
-
Resource
- Object
- ActiveResource::Base
- Resource
- ESP::Suppression::UniqueIdentifier
- Defined in:
- lib/esp/resources/suppression/unique_identifier.rb
Class Method Summary collapse
-
.create(attributes = {}) ⇒ ESP::Suppression::UniqueIdentifier
Create a suppression for a unique identifier.
-
.find ⇒ void
Not Implemented.
-
.where ⇒ void
Not Implemented.
Instance Method Summary collapse
-
#destroy ⇒ void
Not Implemented.
-
#save ⇒ Boolean
Create a suppression for a unique identifier.
-
#update ⇒ void
Not Implemented.
Methods included from Dirty
#changed_attributes, #original_attributes, #original_attributes=
Methods included from LoadWithOriginalAttributes
Class Method Details
.create(attributes = {}) ⇒ ESP::Suppression::UniqueIdentifier
Create a suppression for a unique identifier.
Pass an alert_id
, the suppression will be created based on that alert.
call-seq -> super.create(attributes={})
|
# File 'lib/esp/resources/suppression/unique_identifier.rb', line 37
|
.find ⇒ void
This method returns an undefined value.
Not Implemented. You cannot search for Suppression::UniqueIdentifier.
Regular ARELlike methods are disabled. Use the ESP::Suppression object to search suppressions.
19 20 21 |
# File 'lib/esp/resources/suppression/unique_identifier.rb', line 19 def self.find(*) fail ESP::NotImplementedError, 'Regular ARELlike methods are disabled. Use the ESP::Suppression object to search suppressions' end |
.where ⇒ void
This method returns an undefined value.
Not Implemented. You cannot search for Suppression::UniqueIdentifier.
Regular ARELlike methods are disabled. Use the ESP::Suppression object to search suppressions.
10 11 12 |
# File 'lib/esp/resources/suppression/unique_identifier.rb', line 10 def self.where(*) fail ESP::NotImplementedError, 'Regular ARELlike methods are disabled. Use the ESP::Suppression object to search suppressions' end |
Instance Method Details
#destroy ⇒ void
This method returns an undefined value.
Not Implemented. You cannot destroy a Suppression::UniqueIdentifier.
33 34 35 |
# File 'lib/esp/resources/suppression/unique_identifier.rb', line 33 def destroy fail ESP::NotImplementedError end |
#save ⇒ Boolean
Create a suppression for a unique identifier.
Set an alert_id
, the suppression will be created based on that alert.
Attributes
See API documentation for valid arguments
|
# File 'lib/esp/resources/suppression/unique_identifier.rb', line 52
|
#update ⇒ void
This method returns an undefined value.
Not Implemented. You cannot update a Suppression::UniqueIdentifier.
26 27 28 |
# File 'lib/esp/resources/suppression/unique_identifier.rb', line 26 def update fail ESP::NotImplementedError end |