class ExistClient::TimeTracking::Entry
Attributes
end_time[R]
productivity[R]
seconds[R]
start_time[R]
Public Class Methods
new(data)
click to toggle source
# File lib/exist_client/time_tracking/entry.rb, line 8 def initialize(data) @start_time = data.fetch(:start_time) @end_time = data.fetch(:end_time) @productivity = data.fetch(:productivity) @seconds = end_time - start_time end
Public Instance Methods
logical_date()
click to toggle source
Calls superclass method
ExistClient::LogicalDate#logical_date
# File lib/exist_client/time_tracking/entry.rb, line 15 def logical_date super(start_time) end