lib/wcc/contentful/model_api.rb in wcc-contentful-1.6.2 vs lib/wcc/contentful/model_api.rb in wcc-contentful-1.7.0
- old
+ new
@@ -39,10 +39,10 @@
# create it if we have a configuration
WCC::Contentful::Services.new(configuration, model_namespace: self)
end
def store(preview = nil)
- ActiveSupport::Deprecation.warn('Use services.store instead')
+ WCC::Contentful.deprecator.warn('Use services.store instead')
preview ? services.preview_store : services.store
end
def schema