lib/cms_scanner.rb in cms_scanner-0.0.31 vs lib/cms_scanner.rb in cms_scanner-0.0.32
- old
+ new
@@ -42,13 +42,15 @@
# Number of requests performed to display at the end of the scan
Typhoeus.on_complete do |response|
self.total_requests += 1 unless response.cached?
end
+ # @return [ Integer ]
def self.total_requests
@@total_requests ||= 0
end
+ # @param [ Integer ]
def self.total_requests=(value)
@@total_requests = value
end
# Scan