Convert some model mixins to concerns
[rails.git] / app / models / concerns / not_redactable.rb
1 module NotRedactable
2   extend ActiveSupport::Concern
3
4   def redacted?
5     false
6   end
7
8   def redact!(_r)
9     raise OSM::APICannotRedactError
10   end
11 end