Class: Gitlab::GithubImport::MilestoneFormatter

Inherits:
BaseFormatter show all
Defined in:
lib/gitlab/github_import/milestone_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
11
12
13
14
15
# File 'lib/gitlab/github_import/milestone_formatter.rb', line 4

def attributes
  {
    iid: number,
    project: project,
    title: title,
    description: description,
    due_date: due_date,
    state: state,
    created_at: created_at,
    updated_at: updated_at
  }
end