Module: Conexa::Deprecatable

Included in:
Model
Defined in:
lib/conexa/deprecation.rb

Overview

Mixed into the classes that carry deprecated methods.

Instance Method Summary collapse

Instance Method Details

#deprecate(key, message) ⇒ Object



40
41
42
# File 'lib/conexa/deprecation.rb', line 40

def deprecate(key, message)
  Deprecation.warn_once([self, key], message)
end