lib/garb/resource.rb in garb-0.8.5 vs lib/garb/resource.rb in garb-0.9.0
- old
+ new
@@ -8,10 +8,10 @@
# Exits would make:
# to enable profile.exits(options_hash, &block)
# returns Exits.results(self, options_hash, &block)
# every class defined which extends Resource will add to the module
- # ActiveSupport::Deprecation.warn
+ ActiveSupport::Deprecation.warn("The use of Garb::Resource will be removed in favor of 'extend Garb::Model'")
ProfileReports.add_report_method(base)
end
%w(metrics dimensions sort).each do |parameter|
class_eval <<-CODE