lib/you_track/client/request.rb in you_track-0.4.4 vs lib/you_track/client/request.rb in you_track-0.4.5
- old
+ new
@@ -16,6 +16,10 @@
end
end
values = params.values_at(*requirements)
values.size == 1 ? values.first : values
end
+
+ def ms_time(time=Time.now)
+ time.to_i * 1000
+ end
end