class RestfulResource::Deprecator
Constants
- GEM_NAME
Attributes
app_deprecator[R]
Public Class Methods
build(horizon: 'soon')
click to toggle source
# File lib/restful_resource/deprecator.rb, line 7 def self.build(horizon: 'soon') @deprecators ||= {} @deprecators["#{GEM_NAME}@#{horizon}"] ||= new(horizon) end
new(horizon)
click to toggle source
Calls superclass method
# File lib/restful_resource/deprecator.rb, line 12 def initialize(horizon) super(horizon, GEM_NAME) @app_deprecator = ActiveSupport::Deprecation.instance end