lib/flexirest/caching.rb in flexirest-1.3.33 vs lib/flexirest/caching.rb in flexirest-1.3.34

- old
+ new

@@ -2,10 +2,10 @@ module Caching module ClassMethods @@perform_caching = true def perform_caching(value = nil) - @perform_caching ||= nil + @perform_caching = nil unless instance_variable_defined?(:@perform_caching) if value.nil? value = if @perform_caching.nil? @@perform_caching else @perform_caching