X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/67dd9e4c9d487bdb5f38a09dc0c99def4989326e..46d2e4ccfc39b590941548767722b17b5bd71a57:/lib/not_redactable.rb diff --git a/lib/not_redactable.rb b/lib/not_redactable.rb index d7c952463..fb945612a 100644 --- a/lib/not_redactable.rb +++ b/lib/not_redactable.rb @@ -1,11 +1,11 @@ -require 'osm' +require "osm" module NotRedactable def redacted? false end - def redact!(r) - raise OSM::APICannotRedactError.new + def redact!(_r) + fail OSM::APICannotRedactError.new end end