lib/rest_model.rb in rest_model-0.1.10 vs lib/rest_model.rb in rest_model-0.1.11
- old
+ new
@@ -92,14 +92,9 @@
def self.convert_input_keys(converter = nil)
@convert_input_keys = converter if converter
@convert_input_keys
end
- def self.method_added(method_name)
- return unless not_allowed_names.include?(method_name.to_s)
- puts "warning: redefining '#{method_name}' may cause serious problems"
- end
-
def self.not_allowed_names
%w(resource_id resource link)
end
end