lib/esp/resources/suppression.rb
def deactivate!
      return self if deactivate
      self.message = errors.full_messages.join(' ')
      fail(ActiveResource::ResourceInvalid.new(self)) # rubocop:disable Style/RaiseArgs
    end
# Deactivate the current suppression instance.
# The current object will be updated with the new status if successful.
# Throws an error if not successful.
# === Once deactivated the suppression cannot be reactivated.
#
# @return [void]
# @raise [ActiveResource::ResourceInvalid] if unsuccessful.
Deactivate the current suppression instance.
The current object will be updated with the new status if successful.
Throws an error if not successful.
Once deactivated the suppression cannot be reactivated.
Deactivate the current suppression instance . The current object will be updated with the new status if successful . Throws an error if not successful . Once deactivated the suppression cannot be reactivated .
def deactivate!
      return self if deactivate
      self.message = errors.full_messages.join(' ')
      fail(ActiveResource::ResourceInvalid.new(self)) 
    end
def deactivate! return self if deactivate self . message = errors . full_messages . join ( ' ' ) fail ( ActiveResource :: ResourceInvalid . new ( self ) ) end
Deactivate the current suppression instance.
Deactivate the current suppression instance .
# rubocop:disable Style/RaiseArgs
None
void
[ActiveResource::ResourceInvalid] if unsuccessful.
[ ActiveResource :: ResourceInvalid ] if unsuccessful .