Class: Harvest::Finders::Projects

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

Instance Method Summary collapse

Instance Method Details

#find(factory, client, id) ⇒ Object



6
7
8
# File 'lib/harvest/finders.rb', line 6

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