]> git.openstreetmap.org Git - rails.git/blob - lib/not_redactable.rb
Hide contributor terms details, unless the user hasn't agreed
[rails.git] / lib / not_redactable.rb
1 require "osm"
2
3 module NotRedactable
4   def redacted?
5     false
6   end
7
8   def redact!(_r)
9     raise OSM::APICannotRedactError.new
10   end
11 end