Module: ProtectedRef

Extended by:
ActiveSupport::Concern
Includes:
Importable
Included in:
ProtectedBranch, ProtectedTag
Defined in:
app/models/concerns/protected_ref.rb,
app/models/protected_ref/access_level.rb

Defined Under Namespace

Classes: AccessLevel

Instance Attribute Summary

Attributes included from Importable

#imported, #importing

Instance Method Summary collapse

Instance Method Details

#commitObject



22
23
24
# File 'app/models/concerns/protected_ref.rb', line 22

def commit
  project.commit(self.name)
end