Module: Gitlab::Ci::Model

Instance Method Summary collapse

Instance Method Details

#model_nameObject


10
11
12
# File 'lib/gitlab/ci/model.rb', line 10

def model_name
  @model_name ||= ActiveModel::Name.new(self, nil, self.name.demodulize)
end

#table_name_prefixObject


6
7
8
# File 'lib/gitlab/ci/model.rb', line 6

def table_name_prefix
  "ci_"
end