class ProtectedBranch

Public Instance Methods

commit() click to toggle source
# File app/models/protected_branch.rb, line 17
def commit
  project.commit(self.name)
end
update_repository() click to toggle source
# File app/models/protected_branch.rb, line 13
def update_repository
  git_host.update_repository(project)
end