lib/timetree/client.rb in timetree-0.2.0 vs lib/timetree/client.rb in timetree-0.2.1
- old
+ new
@@ -238,13 +238,13 @@
end
def inspect
limit_info = nil
if defined?(@ratelimit_limit) && @ratelimit_limit
- limit_info = " ratelimit:#{@ratelimit_remaining}/#{@ratelimit_limit}"
+ limit_info = " ratelimit:#{ratelimit_remaining}/#{ratelimit_limit}"
end
if defined?(@ratelimit_reset_at) && @ratelimit_reset_at
- limit_info = "#{limit_info}, reset_at:#{@ratelimit_reset_at.strftime('%m/%d %R')}"
+ limit_info = "#{limit_info}, reset_at:#{ratelimit_reset_at.strftime('%m/%d %R')}"
end
"\#<#{self.class}:#{object_id}#{limit_info}>"
end
#