X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ef7f3d800cbdd49b692df10d312e5fd880e2e938..09900654e6ea5b111e67aa8f5eb1c38e213e653b:/lib/not_redactable.rb diff --git a/lib/not_redactable.rb b/lib/not_redactable.rb index 75ff33176..6a5773296 100644 --- a/lib/not_redactable.rb +++ b/lib/not_redactable.rb @@ -1,4 +1,4 @@ -require 'osm' +require "osm" module NotRedactable def redacted? @@ -6,6 +6,6 @@ module NotRedactable end def redact!(_r) - fail OSM::APICannotRedactError.new + raise OSM::APICannotRedactError end end