lib/flexirest/recording.rb in flexirest-1.3.6 vs lib/flexirest/recording.rb in flexirest-1.3.7
- old
+ new
@@ -10,9 +10,10 @@
@record_response = block
end
end
def record_response?
+ @record_response ||= nil
!!@record_response
end
end
def self.included(base)