ActiveRecord::Base
# File app/models/protected_branch.rb, line 17 def commit project.commit(self.name) end
# File app/models/protected_branch.rb, line 13 def update_repository git_host.update_repository(project) end