app/services/create_collaboration.rb
# Output, these variables are initialized after successful call.
Output, these variables are initialized after successful call.
Output these variables are initialized after successful call .
def add_activity_run(user, portal_endpoint)
    run = Run.for_user_and_portal(user, @activity, portal_endpoint)
    @collaboration_run.runs.push(run)
    @owners_run = run if user == @owner
  end
def add_activity_run ( user , portal_endpoint ) run = Run . for_user_and_portal ( user , @activity , portal_endpoint ) @collaboration_run . runs . push ( run ) @owners_run = run if user == @owner end
Output, these variables are initialized after successful call.
Output these variables are initialized after successful call .
# for_user_and_portal is in fact lookup_or_create # Save run that belongs to the collaboration owner.
user
<not_specific>
portal_endpoint
<not_specific>