Class: Harvest::Finders::TimeEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/harvest/finders.rb

Instance Method Summary collapse

Instance Method Details

#find(factory, client, id) ⇒ Object



12
13
14
# File 'lib/harvest/finders.rb', line 12

def find(factory, client, id)
  [factory.time_entry(client.api_call(client.api_caller("time_entries/#{id}")))]
end