lib/unleash/metrics_reporter.rb in unleash-0.1.5 vs lib/unleash/metrics_reporter.rb in unleash-0.1.6
- old
+ new
@@ -5,16 +5,13 @@
require 'time'
module Unleash
class MetricsReporter
- attr_accessor :last_time, :client
+ attr_accessor :last_time
def initialize
self.last_time = Time.now
- end
-
- def build_hash
end
def generate_report
now = Time.now
start, stop, self.last_time = self.last_time, now, now