Method: Harvest::API::UserAssignments#all

Defined in:
lib/forecast/api/user_assignments.rb

#all(project) ⇒ Object



5
6
7
8
# File 'lib/forecast/api/user_assignments.rb', line 5

def all(project)
  response = request(:get, credentials, "/projects/#{project.to_i}/user_assignments")
  Harvest::UserAssignment.parse(response.parsed_response)
end