Schema Information

Table name: protected_branches

id         :integer          not null, primary key
project_id :integer          not null
name       :string(255)      not null
created_at :datetime         not null
updated_at :datetime         not null
Methods
C
U
Included Modules
Instance Public methods
commit()
# File app/models/protected_branch.rb, line 28
def commit
  project.commit(self.name)
end
update_repository()
# File app/models/protected_branch.rb, line 24
def update_repository
  git_host.update_repository(project)
end