Exception: Redaction::ProductionEnvironmentError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/redaction.rb

Constant Summary collapse

DEFAULT_MESSAGE =
"Data cannot be redacted in production!"

Instance Method Summary collapse

Constructor Details

#initialize(message = DEFAULT_MESSAGE) ⇒ ProductionEnvironmentError

Returns a new instance of ProductionEnvironmentError.



22
23
24
# File 'lib/redaction.rb', line 22

def initialize(message = DEFAULT_MESSAGE)
  super
end