Class: Ecm::TimeTracking::SumsService::Response

Inherits:
Itsf::Services::V2::Response::Base
  • Object
show all
Defined in:
app/services/ecm/time_tracking/sums_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#count_by_entry_typeObject

Returns the value of attribute count_by_entry_type.



5
6
7
# File 'app/services/ecm/time_tracking/sums_service.rb', line 5

def count_by_entry_type
  @count_by_entry_type
end

#overtimeObject

Returns the value of attribute overtime.



5
6
7
# File 'app/services/ecm/time_tracking/sums_service.rb', line 5

def overtime
  @overtime
end

Instance Method Details

#overtime_in_hoursObject



7
8
9
# File 'app/services/ecm/time_tracking/sums_service.rb', line 7

def overtime_in_hours
  overtime / 3600
end