Class: Gitlab::GithubImport::Importer::Events::ChangedAssignee
- Inherits:
-
BaseImporter
- Object
- BaseImporter
- Gitlab::GithubImport::Importer::Events::ChangedAssignee
- Defined in:
- lib/gitlab/github_import/importer/events/changed_assignee.rb
Instance Method Summary collapse
Methods inherited from BaseImporter
Constructor Details
This class inherits a constructor from Gitlab::GithubImport::Importer::Events::BaseImporter
Instance Method Details
#execute(issue_event) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/gitlab/github_import/importer/events/changed_assignee.rb', line 8 def execute(issue_event) assignee_id = (issue_event, author_key: :assignee) = (issue_event, author_key: :actor) note_body = parse_body(issue_event, assignee_id) create_note(issue_event, note_body, ) end |