X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ef7f3d800cbdd49b692df10d312e5fd880e2e938..5cd4aeb1aa08aaab2cb00a9de841783310790caa:/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