Class: Gitlab::GithubImport::Importer::Events::ChangedMilestone
- Inherits:
-
BaseImporter
- Object
- BaseImporter
- Gitlab::GithubImport::Importer::Events::ChangedMilestone
- Defined in:
- lib/gitlab/github_import/importer/events/changed_milestone.rb
Constant Summary collapse
- DEFAULT_STATE =
GitHub API doesn’t provide the historical state of an issue for de/milestoned issue events. So we’ll assign the default state to those events that are imported from GitHub.
Issue.available_states[:opened]
Instance Method Summary collapse
Methods inherited from BaseImporter
Methods included from PushPlaceholderReferences
#push_refs_with_ids, #push_with_composite_key, #push_with_record
Constructor Details
This class inherits a constructor from Gitlab::GithubImport::Importer::Events::BaseImporter
Instance Method Details
#execute(issue_event) ⇒ Object
13 14 15 |
# File 'lib/gitlab/github_import/importer/events/changed_milestone.rb', line 13 def execute(issue_event) create_event(issue_event) end |