X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ef7f3d800cbdd49b692df10d312e5fd880e2e938..518cf69b3429d12b22efe52b5be8fd3e910b7ac4:/lib/not_redactable.rb?ds=sidebyside 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