class ESP::Suppression::Signature

Public Class Methods

find(*) click to toggle source

Not Implemented. You cannot search for Suppression::Signature.

Regular ARELlike methods are disabled. Use the ESP::Suppression object to search suppressions.

@return [void]

# File lib/esp/resources/suppression/signature.rb, line 19
def self.find(*)
  fail ESP::NotImplementedError, 'Regular ARELlike methods are disabled.  Use the ESP::Suppression object to search suppressions'
end
where(*) click to toggle source

Not Implemented. You cannot search for Suppression::Signature.

Regular ARELlike methods are disabled. Use the ESP::Suppression object to search suppressions.

@return [void]

# File lib/esp/resources/suppression/signature.rb, line 10
def self.where(*)
  fail ESP::NotImplementedError, 'Regular ARELlike methods are disabled.  Use the ESP::Suppression object to search suppressions'
end

Public Instance Methods

create() click to toggle source

This instance method is called by the save method when new? is true.

@private

Calls superclass method
# File lib/esp/resources/suppression/signature.rb, line 40
def create
  original_prefix = self.class.prefix
  if attributes[:alert_id]
    self.class.prefix += "alert/:alert_id/"
    prefix_options[:alert_id] = alert_id
  end
  super
ensure
  self.class.prefix = original_prefix
end
destroy() click to toggle source

Not Implemented. You cannot destroy a Suppression::Signature.

@return [void]

# File lib/esp/resources/suppression/signature.rb, line 33
def destroy
  fail ESP::NotImplementedError
end
update() click to toggle source

Not Implemented. You cannot update a Suppression::Signature.

@return [void]

# File lib/esp/resources/suppression/signature.rb, line 26
def update
  fail ESP::NotImplementedError
end