lib/harvesting/models/time_entry.rb in harvesting-0.1.0 vs lib/harvesting/models/time_entry.rb in harvesting-0.2.0

- old
+ new

@@ -25,8 +25,12 @@ :task_id def path id.nil? ? "time_entries" : "time_entries/#{id}" end + + def user + Models::User.new(@attributes['user'], client: @client) + end end end end