Class: Gitlab::GithubImport::LabelFormatter

Inherits:
BaseFormatter show all
Defined in:
lib/gitlab/github_import/label_formatter.rb

Instance Attribute Summary

Attributes inherited from BaseFormatter

#formatter, #project, #raw_data

Instance Method Summary collapse

Methods inherited from BaseFormatter

#initialize

Constructor Details

This class inherits a constructor from Gitlab::GithubImport::BaseFormatter

Instance Method Details

#attributesObject


4
5
6
7
8
9
10
# File 'lib/gitlab/github_import/label_formatter.rb', line 4

def attributes
  {
    project: project,
    title: title,
    color: color
  }
end