X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ef7f3d800cbdd49b692df10d312e5fd880e2e938..ca5de5b4e01297b07ce3a9db45e908f15f7cda11:/lib/not_redactable.rb diff --git a/lib/not_redactable.rb b/lib/not_redactable.rb index 75ff33176..7fe119fea 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.new end end