education/classroom

View on GitHub
app/services/create_github_repo_service/group_exercise.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

class CreateGitHubRepoService
  class GroupExercise < Exercise
    def repos
      assignment.group_assignment_repos
    end

    def slug
      collaborator.github_team.slug_no_cache
    end

    def humanize
      "group"
    end

    def stat_prefix
      "group_exercise_repo"
    end
  end
end